A little improvement
![]() ![]() |
Hi, The script is useless without the hyperlink to the page that is hosting it. Change the regex to:
and change the IF statement: if(fullUrl) { newLink = document.createElement('a');
newLink.style.borderColor = 'White'; newElement = document.createElement('img');
}
I am hidding the blue hyperlink image borders because they bother me. You can remove that bit of code if you want |
![]() ![]() |
To me, the script was already useful. However this is a great improvement! Thank you! I do not understand why the author would not incorporate this into the official script. For me, links with a query string did not work until I changed the line "newLink.href = decodeURI(fullUrl[2]);" to "newLink.href = unescape(fullUrl[2]);". I don't know why, since from what I read on the web, decodeURI() should do the same thing as unescape() in this situation (but in fact was doing nothing). |
![]() ![]() |
I've just released an update which includes your idea. Thanks for the suggestion! |


