File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
starters/chrome/extension Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -621,20 +621,20 @@ const chatgpt = {
621621 focusChatbar ( ) { chatgpt . getChatBox ( ) ?. focus ( ) ; } ,
622622
623623 footer : {
624- get ( ) { return document . querySelector ( 'main form' ) ?. parentNode . parentNode . nextElementSibling ; } ,
624+ get ( ) { return document . querySelector ( '.min-h-4' ) ; } ,
625625
626626 hide ( ) {
627627 const footer = chatgpt . footer . get ( ) ;
628628 if ( ! footer ) return console . error ( 'Footer element not found!' ) ;
629629 if ( footer . style . visibility == 'hidden' ) return console . info ( 'Footer already hidden!' ) ;
630- footer . style . visibility = 'hidden' ; footer . style . height = '3px ';
630+ footer . style . display = 'none ' ;
631631 } ,
632632
633633 show ( ) {
634634 const footer = chatgpt . footer . get ( ) ;
635635 if ( ! footer ) return console . error ( 'Footer element not found!' ) ;
636636 if ( footer . style . visibility != 'hidden' ) return console . info ( 'Footer already shown!' ) ;
637- footer . style . visibility = footer . style . height = 'inherit' ;
637+ footer . style . display = 'inherit'
638638 }
639639 } ,
640640
Original file line number Diff line number Diff line change 33 "name" : " ChatGPT Extension" ,
44 "short_name" : " ChatGPT 🧩" ,
55 "description" : " A Chromium extension template to start using chatgpt.js like a boss!" ,
6- "version" : " 2024.12.5 " ,
6+ "version" : " 2024.12.7 " ,
77 "author" : " KudoAI" ,
88 "homepage_url" : " https://github.com/KudoAI/chatgpt.js-chrome-starter" ,
99 "icons" : {
You can’t perform that action at this time.
0 commit comments