File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22// @name 🔥🔥🔥文本选中复制🔥🔥🔥
33// @description 解除网站不允许复制的限制,文本选中后点击复制按钮即可复制,主要用于 百度文库 道客巴巴 腾讯文档 豆丁网 无忧考网 学习啦 蓬勃范文 思否社区 力扣 知乎 语雀 等
44// @namespace https://github.com/WindrunnerMax/TKScript
5- // @version 6.2.8
5+ // @version 6.2.9
66// @author Czy
77// @match *://wenku.baidu.com/view/*
88// @match *://wenku.baidu.com/share/*
175175 } ;
176176
177177 /*!
178- * 外部引用` static.doc88.com` 声明
179- * 此部分是在处理` doc88.com` 才会加载的资源文件,此资源文件由该网站加载时提供
178+ * 外部引用 static.doc88.com 声明
179+ * 此部分是在处理 doc88.com 才会加载的资源文件,此资源文件由该网站加载时提供
180180 */
181181 let path = "" ;
182182 const website$u = {
188188 ) ;
189189 GM_xmlhttpRequest ( {
190190 method : "GET" ,
191- url : "https://res3.doc88.com/resources/js/modules/main-v2.min.js?v=2.56 " ,
191+ url : "https://res3.doc88.com/resources/js/modules/main-v2.min.js?v=3.55 " ,
192192 onload : function ( response ) {
193193 const result = / \( " # c p _ t e x t a r e a " \) .v a l \( ( [ \S ] * ?) \) ; / . exec ( response . responseText ) ;
194194 if ( result )
Original file line number Diff line number Diff line change 22// @name 🔥🔥🔥文本选中复制🔥🔥🔥
33// @description 解除网站不允许复制的限制,文本选中后点击复制按钮即可复制,主要用于 百度文库 道客巴巴 腾讯文档 豆丁网 无忧考网 学习啦 蓬勃范文 思否社区 力扣 知乎 语雀 等
44// @namespace https://github.com/WindrunnerMax/TKScript
5- // @version 6.2.8
5+ // @version 6.2.9
66// @author Czy
77// @match *://wenku.baidu.com/view/*
88// @match *://wenku.baidu.com/share/*
Original file line number Diff line number Diff line change 66// @description :en Remove watermarks from common web pages
77// @description :zh 移除常见网页的水印
88// @namespace https://github.com/WindrunnerMax/TKScript
9- // @version 1.0.5
9+ // @version 1.0.6
1010// @author Czy
1111// @match http://*/*
1212// @match https://*/*
1313// @supportURL https://github.com/WindrunnerMax/TKScript/issues
1414// @license GPL License
1515// @installURL https://github.com/WindrunnerMax/TKScript
1616// @run -at document-start
17+ // @grant GM_addStyle
1718// @grant unsafeWindow
1819// ==/UserScript==
Original file line number Diff line number Diff line change 66// @description :en Remove watermarks from common web pages
77// @description :zh 移除常见网页的水印
88// @namespace https://github.com/WindrunnerMax/TKScript
9- // @version 1.0.5
9+ // @version 1.0.6
1010// @author Czy
1111// @match http://*/*
1212// @match https://*/*
1313// @supportURL https://github.com/WindrunnerMax/TKScript/issues
1414// @license GPL License
1515// @installURL https://github.com/WindrunnerMax/TKScript
1616// @run -at document-start
17+ // @grant GM_addStyle
1718// @grant unsafeWindow
1819// ==/UserScript==
1920( function ( ) {
6768 } ;
6869
6970 const injectCSSEarly = ( css ) => {
71+ if ( typeof GM_addStyle === "function" ) {
72+ GM_addStyle ( css ) ;
73+ return void 0 ;
74+ }
7075 const style = document . createElement ( "style" ) ;
7176 style . innerText = css ;
7277 const head = document . head ;
7378 if ( head ) {
7479 head . appendChild ( style ) ;
75- return ;
80+ return void 0 ;
7681 }
7782 const html = document . documentElement ;
7883 if ( html ) {
7984 html . appendChild ( style ) ;
80- return ;
85+ return void 0 ;
8186 }
8287 styles . insertCSS ( String ( Math . random ( ) ) , css ) ;
8388 } ;
You can’t perform that action at this time.
0 commit comments