i want to create a script "bookmarklet" that loads the original images instead of the watermarked ones which are loaded by default from the website "fansshare.com"
loading the original image from the site could be done by modifying the URL of the watermarked image, & the modifications would be as follows:
watermarked image : http://img26.fansshare.com/cached/ph...1630765198.jpg
original image : http://us.cdn001.fansshare.com/photo...1630765198.jpg
so basically i want to replace "http://img26.fansshare.com/cached" with "http://us.cdn001.fansshare.com" & keep the rest of the URL unattached then go to the new URL.
I found a script that could add text to the URL but i didn't know how to make it replace text in the URL rather than just add to it
i would be very thankful if any one could help me modify the above script to make it work as i wanted to be