Filer

Last ned filer

Nyttige dokumenter
Ikon
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();
    }

})();

Ikon
Peter Doshi - "Everybody knows"
Ikon
Charlotte Haug og Mette Kalager om "smittetall"
Ikon
NRK valgvake - telle på fingrene

Ikon
US20200279585A1.pdf
Ikon
US Patent 10242713 - SYSTEM ANDMETHOD FOR USING, PROCESSING ,AND DISPLAYING BIOMETRIC DATA

SYSTEM ANDMETHOD FOR USING, PROCESSING ,AND DISPLAYING BIOMETRIC DATA

Ikon
Trump blir sensurert live på TV

Ikon
Sky News - Aussie TV host drops big Covid-19 truths

Ikon
1.6 millioner nordmenn er utsatte for influensa
Ikon
1945 Statsminister Nygaardsvolds beretning om Regjeringens virksomhet