Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //<![CDATA[
- var allahref=document.getElementsByTagName("a");
- var myhost = location.hostname;
- for(var c=0;c<allahref.length;c++)
- {
- if(allahref[c].hostname!=myhost && allahref[c].hostname="")
- {
- allahref[c].href="https://penada.com/mbs.php/"+allahref[c].href;
- }
- }
- //]]>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement