Last active
December 26, 2015 07:19
-
-
Save sorrycc/7114903 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name AliWay Script. | |
// @version 0.2 | |
// @match http://www.aliway.com/* | |
// @copyright 2012+, You | |
// ==/UserScript== | |
// 删水印 | |
$("div.tpc_content").removeClass("tpc_content").css("padding", "0 15px 20px 15px").css("line-height", "1.5"); | |
// 开文本选择 | |
document.body.style.webkitUserSelect = "text"; | |
document.body.style.MozUserSelect = "text"; | |
document.onselectstart = null; | |
// 开右键 | |
document.oncontextmenu = null; | |
// 删除 uid 转义码 | |
$("div").each(function() { | |
if (this.style.color === "rgb(253, 253, 253)" || this.style.color === "rgb(242, 242, 242)") { | |
$(this).remove(); | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
document.body.style.MozUserSelect = "text";