XF 1.4 How to search the script AD.fLY please

Hello I search how to put the script please ADFLY https://adf.ly/ to change all link shortened and put the system has entered the site please

If you have a website and wish to earn money when a visitor simply enters your site, please use the following script.

Copy-and-paste the code below on to your webpage or blog.

If you advertise your website on a PTC site, it is NOT permitted to include this Website Entry Script on your site.

<script type="text/javascript">
var adfly_id = 7880602;
var adfly_advert = 'int';
var frequency_cap = 5;
var frequency_delay = 5;
var init_delay = 3;
var popunder = true;
<script src="https://cdn.adf.ly/js/entry.js"></script>
If you have a jQuery scripts or plugins on your page we recommend you to insert Website Entry Script above all other scripts (for example inside the "head" tag).

The 'frequency_cap' is the number of times the user will be redirected to AdF.ly advertising in 24 hours.

The 'frequency_delay' is the number of minutes between adverts show to the user, it is recommended to keep the default settings.

The 'init_delay' is the number of seconds between the advertising being displayed and your website loading. It is recommended to keep this to a few seconds so that user will see your website first and then our advertising. It reduces the chances of the user clicking the BACK button.

If you want to use the Website Entry Script with the Banner advertising (less money, but less intrusive) change the following line:

var adfly_advert = 'int';

var adfly_advert = 'banner';
To use one of our other domains or one of your custom domains, add the following configuration line:

var adfly_domain = 'j.gs';
If you want to load the AdF.ly page securely (https) just add this configuration line:

var adfly_protocol = 'https';
If you do not want popunders to be displayed to your visitors, change the line to:

var popunder = false;