Divvy Posted December 15, 2011 Share Posted December 15, 2011 Hello friends, Does anyone know this script? http://www.cobrascripts.com/products.php?product=URL-Shortener-With-Advertisement-Support Works great, but have an issue in this feature: If you have a website with 100's or 1000's of links you want to change over to EnigmaURL then please use the script below. Simply copy-and-paste the code below on to your webpage or blog and the links will be updated automatically - simple! You can add or remove any domains for the code that you use or your website. <script type="text/javascript" src="http://www.enigmaurl.com/js/fp.js.php"></script> <script type="text/javascript"> var _x3 = _x3 || new _nsurls(); _x3.push(['accountID', '1']); _x3.push(['adType', 'int']); _x3.push(['allowDomains', ['yoursite.com', 'example.com',]]); _x3.run(); </script> Or if you wish to change every link to EnigmaURL on your website (without stating exactly which domains) please use the following code. <script type="text/javascript" src="http://www.enigmaurl.com/js/fp.js.php"></script> <script type="text/javascript"> var _x3 = _x3 || new _nsurls(); _x3.push(['accountID', '1']); _x3.push(['adType', 'int']); _x3.push(['disallowDomains', ['google.com', 'example.com',]]); _x3.run(); </script> I added this code before the </head> but didn't work... What could be wrong? Can someone please help me? Quote Link to comment https://forums.phpfreaks.com/topic/253254-looking-for-a-fix/ Share on other sites More sharing options...
jcbones Posted December 16, 2011 Share Posted December 16, 2011 Are you using a browser that has development tools (ie Firefox)? If so, open up tools->web developer->error console, clear it, then run the script and post up the errors that it throws. Quote Link to comment https://forums.phpfreaks.com/topic/253254-looking-for-a-fix/#findComment-1298697 Share on other sites More sharing options...
Divvy Posted December 20, 2011 Author Share Posted December 20, 2011 Its fixed! Thank you anyway mate Quote Link to comment https://forums.phpfreaks.com/topic/253254-looking-for-a-fix/#findComment-1299695 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.