The advantage of this script is that it takes care about all types of licenses and all possible values.
Unfortunately, you can not automate everything. But you can manage your licenses later and know the state of your licenses Park.
In the manuallef site (Manual LEF), a checksum (in red below) is generated automatically for each request LEF. However, this number is still the same. I asked Qlik to know how it is generate but no answer at this moment
So just pick the url generated during the retrieving and save it in a file to be able to reuse it. To do this, press Ctrl + Shift + i in Chrome for instance and retrieve complete url after src = .
In the script below, the retrieve url is in an inline table :