File tree Expand file tree Collapse file tree
chatgpt/chatgpt-widescreen Expand file tree Collapse file tree Original file line number Diff line number Diff line change 235235// @description :zu Thuthukisa iChatGPT ngemodi zesikrini ezibanzi/egcwele/ephezulu + imodi yokuvimbela i-spam. Futhi isebenza ku-poe.com!
236236// @author Adam Lui
237237// @namespace https://github.com/adamlui
238- // @version 2025.9.24.2
238+ // @version 2025.9.24.3
239239// @license MIT
240240// @icon https://assets.chatgptwidescreen.com/images/icons/widescreen-robot-emoji/icon48.png?v=844b16e
241241// @icon 64 https://assets.chatgptwidescreen.com/images/icons/widescreen-robot-emoji/icon64.png?v=844b16e
296296 if ( location . hostname . includes ( 'git' ) ) {
297297 if ( location . pathname . includes ( 'chatgpt-widescreen' ) ) {
298298 const alertObserver = new MutationObserver ( ( ) => {
299- const alert = [ ...document . querySelectorAll ( '.markdown-alert' ) ]
299+ const perplexityAlert = [ ...document . querySelectorAll ( '.markdown-alert' ) ]
300300 . find ( alert => alert . textContent . includes ( 'Perplexity' ) )
301- if ( alert ) { alert . style . display = 'none' ; alertObserver . disconnect ( ) }
301+ if ( perplexityAlert ) { perplexityAlert . style . display = 'none' ; alertObserver . disconnect ( ) }
302302 } )
303303 alertObserver . observe ( document . body , { childList : true , subtree : true } )
304304 setTimeout ( ( ) => alertObserver . disconnect ( ) , 5000 ) // don't observe forever
You can’t perform that action at this time.
0 commit comments