Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to Remove NewTab Redirect #180

Open
loganfarrow opened this issue Jul 14, 2023 · 2 comments
Open

Unable to Remove NewTab Redirect #180

loganfarrow opened this issue Jul 14, 2023 · 2 comments

Comments

@loganfarrow
Copy link

loganfarrow commented Jul 14, 2023

For some reason, I am unable to remove the new tab override from the extension even after follow these steps. Any help is appreciated greatly.

I have removed this from webpack.config.js:

newtab: path.join(__dirname, 'src', 'pages', 'Newtab', 'index.jsx'),
new HtmlWebpackPlugin({
  template: path.join(__dirname, 'src', 'pages', 'Newtab', 'index.html'),
  filename: 'newtab.html',
  chunks: ['newtab'],
  cache: false,
}),

Also, this from manifest.json:

"chrome_url_overrides": {
  "newtab": "newtab.html"
},

Other steps I've taken:

  1. I've removed the extension from Chrome.
  2. Ran $ NODE_ENV=production npm run build.
  3. Ran npm run build.
  4. Ran npm start.
  5. Added extension back to Chrome and still getting redirect. Removing pages/newtab gives a compilation error.
@alex-oleks
Copy link

have you solved your problem? Because I also struggle with it

@congdv
Copy link

congdv commented Nov 10, 2023

Somehow it was working for me with above steps without removing pages/newtab

I restarted my chrome after rebuilding the project and it worked for me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants