Участник:T kns/coubantiantiadblock.user.js — различия между версиями
Материал из Энциклопедия leprosorium.ru
T kns (обсуждение | вклад) (Новая страница: «// ==UserScript== // @name coubadworkaround // @namespace coubembed // @description Coub adfox // @include https://coub.com/embed/* // @version 1…») |
T kns (обсуждение | вклад) (нет, только так.) |
||
| (не показаны 2 промежуточные версии этого же участника) | |||
| Строка 4: | Строка 4: | ||
// @description Coub adfox | // @description Coub adfox | ||
// @include https://coub.com/embed/* | // @include https://coub.com/embed/* | ||
| − | // @version | + | // @version 2 |
// @run-at document-start | // @run-at document-start | ||
// @grant none | // @grant none | ||
// ==/UserScript== | // ==/UserScript== | ||
| + | (function() { | ||
window.AdFox_getCodeScript = function() { | window.AdFox_getCodeScript = function() { | ||
return; | return; | ||
} | } | ||
| + | |||
| + | Object.defineProperty(document, "referrer", {get : function(){ return "coub.com.is.shit.too"; }}); | ||
| + | })() | ||
Текущая версия на 01:13, 12 июня 2016
// ==UserScript==
// @name coubadworkaround
// @namespace coubembed
// @description Coub adfox
// @include https://coub.com/embed/*
// @version 2
// @run-at document-start
// @grant none
// ==/UserScript==
(function() {
window.AdFox_getCodeScript = function() {
return;
}
Object.defineProperty(document, "referrer", {get : function(){ return "coub.com.is.shit.too"; }});
})()