您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Greasy Fork is available in English.
电影天堂一进去随便点击毕然打开一波广告,作为一个搬砖狗,感觉很烦,就弄了几段代码去了。。另外也把电影的链接以选中方式直接显示在页面,如果需要复制下载,直接CTRL+C,本着方便自己,方便他人的原则,上传一波,以兹共享!
当前为
// ==UserScript== // @name 电影天堂广告去除及电影链接直接显示 // @namespace http://tampermonkey.net/ // @version 2018.1.9 // @description 电影天堂一进去随便点击毕然打开一波广告,作为一个搬砖狗,感觉很烦,就弄了几段代码去了。。另外也把电影的链接以选中方式直接显示在页面,如果需要复制下载,直接CTRL+C,本着方便自己,方便他人的原则,上传一波,以兹共享! // @author talen // @match http://www.dytt8.net/ // @grant none // ==/UserScript== (function() { 'use strict'; window.onload = function(){ if(document.querySelector("body > a")){ document.querySelector("body > a").outerHTML = ""; } }; var input = document.createElement("input"); input.setAttribute("id","myinput"); input.style.color = "red"; input.style.width = "950px"; input.style.height = "30px"; input.style.margin = "0 auto"; input.style.position = "fixed"; input.style.top = "0"; input.style.left = "0"; input.style.bottom = "0"; input.style.right = "0"; if(document.querySelector("#Zoom span table tbody tr td a")){ input.value= document.querySelector("#Zoom span table tbody tr td a").attributes[7].value; document.body.prepend(input); document.getElementById("myinput").select(); } })();