Skip to content

Instantly share code, notes, and snippets.

@geekyouth
Last active March 20, 2020 01:33
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save geekyouth/8406173441da2d35fb6dbfed6ceec41d to your computer and use it in GitHub Desktop.
Save geekyouth/8406173441da2d35fb6dbfed6ceec41d to your computer and use it in GitHub Desktop.
【原创】greasyfork.org 油猴脚本:跳过QQ邮箱超链接的鸡肋安全提示---fuck_geek-share.com
// ==UserScript==
// @name fuck_geek-share.com
// @namespace https://github.com/geekyouth/
// @version 1.0
// @description fuck_geek-share.com,移除页面推广信息
// @author GeekYouth
// @match https://www.geek-share.com/*
// @grant none
// ==/UserScript==
(function() {
var f1 = function loop() {
var xxoo1 = document.querySelector("body > div.ThinkBox-wrapper.ThinkBox-default");
var xxoo2 = document.querySelector("body > div.ThinkBox-modal-blackout.ThinkBox-modal-blackout-default");
if (xxoo1) {
console.log("检测到 xxoo1,开始删除=====================");
xxoo1.remove();
} else {
console.log("xxoo1 不存在 ===========================");
}
if (xxoo2) {
console.log("检测到 xxoo2,开始删除=====================");
xxoo2.remove();
} else {
console.log("xxoo2 不存在 ===========================");
}
xxoo1 = document.querySelector("body > div.ThinkBox-wrapper.ThinkBox-default");
xxoo2 = document.querySelector("body > div.ThinkBox-modal-blackout.ThinkBox-modal-blackout-default");
if (!xxoo1 || !xxoo2) {
console.log("xxoo 都不在 ===============================");
} else {
console.log("删除失败了 ================== 等一秒递归 ");
setTimeout(f1, 1000);
}
}
//如果网页加载很慢,这里的延时可以适当调大
setTimeout(f1, 2000);
})();
// ==UserScript==
// @name 跳过QQ邮箱安全提示
// @namespace https://github.com/geekyouth
// @version 0.1
// @description 跳过QQ邮箱超链接的鸡肋安全提示
// @author geekyouth
// @include https://mail.qq.com/cgi-bin/
// @match https://mail.qq.com/cgi-bin/readtemplate*
// @grant none
// ==/UserScript==
(function() {
goUrl(1);
})();
// ==UserScript==
// @name 自动展开云栖社区
// @namespace https://java666.cn
// @version 0.1
// @description 自动展开云栖社区的文章
// @author geekyouth
// @match https://yq.aliyun.com/articles/*
// @grant none
// ==/UserScript==
(function() {
var jumptoread = function(){
document.getElementById("btn-readmore").click();
}
setTimeout(jumptoread, 2000);
})();
@geekyouth
Copy link
Author

image

@geekyouth
Copy link
Author

@geekyouth
Copy link
Author

脚本已经发布到油猴官网脚本库

https://greasyfork.org/zh-CN/scripts/397903-geek-share-com
fuck_geek-share.com,移除 geek-share.com 页面推广信息,牛皮癣广告真的太讨厌了。干掉他吧🪓🧱🗡
image

@geekyouth
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment