File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
chatgpt/chatgpt-widescreen Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 235
235
// @description :zu Thuthukisa iChatGPT ngemodi zesikrini ezibanzi/egcwele/ephezulu + imodi yokuvimbela i-spam. Futhi isebenza ku-perplexity.ai + poe.com!
236
236
// @author Adam Lui
237
237
// @namespace https://github.com/adamlui
238
- // @version 2025.6.8.2
238
+ // @version 2025.6.9
239
239
// @license MIT
240
240
// @icon https://assets.chatgptwidescreen.com/images/icons/widescreen-robot-emoji/icon48.png?v=844b16e
241
241
// @icon 64 https://assets.chatgptwidescreen.com/images/icons/widescreen-robot-emoji/icon64.png?v=844b16e
806
806
}
807
807
}
808
808
809
- // Add RESIZE LISTENER to update full screen setting/button + disable F11 flag + update chatbar
809
+ // Add RESIZE LISTENER to update full screen setting/button + disable F11 flag + update widescreen/ chatbar styles
810
810
addEventListener ( 'resize' , ( ) => {
811
811
const fullscreenState = chatgpt . isFullScreen ( )
812
812
if ( config . fullscreen && ! fullscreenState ) { // exiting full screen
816
816
if ( env . site == 'chatgpt' ) chatbar . tweak ( ) // update chatgpt.com chatbar inner width
817
817
if ( config . widescreen ) {
818
818
styles . update ( { key : 'widescreen' } )
819
- if ( config . widerChatbox ) styles . update ( { key : 'chatbar' } )
819
+ if ( sites [ env . site ] . availFeatures . includes ( 'widerChatbox' ) && config . widerChatbox )
820
+ styles . update ( { key : 'chatbar' } )
820
821
}
821
822
} )
822
823
You can’t perform that action at this time.
0 commit comments