File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1313// @description :zh-TW 阻止 AI + Quora 的推廣/贊助答案
1414// @author Adam Lui
1515// @namespace https://github.com/adamlui
16- // @version 2026.7.28.4
16+ // @version 2026.7.29
1717// @license MIT
1818// @icon https://cdn.jsdelivr.net/gh/adamlui/userscripts@f3e6bf0/assets/images/icons/sites/quora/icon64.png
1919// @match *://*.quora.com/*
846846
847847 update ( { key, append } ) { // requires dom.js
848848 if ( ! key ) return console . error ( 'Option \'key\' required by styles.update()' )
849- const style = this [ key ] ; style . node ||= dom . create . style ( )
849+ const style = this [ key ]
850+ ; ( style . node ||= dom . create . style ( ) ) . textContent = style . css
850851 if ( ( append ?? style . append ) && ! style . node . isConnected ) document . head . append ( style . node )
851- style . node . textContent = style . css
852852 } ,
853853
854854 tweaks : {
You can’t perform that action at this time.
0 commit comments