ChatGPT icon indicating copy to clipboard operation
ChatGPT copied to clipboard

[Feature] UserScript Support

Open ShroomKing opened this issue 3 years ago • 4 comments

Feature description

I was wondering how complicated it would be to implement support for loading UserScripts into the webpage?

Motivation

In my browser I use the ChatGPT-Widescreen UserScript which pretty much eliminates the need to scroll horizontally(very annoying)

I just found out about your app, and I like it but the only thing that is keeping me from using it is the missing widescreen support

Additional context

Here's a screenshot of my browser with widescreen enabled: widescreen

And the default openAI layout in your app: no_widescreen

As you can see, tons of space is wasted/unused.

ShroomKing avatar May 27 '23 12:05 ShroomKing

Hello, this limitation comes from the web structure of OpenAI. If you want it to fill the screen, you can write a script to override the default style in Control Center -> Scripts -> main.js.

Screenshot 2023-05-28 at 01 45 28

lencx avatar May 27 '23 17:05 lencx

Hello, this limitation comes from the web structure of OpenAI. If you want it to fill the screen, you can write a script to override the default style in Control Center -> Scripts -> main.js.

Screenshot 2023-05-28 at 01 45 28

Awesome thanks for the reply I didn't think of that.

Any idea why my Control Center is Blank?(Empty White Screen) I compiled using cargo build --release (Intel macOS Host)

ShroomKing avatar May 28 '23 11:05 ShroomKing

#941 similar request

The maker of the script that the OP mentioned also makes these following scripts:

ChatGPT Auto Refresh auto refresh - automatically click "regenerate request" when it errors out https://github.com/adamlui/chatgpt-auto-refresh image

ChatGPT Auto-Continue auto continue - automatically click "continue generating" with code https://github.com/adamlui/chatgpt-auto-continue image

These would be a perfect addition. I noticed there's a scripts section in Control Center of the app, but if you add custom scripts to the scripts directory, it doesn't pick it up, maybe there is a way without modifying the existing scripts?

I'd love to see this as a feature (add user scripts) so users could install and customize the install.

Alternatively if you have an option to automatically click those options that would be great. I use the app for code generation a lot and encounter these issues above multiple times a day. 😊

Love the app, thanks lencx!

asheroto avatar Jun 17 '23 06:06 asheroto

I'd also love a feature to add your own scripts, as editing main.js will mean losing all your changes whenever it gets updated on github.

ale-benassi avatar Aug 05 '23 14:08 ale-benassi