Last active
October 26, 2017 08:05
-
-
Save phpivanov/1f85f8b6917797402d776bb1ce597b16 to your computer and use it in GitHub Desktop.
relink
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script type="text/javascript" src="https://yastatic.net/jquery/3.1.0/jquery.min.js"></script> | |
<script>var jquery_3_1_0 = jQuery;</script> | |
<script type="text/javascript"> | |
function getParameterByName(e,a){a||(a=window.location.href),e=e.replace(/[\[\]]/g,"\\$&");var t=new RegExp("[?&]"+e+"(=([^&#]*)|&|#|$)"),r=t.exec(a);return r?r[2]?decodeURIComponent(r[2].replace(/\+/g," ")):"":null}$(function(){var e=jQuery=jquery_3_1_0,a="http://doctortrust.me/kgqUF/",t=getParameterByName("sub1"),r=getParameterByName("sub2"),m=getParameterByName("sub3"),n=getParameterByName("sub4"),u=getParameterByName("sub5");e("a").each(function(){e(this).attr("href",a+(t?t:"1")+"/"+(r?r:"2")+"/"+(m?m:"3")+"/"+(n?n:"4")+"/"+(u?u:"5")+"/")})}); | |
</script> |
Author
phpivanov
commented
Oct 26, 2017
<script>function dl_relink(){var n=document.querySelectorAll("a:not(.nothis)");n=[].slice.call(n),n.forEach(function(n,e,t){n.href="http://domain.com"})}document.addEventListener("DOMContentLoaded",function(){dl_relink()});</script>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment