A姐分享 页面优化

解除复制限制

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 Tampermonkey,才能安裝此腳本

您需要先安裝使用者腳本管理器擴充功能後才能安裝該腳本。

(我已經安裝了使用者腳本管理器,讓我安裝!)

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

(我已經安裝了使用者樣式管理器,讓我安裝!)

// ==UserScript==
// @name         A姐分享 页面优化
// @namespace    https://greasyfork.org/en/scripts/443351
// @version      0.4
// @description  解除复制限制
// @author       zhenhappy<[email protected]>
// @match        https://*.abskoop.com/*/
// @match        https://*.ahhhhfs.com/*/
// @icon         https://www.abskoop.com/wp-content/uploads/2021/07/1625221481-04bb5153c0db541-192x192.webp
// @require      https://unpkg.com/jquery/dist/jquery.slim.min.js
// @grant        none
// @license      MIT
// ==/UserScript==

(function() {
    $('body').css("cssText", "-moz-user-select: auto !important; -webkit-user-select: auto !important; -ms-user-select: auto !important; -khtml-user-select: auto !important; user-select: auto !important")
    setInterval(function () {
        if (document.ondragstart !== null) document.ondragstart = null
        if (document.onselectstart !== null) document.onselectstart = null
        if (document.onbeforecopy !== null) document.onbeforecopy = null
        if (document.onmouseup !== null) document.onmouseup = null
        if (document.onselect !== null) document.onselect = null
        if (document.oncopy !== null) document.oncopy = null
    }, 500)
})();