Greasy Fork is available in English.

§
Pubblicato: 28/05/2014

hidemyass.com

Hello,

Someone could write a script to rewrite hyperlink from hidemyass domain ?
ex: http://hidemyass.com/?http://www.yyy.com to http://www.yyy.com

For the moment if i click on the link i will be redirect to http://hidemyass.com and not http://www.yyy.com

thank you for your help

§
Pubblicato: 29/05/2014

Where do these hyperlinks show up? Assuming in some random page:

// Left justified match
var myLinks=document.querySelectorAll("a[href^='http://hidemyass.com/?']"); 
for(var i=0; i<myLinks.length; i++){
  myLinks[i].href=myLinks[i].href.replace("http://hidemyass.com/?", "");
}
§
Pubblicato: 29/05/2014

This hyperlink show up on feedly.com when i read an article. In feedly source code it's write like this :




I try to create a script with your code. Greasemonkey load it but that doesn't work when I click on hyperlink.

Thank you very much for your help.

PS : If the future script work, could I upload it on greasyfork ?
§
Pubblicato: 29/05/2014

Thank you that work well !

Pubblica risposta

Accedi per pubblicare una risposta.