Skip to content

felixfrohboese/chrome-ext-chatgpt-newpage

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

This Chrome extension consists of two files: manifest.json and background.js. Here's a breakdown of what each file does:

  1. manifest.json: This file contains metadata about the extension and specifies its permissions and behavior.

  2. background.js: This is a service worker that runs in the background. It listens for the creation of new tabs and redirects them to ChatGPT if they're empty new tabs.

To use this extension:

  1. Create a new directory for your extension.
  2. Create the two files (manifest.json and background.js) in this directory with the content provided above.
  3. Open Chrome and go to chrome://extensions/.
  4. Enable "Developer mode" in the top right corner.
  5. Click "Load unpacked" and select the directory containing your extension files.

Now, when you open a new tab or window, it should automatically redirect to https://chat.openai.com.

Note: This extension will redirect all new tabs to ChatGPT. If you want to keep the ability to use regular new tabs sometimes, you might want to modify the extension to use a specific keyboard shortcut or add an icon that you can click to go to ChatGPT instead.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published