Please fix the linkshortener shorte.st website script

0 replies
I am planning to use linkshortener shorte.st website script on all of my sites. I used their website script, but it is not working always. I contacted their support, but they are unable to fix it.
Here is the code
Code:
<script type="text/javascript">//<![CDATA[ 
(function() {
    var configuration = {
    "token": "2929746083dc444b991a3e9638fa0101",
    "domains": [
        "filesflash.net",
        "filedias.com"
    ],
    "capping": {
        "limit": 5,
        "timeout": 24
    },
    "exitScript": {
        "enabled": true
    }
};
    var script = document.createElement('script');
    script.async = true;
    script.src = '//cdn.shorte.st/link-converter.min.js';
    script.onload = script.onreadystatechange = function () {var rs =  this.readyState; if (rs && rs != 'complete' && rs !=  'loaded') return; shortestMonetization(configuration);};
    var entry = document.getElementsByTagName('script')[0];
    entry.parentNode.insertBefore(script, entry);
})();
//]]></script>
I allowed the script to open when we click on fileflash.net, or filedias.com. But it is not working always. Most of the times, links are opening without shorte.st window.

Please experts, help me to fix this code.
#fix #linkshortener #script #shortest #website

Trending Topics