SHARE
TWEET

Untitled

a guest Nov 6th, 2015 28 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. var divs = document.querySelectorAll ('img');
  2. if (divs) {
  3.         for (var i = 0, len = divs.length; i < len; i++) {
  4.                 if (divs[i].src.search (/\/\/i(\d+)\.tinypic\.com/) != -1)
  5.                         divs[i].src = divs[i].src.replace (/i(\d+)\.tinypic\.com/, 'oi$1.tinypic.com');
  6.                 if (divs[i].src.search (/\/\/i(\d+)\.photobucket\.com/) != -1)
  7.                         divs[i].src = divs[i].src.replace (/i(\d+)\.photobucket\.com/, 'oi$1.photobucket.com');
  8.         }
  9. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top