Making all images' sources https://

SipaNova

New Member
Is there a way, using user JS, to make all of a webpage's images' sources change to https://? For example, on Tumblr, change \[code\]http://24.media.tumblr.com/tumblr_mebssnmLT71r1bdq8o1_500\[/code\] to \[code\]https://24.media.tumblr.com/tumblr_mebssnmLT71r1bdq8o1_500.png\[/code\]. I'm guessing it has something to do with jQuery's \[code\].attr()\[/code\] function, but I don't know how I would change just the \[code\]http://\[/code\]. I have so far:\[code\]var script = document.createElement('script');script.src = 'http://jqueryjs.googlecode.com/files/jquery-1.2.6.min.js';script.type = 'text/javascript';document.getElementsByTagName('head')[0].appendChild(script);var title = $(img).attr("title");\[/code\]EDIT: To be clear, I DO NOT OWN THE WEBSITE. I want to have images on sites like https://facebook.com/ and https://tumblr.com/ be on https.
 
Back
Top