Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
【原创】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

This comment has been minimized.

Copy link
Owner Author

@geekyouth geekyouth commented Mar 11, 2020

image

@geekyouth

This comment has been minimized.

@geekyouth

This comment has been minimized.

Copy link
Owner Author

@geekyouth geekyouth commented Mar 14, 2020

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

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

@geekyouth

This comment has been minimized.

Copy link
Owner Author

@geekyouth geekyouth commented Mar 20, 2020

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.