Doska.ru and SS.com helper

This script disables Anti-Adblock and Clipboard madness

Verze ze dne 05. 09. 2017. Zobrazit nejnovější verzi.

K instalaci tototo skriptu si budete muset nainstalovat rozšíření jako Tampermonkey, Greasemonkey nebo Violentmonkey.

You will need to install an extension such as Tampermonkey to install this script.

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Violentmonkey.

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Userscripts.

You will need to install an extension such as Tampermonkey to install this script.

K instalaci tohoto skriptu si budete muset nainstalovat manažer uživatelských skriptů.

(Už mám manažer uživatelských skriptů, nechte mě ho nainstalovat!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(Už mám manažer uživatelských stylů, nechte mě ho nainstalovat!)

// ==UserScript==
// @name         Doska.ru and SS.com helper
// @namespace    http://blog.vienalga.net/
// @version      0.1 PoC
// @description  This script disables Anti-Adblock and Clipboard madness
// @author       Cukurgalva
// @match        https://www.doska.ru/*
// @match        https://www.ss.com/*
// @match        https://www.ss.ee/*
// @match        https://www.ss.lt/*
// @match        https://www.ss.lv/*
// @match        https://www.ss.pl/*
// @grant        unsafeWindow
// ==/UserScript==

(function(win, doc) {
    'use strict';

    doc.body.removeEventListener('copy', win.add_link_to_selection);
    setInterval(function(){
        win.AD_BLOCKER = false;
    }, 1000);

})(this.unsafeWindow || this, document);