SHARE
TWEET

Untitled

a guest Apr 24th, 2019 59 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // ==UserScript==
  2. // @name         Obrazko-zamieniacz
  3. // @version      0.1
  4. // @match        https://www.iai-system.com/panel/tickets.php*
  5. // @run-at       document-end
  6. // ==/UserScript==
  7.  
  8. (function() {
  9.    'use strict';
  10.  
  11.    var obrazki = {
  12.        dszwedo: 'https://i.imgur.com/0vUKc.png',
  13.        pkalwa: 'https://www.iai-system.com/panel/data/users/pictures/ex.jpg',
  14.    };
  15.  
  16.    for(var login in obrazki) {
  17.        var o = document.querySelectorAll('img[src="/panel/data/users/pictures/'+login+'.jpg"]');
  18.        for(var i=0; i<o.length; i++) {
  19.            o[i].src = obrazki[login];
  20.        }
  21.    }
  22. })();
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
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top