Filer
TamperMonkey VG Putin fix
// ==UserScript==
// @name VG putin fix
// @namespace http://fronten.no
// @version 0.1
// @description Replace Putin images
// @author Fronten.no
// @match https://www.vg.no/
// @icon https://www.google.com/s2/favicons?sz=64&domain=vg.no
// @grant none
// ==/UserScript==
(function() {
'use strict';
// Your code here...
const putin_images = [
"https://i.imgflip.com/16cvdy.jpg",
"https://i.imgflip.com/udm29.jpg",
"https://i.imgflip.com/1auhz9.jpg",
"https://i.imgflip.com/355sfx.png",
"https://i.imgflip.com/16cvdy.jpg",
"https://www.azmemes.com/wp-content/uploads/2020/05/Dont-You-Wish-Your-Girlfriend-Was-Hot-Like-Me.jpg",
"https://www.azmemes.com/wp-content/uploads/2020/05/Deal-With-It.jpg",
"https://c.tenor.com/emByGx4m-YEAAAAC/vladimir-putin-laugh.gif",
"https://c.tenor.com/OKqJt7cKQAcAAAAd/smile-vladimir-putin.gif",
"https://c.tenor.com/GT3PTr0p_ycAAAAC/vladimir-putin-wink.gif",
"https://c.tenor.com/y13XEZAGKf8AAAAC/putin-vladimir-putin.gif",
"https://c.tenor.com/A9slBvmNADAAAAAd/putin-ketawa.gif",
"https://c.tenor.com/2yK2E5z_qIcAAAAC/unbelievable-unreal.gif",
];
const sport_images = [
'https://i.pinimg.com/originals/b7/c4/9d/b7c49d02bcc3d198b733e5350097024a.gif'
]
Array.prototype.random = function () {
return this[Math.floor((Math.random()*this.length))];
}
var links = Array.from(document.getElementsByTagName('a')).filter(a => a.getAttribute('itemprop') && a.href.indexOf('putin') !== -1);
for (let a of links) {
let img = a.getElementsByTagName('img')[0];
img.srcset = putin_images.random();
}
var sport_links = Array.from(document.getElementsByTagName('a')).filter(a => a.getAttribute('itemprop') && a.href.indexOf('sport') !== -1);
for (let a of sport_links) {
let img = a.getElementsByTagName('img')[0];
img.srcset = sport_images.random();
}
})();
2 downloads1.99 KB
Peter Doshi - "Everybody knows"
5 downloads12 MB

Charlotte Haug og Mette Kalager om "smittetall"
4 downloads17.57 MB
NRK valgvake - telle på fingrene


5 downloads37.37 MB
US20200279585A1.pdf
2 downloads0.00 KB
US Patent 10242713 - SYSTEM ANDMETHOD FOR USING, PROCESSING ,AND DISPLAYING BIOMETRIC DATA
SYSTEM ANDMETHOD FOR USING, PROCESSING ,AND DISPLAYING BIOMETRIC DATA
3 downloads7 MB
Trump blir sensurert live på TV
6 downloads0.00 KB
Sky News - Aussie TV host drops big Covid-19 truths
4 downloads0.00 KB
1.6 millioner nordmenn er utsatte for influensa
5 downloads0.00 KB
1945 Statsminister Nygaardsvolds beretning om Regjeringens virksomhet
3 downloads3.60 MB
- 1
- 2