Skip to content

Instantly share code, notes, and snippets.

@sorrycc
Last active December 26, 2015 07:19
Show Gist options
  • Star 6 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save sorrycc/7114903 to your computer and use it in GitHub Desktop.
Save sorrycc/7114903 to your computer and use it in GitHub Desktop.
// ==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();
}
});
@afc163
Copy link

afc163 commented Oct 23, 2013

document.body.style.MozUserSelect = "text";

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