Greasy Fork is available in English.

A姐分享 页面优化

解除复制限制-复制粘贴去掉小尾巴

// ==UserScript==
// @name         A姐分享 页面优化
// @namespace    https://greasyfork.org/en/scripts/443351
// @version      0.5
// @description  解除复制限制-复制粘贴去掉小尾巴
// @match        https://www.abskoop.com/*/
// @match        https://www.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() {


     [...document.querySelectorAll('*')].forEach(item=>{
        item.oncopy = function(e) {
            e.stopPropagation();
        }
    });

    let entry = document.getElementsByClassName('entry-content');
    if (entry.length>0) {
        let content = entry[0].innerHTML;
        content = content.replaceAll("🙈","");
        content = content.replaceAll("(删掉文字和括号复制到浏览打开)","");
        entry[0].innerHTML = content;
    }

    $('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)
})();