您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
skips domru ad pages
// ==UserScript== // @name Skip domru ad pages // @version 0.1.20200516.1 // @description skips domru ad pages // @match *://info.ertelecom.ru/* // @grant none // @copyright 2017, StSav012 // @author StSav012 // @namespace http://info.ertelecom.ru/ // @run-at document-idle // ==/UserScript== "use strict"; var actualCode = '(' + function() { "use strict"; var x = document.querySelectorAll("a.js-close, a.close, a.links_skip, table.es-content:first-child > tbody:first-child > tr:first-child > td:first-child > table:first-child > tbody:first-child > tr:first-child > td:first-child > table:first-child > tbody:first-child > tr:first-child > td:first-child > table:first-child > tbody:first-child > tr:first-child > td.es-m-txt-c:first-child > a:first-child"); if (x.length == 1) { window.location = x[0].href; } return; } + ')();'; var script = document.createElement('script'); script.textContent = actualCode; (document.body||document.documentElement).appendChild(script);