Greasy Fork is available in English.

Retpaĝo skribanta klipo versio rajtigo administranto

Administru la skriban konduton de retpaĝoj al la tondujo por malhelpi neaŭtorizitan aŭtomatan kopiadon kaj malŝalti aŭd- kaj videenhavan antaŭŝarĝon kaj aŭtomatan reproduktadon.

// ==UserScript==
// @name:zh-CN        网页写入剪辑版授权管理器
// @description:zh-CN 管理网页对剪贴板的写入行为防止未经授权的自动复制和禁用音视频内容预载及自动播放。
// @name              Web page writing clip version authorization manager
// @description       Manage the writing behavior of web pages to the clipboard to prevent unauthorized automatic copying and disable audio and video content preloading and automatic playback.
// @name:ar           صفحة الويب كتابة مدير ترخيص إصدار المقطع
// @description:ar    إدارة سلوك الكتابة لصفحات الويب في الحافظة لمنع النسخ التلقائي غير المصرح به وتعطيل التحميل المسبق لمحتوى الصوت والفيديو والتشغيل التلقائي.
// @name:bg           Мениджър за оторизиране на версия на клип за писане на уеб страница
// @description:bg    Управлявайте поведението на запис на уеб страници в клипборда, за да предотвратите неоторизирано автоматично копиране и да деактивирате предварителното зареждане на аудио и видео съдържание и автоматичното възпроизвеждане.
// @name:cs           Správce autorizace verze klipu pro psaní webové stránky
// @description:cs    Spravujte chování při zápisu webových stránek do schránky, abyste zabránili neoprávněnému automatickému kopírování a deaktivovali předběžné načítání zvukového a obrazového obsahu a automatické přehrávání.
// @name:da           Websideskrivende klipversionsautorisationsmanager
// @description:da    Administrer skriveadfærden for websider til udklipsholderen for at forhindre uautoriseret automatisk kopiering og deaktiver forudindlæsning af lyd- og videoindhold og automatisk afspilning.
// @name:de           Autorisierungsmanager für Webseiten-Schreibclip-Versionen
// @description:de    Verwalten Sie das Schreibverhalten von Webseiten in die Zwischenablage, um unbefugtes automatisches Kopieren zu verhindern und das Vorladen von Audio- und Videoinhalten sowie die automatische Wiedergabe zu deaktivieren.
// @name:el           Διαχείριση εξουσιοδότησης έκδοσης κλιπ συγγραφής ιστοσελίδας
// @description:el    Διαχειριστείτε τη συμπεριφορά γραφής των ιστοσελίδων στο πρόχειρο για να αποτρέψετε μη εξουσιοδοτημένη αυτόματη αντιγραφή και να απενεργοποιήσετε την προφόρτωση περιεχομένου ήχου και βίντεο και την αυτόματη αναπαραγωγή.
// @name:en           Web page writing clip version authorization manager
// @description:en    Manage the writing behavior of web pages to the clipboard to prevent unauthorized automatic copying and disable audio and video content preloading and automatic playback.
// @name:eo           Retpaĝo skribanta klipo versio rajtigo administranto
// @description:eo    Administru la skriban konduton de retpaĝoj al la tondujo por malhelpi neaŭtorizitan aŭtomatan kopiadon kaj malŝalti aŭd- kaj videenhavan antaŭŝarĝon kaj aŭtomatan reproduktadon.
// @name:es           Administrador de autorización de versión de clip de escritura de página web
// @description:es    Administre el comportamiento de escritura de páginas web en el portapapeles para evitar copias automáticas no autorizadas y deshabilite la precarga y reproducción automática de contenido de audio y video.
// @name:fi           Web-sivun kirjoitusleikkeen valtuutushallinta
// @description:fi    Hallitse web-sivujen kirjoituskäyttäytymistä leikepöydälle estääksesi luvattoman automaattisen kopioinnin ja poista käytöstä ääni- ja videosisällön esilataus ja automaattinen toisto.
// @name:fr           Gestionnaire d’autorisation de version de clip d’écriture de page Web
// @description:fr    Gérez le comportement d’écriture des pages Web dans le presse-papiers pour empêcher la copie automatique non autorisée et désactiver le préchargement et la lecture automatique du contenu audio et vidéo.
// @name:he           מנהל הרשאות גרסאות כתיבת דף אינטרנט
// @description:he    נהל את התנהגות הכתיבה של דפי אינטרנט ללוח כדי למנוע העתקה אוטומטית בלתי מורשית ולהשבית טעינה מראש של תוכן אודיו ווידאו והשמעה אוטומטית.
// @name:hr           Upravitelj autorizacije verzije isječka za pisanje web stranice
// @description:hr    Upravljajte ponašanjem pisanja web stranica u međuspremnik kako biste spriječili neovlašteno automatsko kopiranje i onemogućili prethodno učitavanje audio i video sadržaja i automatsku reprodukciju.
// @name:hu           Weboldal írási klip verzió engedélyezési kezelője
// @description:hu    Kezelje a weboldalak vágólapra írási viselkedését, hogy megakadályozza a jogosulatlan automatikus másolást, valamint letiltja az audio- és videotartalom előtöltését és az automatikus lejátszást.
// @name:id           Manajer otorisasi versi klip penulisan halaman web
// @description:id    Kelola perilaku penulisan halaman web ke clipboard untuk mencegah penyalinan otomatis tanpa izin dan menonaktifkan pramuat konten audio dan video serta pemutaran otomatis.
// @name:it           Gestore delle autorizzazioni della versione del clip di scrittura della pagina Web
// @description:it    Gestisci il comportamento di scrittura delle pagine web negli appunti per impedire la copia automatica non autorizzata e disabilitare il precaricamento e la riproduzione automatica dei contenuti audio e video.
// @name:ja           Web ページ書き込みクリップ バージョン認証マネージャー
// @description:ja    Web ページのクリップボードへの書き込み動作を管理して、不正な自動コピーを防止し、オーディオおよびビデオ コンテンツのプリロードと自動再生を無効にします。
// @name:ka           ვებ გვერდის ჩაწერის კლიპის ვერსიის ავტორიზაციის მენეჯერი
// @description:ka    მართეთ ვებ გვერდების ჩაწერის ქცევა ბუფერში, რათა თავიდან აიცილოთ არაავტორიზებული ავტომატური კოპირება და გამორთოთ აუდიო და ვიდეო კონტენტის წინასწარ ჩატვირთვა და ავტომატური დაკვრა.
// @name:ko           웹 페이지 작성 클립 버전 권한 관리자
// @description:ko    웹페이지의 클립보드 쓰기 동작을 관리하여 무단 자동 복사를 방지하고 오디오 및 비디오 콘텐츠 사전 로드 및 자동 재생을 비활성화합니다.
// @name:nl           Autorisatiemanager voor het schrijven van clips voor webpagina’s
// @description:nl    Beheer het schrijfgedrag van webpagina’s naar het klembord om ongeoorloofd automatisch kopiëren te voorkomen en om het vooraf laden en automatisch afspelen van audio- en video-inhoud uit te schakelen.
// @name:nb           Nettsideskriving klipp versjon autorisasjon manager
// @description:nb    Administrer skriveoppførselen til nettsider til utklippstavlen for å forhindre uautorisert automatisk kopiering og deaktiver forhåndsinnlasting av lyd- og videoinnhold og automatisk avspilling.
// @name:pl           Menedżer autoryzacji wersji klipu do pisania stron internetowych
// @description:pl    Zarządzaj zachowaniem stron internetowych podczas zapisywania w schowku, aby zapobiec nieautoryzowanemu automatycznemu kopiowaniu oraz wyłączyć wstępne ładowanie i automatyczne odtwarzanie treści audio i wideo.
// @name:pt-BR        Gerenciador de autorização de versão de clipe de gravação de página da Web
// @description:pt-BR Gerencie o comportamento de gravação de páginas da web na área de transferência para evitar cópias automáticas não autorizadas e desativar o pré-carregamento e a reprodução automática de conteúdo de áudio e vídeo.
// @name:ro           Manager de autorizare a versiunii clipului de scriere a paginii web
// @description:ro    Gestionați comportamentul de scriere a paginilor web în clipboard pentru a preveni copierea automată neautorizată și pentru a dezactiva preîncărcarea conținutului audio și video și redarea automată.
// @name:ru           Менеджер авторизации версий клипов для написания веб-страниц
// @description:ru    Управляйте процессом записи веб-страниц в буфер обмена, чтобы предотвратить несанкционированное автоматическое копирование и отключить предварительную загрузку и автоматическое воспроизведение аудио- и видеоконтента.
// @name:sk           Manažér autorizácie verzie klipu na písanie webovej stránky
// @description:sk    Spravujte správanie pri zápise webových stránok do schránky, aby ste zabránili neoprávnenému automatickému kopírovaniu a zakázali predbežné načítanie zvukového a video obsahu a automatické prehrávanie.
// @name:sr           Менаџер ауторизације верзије клипа за писање веб странице
// @description:sr    Управљајте понашањем писања веб страница у клипборд да бисте спречили неовлашћено аутоматско копирање и онемогућили претходно учитавање аудио и видео садржаја и аутоматску репродукцију.
// @name:sv           Webbsida skriver klipp version auktoriseringshanterare
// @description:sv    Hantera skrivbeteendet för webbsidor till urklipp för att förhindra obehörig automatisk kopiering och inaktivera förladdning av ljud- och videoinnehåll och automatisk uppspelning.
// @name:th           ผู้จัดการการอนุญาตเวอร์ชันการเขียนคลิปหน้าเว็บ
// @description:th    จัดการลักษณะการเขียนของหน้าเว็บไปยังคลิปบอร์ดเพื่อป้องกันการคัดลอกอัตโนมัติโดยไม่ได้รับอนุญาต และปิดใช้งานการโหลดเนื้อหาเสียงและวิดีโอล่วงหน้าและการเล่นอัตโนมัติ
// @name:tr           Web sayfası yazma klibi sürüm yetkilendirme yöneticisi
// @description:tr    Yetkisiz otomatik kopyalamayı önlemek ve ses ve video içeriğinin önceden yüklenmesini ve otomatik oynatmayı devre dışı bırakmak için web sayfalarının panoya yazma davranışını yönetin.
// @name:ug           تور بەت يېزىش قىستۇرما نەشرىگە ھوقۇق باشقۇرغۇچى
// @description:ug    تور بەتلەرنىڭ يېزىش ھەرىكىتىنى چاپلاش تاختىسىغا باشقۇرۇپ ، رۇخسەتسىز ئاپتوماتىك كۆچۈرۈلۈشنىڭ ئالدىنى ئالىدۇ ۋە ئاۋاز ۋە سىن مەزمۇنىنى ئالدىن قاچىلاش ۋە ئاپتوماتىك قويۇشنى چەكلەيدۇ.
// @name:uk           Менеджер авторизації версії кліпу для написання веб-сторінки
// @description:uk    Керуйте поведінкою запису веб-сторінок у буфер обміну, щоб запобігти неавторизованому автоматичному копіюванню та вимкнути попереднє завантаження аудіо- та відеовмісту та автоматичне відтворення.
// @name:vi           Trình quản lý ủy quyền phiên bản clip viết trang web
// @description:vi    Quản lý hành vi ghi của các trang web vào bảng nhớ tạm để ngăn chặn việc sao chép tự động trái phép, đồng thời tắt tính năng tải trước nội dung âm thanh và video cũng như tự động phát lại.
// @name:zh-SG        网页写入剪辑版授权管理器
// @description:zh-SG 管理网页对剪贴板的写入行为防止未经授权的自动复制和禁用音视频内容预载及自动播放。
// @name:zh           网页写入剪辑版授权管理器
// @description:zh    管理网页对剪贴板的写入行为防止未经授权的自动复制和禁用音视频内容预载及自动播放。
// @name:zh-TW        網頁寫入剪輯版授權管理員
// @description:zh-TW 管理網頁對剪貼簿的寫入行為防止未經授權的自動複製和停用音視頻內容預載及自動播放。
// @name:zh-HK        網頁寫入剪輯版授權管理員
// @description:zh-HK 管理網頁對剪貼簿的寫入行為防止未經授權的自動複製和停用音視頻內容預載及自動播放。
// @name:fr-CA        Gestionnaire d’autorisation de version de clip d’écriture de page Web
// @description:fr-CA Gérez le comportement d’écriture des pages Web dans le presse-papiers pour empêcher la copie automatique non autorisée et désactiver le préchargement et la lecture automatique du contenu audio et vidéo.
// @namespace         https://github.com/ChinaGodMan/UserScripts
// @author            人民的勤务员 <china.qinwuyuan@gmail.com> Sky,仰望星空
// @version           1.2.3.1
// @include           *
// @run-at            document-body
// @license           MIT
// @grant             GM_setClipboard
// @icon              data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAgAAAAIACAYAAAD0eNT6AAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAOxAAADsQBlSsOGwAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAACAASURBVHic7d13nFT1vf/x92xjC22XpSy9N0Es9CIICIIgIkW8oMYCCqhgjIjlp8ZE0JhrDHZM4rXk2qKxEASlSVFAekeaAkpfYGEL2+b3xzpexGXLzDlzzpzv6/l47CO2+X4/GnVenjPnOz4B9qss6TJJ3SW1lNRcUk1JiZLiHZwLkSlP0iFJX0t6Q9KsMO4dJ+kmSSMltZVUQ5IvjPtHogOSNkh6V9JbKvr/D4CHVZA0StJ/VPQPvJ8ffmz6WaCioLTbRZJ2OPDn56WfrZLalPcvPIDIkCBpsqT9cv5fNvyY87NTUqrs017SaRf8eXrhJ0NSj/L95QfgdoMk7Zbz/4Lhx8wfu24FJEra64I/Py/9nBIRAHhCoqTX5Py/VPjhx443lftc8OflxR8iwGFRTg+AiNdA0kpJv3F4DkCSro+QNSFVlDRbRIBjCACE4gJJy376X8AN2lu8Xoykdhavif9DBDgoxukBELGaSJonqZbTgwABcRWTm/zXe+n3W7XeiX1bkz66vTX/oWSvQAQMlLTE4VmMQgAgGKmSPhdv/nCZyrWbpsinJy1br04z+XxR8vsLrVoSxSMCHEDZorx8kv4uqbHTgwDnSm3R0dL1oqJjlNLkIkvXxHlVlDRH0uVOD2IKAgDlNUnS1U4PARSnUc9R1q/Zi88AhlGipE/EZwLCggBAedSR9LjTQwDFqddpsGpe0N3ydVsOmqCkGvUtXxfnxQcDw4QAQHlMl1TJ6SGAc1Wu3VTdf/uaLWvHVEhU74c/VGxCRVvWR7GIgDDgSyxQVk0kbRMfHIXL1L64ry67/38VX6W6rfuk716vRdNGKuO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Ki1GfgNRowZIQuvKSjaqTVVlxchVCXBYCw8Us6meNTvs0BcOrkcR3Y/52+Wfy5Zr/3P/p+1zYrlj0iqY6kPCsWg3edHQDxkn6QlOLQLACA0M2QNMnpIeB+0Wf9cr6kREm9nBkFABCiPEmjJZ1wehC437nfBTBDEh/nB4DI9Iak75weApEh+pxfz/7p50oHZgEABC9D0jBxBDDKqLhvA3xB0ppwDwIACMlUSSF9eQDMcr6HXJtKWi2pchhnAQAEZ5akq+Xsdxchwpx7CyAgXdIOScN1/kgAADhvu6RBKrp9C5TZ+QJAkrZKOqyiv7EAAO7zo6Tekg46PQgiT0kBIBUdEZwhqZ+4EgAAbrJX0hWSdjo9CCJTaQEgSctV9DfYAEmx9o4DACiDdZL6SNrj9CCIXMU9BVCcf0pqL2mzjbMAAEr3pqRuKjq5FQhaWa4ABByR9JqKTgzsIinGlokAAMXZqaJT/p4W5/zDAuUJAKnozX+RpLclVZR0QRBrAADKbq+khyTdpqJP/AOWCPWDfXUl3fDTT6vQxwEASMqVNEdFl/s/+enXAUtZ+cn+hip6HKWDpBaSGkmq8tNPWT9rAAAmyZF0SkWPXH+rosevl/z0k+ngXDDA/wd7dVX9zQlmsQAAAABJRU5ErkJggg==
// @supportURL        https://github.com/ChinaGodMan/UserScripts/issues
// @homepageURL       https://github.com/ChinaGodMan/UserScripts
// ==/UserScript==
//在其他地方下载的脚本,作者不知道是谁很不错,防范牛皮癣 。用Chatgpt修改了下,让脚本在PC端浏览时可以使用快捷键复制
!function () {
    const userLang =
        (navigator.languages && navigator.languages[0]) ||
        navigator.language ||
        'en'
    const translations = {
        en: {
            ask: 'Is it allowed for the webpage to copy the following content?',
            cancel: 'The webpage\'s clipboard writing has been blocked',
            save: 'The webpage has been allowed to write to the clipboard'
        },
        'zh-CN,zh,zh-SG': {
            ask: '允许网页复制以下内容吗?',
            cancel: '已阻止网页写入剪贴板',
            save: '已允许网页写入剪贴板'
        },
        'zh-TW,zh-HK,zh-MO': {
            ask: '允許網頁複製以下內容嗎?',
            cancel: '已阻止網頁寫入剪貼板',
            save: '已允許網頁寫入剪貼板'
        },
        vi: {
            ask: 'Có cho phép trang web sao chép nội dung sau không?',
            cancel: 'Đã chặn trang web ghi vào clipboard',
            save: 'Trang web đã được phép ghi vào clipboard'
        },
        ja: {
            ask: 'ウェブページが以下の内容をコピーすることを許可しますか?',
            cancel: 'ウェブページによるクリップボードへの書き込みがブロックされました',
            save: 'ウェブページがクリップボードへの書き込みを許可されました'
        },
        ko: {
            ask: '웹페이지가 다음 내용을 복사하는 것을 허용하시겠습니까?',
            cancel: '웹페이지의 클립보드 쓰기가 차단되었습니다',
            save: '웹페이지가 클립보드에 쓰는 것을 허용했습니다'
        }
    }

    const getTranslations = (lang) => {
        for (const key in translations) {
            if (key === lang || key.split(',').includes(lang)) {
                return translations[key]
            }
        }
        return translations['en']
    }
    const translate = new Proxy(
        function (key) {
            const lang = userLang
            const strings = getTranslations(lang)
            return strings[key] || translations['en'][key]
        },
        {
            get(target, prop) {
                const lang = userLang
                const strings = getTranslations(lang)
                return strings[prop] || translations['en'][prop]
            }
        }
    )
    // 定义唯一键,用于防止重复执行
    const key = encodeURIComponent('剪贴板保护&禁用预载:执行判断')
    // 如果已经执行过,直接返回
    if (window[key]) { return }
    try {
        // 标记已经执行过
        window[key] = true
        // 初始化变量
        let red = true
        let green = false
        let orange = false
        // 获取页面中的所有视频元素
        var videoTags = document.getElementsByTagName('video')
        // 创建开关按钮元素
        const sw = document.createElement('div')
        // 设置按钮样式
        sw.style = 'position:fixed!important;bottom:30%;right:10px;z-index:2147483647;width:18px;height:18px;opacity:0.4;border-radius:9px;background:red;visibility:hidden'
        // 将按钮添加到页面中
        document.body.appendChild(sw)
        // 对所有视频元素进行处理,禁用预加载和自动播放
        for (var i = 0; i < videoTags.length; i++) {
            videoTags[i].setAttribute('preload', 'metadata')
            videoTags[i].removeAttribute('autoplay')
        };
        // 获取页面中的所有音频元素
        var audioTags = document.getElementsByTagName('audio')
        // 对所有音频元素进行处理,禁用预加载和自动播放
        for (var video = 0; video < audioTags.length; video++) {
            audioTags[video].setAttribute('preload', 'metadata')
            audioTags[video].removeAttribute('autoplay')
        };
        window.navigator.clipboard.writeText = function (text) {
            pc(null, text, true)
        }
        // 显示提示消息的函数
        function Toast(msg, duration, backgroundColor, textColor) {
            duration = isNaN(duration) ? 3000 : duration
            backgroundColor = backgroundColor || 'rgba(0, 0, 0, 0.7)'
            textColor = textColor || 'rgb(255, 255, 255)'
            var m = document.createElement('div')
            m.innerHTML = msg
            m.style.cssText = 'max-width:60%;min-width: 150px;padding:0 14px;height: 40px;color: ' + textColor + ';line-height: 40px;text-align: center;border-radius: 12px;position: fixed;top: 95%;left: 50%;transform: translate(-50%, -50%);z-index: 2147483647;background: ' + backgroundColor + ';font-size: 16px;'
            document.body.appendChild(m)
            setTimeout(function () {
                var d = 0.5
                m.style.transition = '-webkit-transform ' + d + 's ease-in, opacity ' + d + 's ease-in'
                m.style.opacity = '0'
                setTimeout(function () {
                    document.body.removeChild(m)
                }, d * 1000)
            }, duration)
        }

        // 处理复制事件的函数
        function pc(e, selection = window.getSelection().toString(), C = false) {
            if (red) {
                var confirmed = window.confirm(translate.ask + '\n' + selection)
                if (confirmed) {
                    if (C) {
                        GM_setClipboard(selection)
                    }
                    Toast(translate.save, 500, 'rgba(0, 255, 0, 0.7)', 'rgb(255, 255, 255)')
                } else {
                    if (e) {
                        e.preventDefault()
                        e.stopPropagation()
                    }
                    sw.style.visibility = 'visible'
                    Toast(translate.cancel, 500, 'rgba(255, 0, 0, 0.7)', 'rgb(255, 255, 255)')
                }
            } else {//NOTE  - 此处不为red时且来源于为 window.navigator.clipboard.writeText ,需要手动复制到剪辑版.
                if (C) {
                    GM_setClipboard(selection)
                }
            }
            setTimeout(function () {
                sw.style.visibility = 'hidden'
            }, 4000)
            if (C) {
                return Promise.reject('.')
            }

        }
        /*         document.addEventListener('mouseup', (event) => {
        
                    if (event.button === 2) {
                        handleSelectedText()
                    }
                })
                document.addEventListener('touchend', (event) => {
                    handleSelectedText()
                })
                function handleSelectedText() {
                    let selectedText = window.getSelection().toString().trim()
                    if (selectedText) {
                        if (red) {
                            red = false
                            orange = true
                            setTimeout(() => {
                                red = true
                                orange = false
                            }, 5000)
                        }
                    }
                } */
        // 添加复制事件监听器
        document.addEventListener('copy', (e) => pc(e), { 'passive': false, 'capture': true })
        // 遍历所有iframe元素,为其内容添加复制事件监听器
        Array.from(document.getElementsByTagName('iframe')).forEach((i) => i.contentDocument.addEventListener('copy', (e) => pc(e), { 'passive': false, 'capture': true }))
        // 点击开关按钮的事件处理
        sw.addEventListener('click', function (e) {
            if (!orange) {
                sw.style.background = red ? 'green' : 'red'
                red = !red
                green = !green
            } else {
                sw.style.background = 'red'
                red = !red
                orange = !orange
            }
        }, { 'passive': true })
        // 右键菜单事件处理
        document.addEventListener('contextmenu', function (e) {
            if (!green) {
                sw.style.visibility = 'visible'
                sw.style.background = 'orange'
                red = false
                orange = true
                setTimeout(function () { sw.style.visibility = 'hidden' }, 4000)
            }
        }, { 'passive': true })
        // 复制完成后的事件处理
        document.addEventListener('copy', function (e) {
            if (orange) {
                sw.style.background = 'red'
                red = true
                orange = false
                sw.style.visibility = 'hidden'
            }
        }, { 'passive': true })
        // 添加键盘事件监听器,支持快捷键复制
        document.addEventListener('keydown', function (e) {
            if (e.ctrlKey && e.key === 'c') {
                sw.style.visibility = 'visible'
                if (red) {
                    sw.style.background = 'orange'
                    red = false
                    orange = true
                }
            }
        }, { 'passive': true })
        // 鼠标按下事件处理
        document.addEventListener('mousedown', function (e) {
            if (orange) {
                sw.style.background = 'red'
                red = true
                orange = false
            }
        }, { 'passive': true })
    } catch (err) {
        console.log('剪贴板保护&禁用预载:', err)
    }
}()