-
-
Notifications
You must be signed in to change notification settings - Fork 97
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
Field chrome_url_overrides persists in browser profile even after removal #149
Comments
hi @ApacheAlpha thanks for reporting! it seems a cache thing. what happens when you reload the extension in the browser? |
@ApacheAlpha I did several updates to the project since the last message. Could you try again and let me know if it is still broken? Also, new template names in v2 https://extension.js.org/docs/getting-started/templates |
hey @ApacheAlpha thanks for kind words and the detailed write-up, it ended up being the very issue you found and I'm happy to say it's fixed in the current release 👍 let me know how it goes on your end! |
Thank you for your hard work. After my test, I found that the problem has not been solved. My execution process is as follows. The first step is to execute the command:
The second step is to open the project file and execute the command: The third step is to delete the project configuration file:
Use Ctrl + C to stop the project then execute the command: When I open a new tab ,The problems mentioned above still exist Sorry, I mean no harm. New findings I found that if I delete the |
thanks again @ApacheAlpha, that's an interesting behavior. not sure the fix yet but will update the issue title to reflect the current bug. |
Implementation process
When I create a new project using the template command:
npx extension create test-extensions-tem --template=tailwind
I don't need a page to overlay the Google Chrome homepage,So I deleted the chrome_url_overrides configuration in the manifest.json file
Before deletion
{ "manifest_version": 3, "version": "1.0", "name": "test-extensions-tem", "description": "An extension template using Tailwind. This template includes a new tab override.", "icons": { "16": "public/icons/icon_16.png", "48": "public/icons/icon_48.png" }, "chrome_url_overrides": { "newtab": "newtab/index.html" } }
After deletion
{ "manifest_version": 3, "version": "1.0", "name": "test-extensions-tem", "description": "An extension template using Tailwind. This template includes a new tab override.", "icons": { "16": "public/icons/icon_16.png", "48": "public/icons/icon_48.png" } }
After deleting it, I restarted the entire project. When I opened a new tab, it prompted:
无法访问您的文件该文件可能已被移至别处、修改或删除。ERR_FILE_NOT_FOUND
==Unable to access your file The file may have been moved, modified, or deleted. ERR_FILE_NOT_FOUND
Why can't I delete the chrome_url_overrides configuration? How can I solve this problem?
The text was updated successfully, but these errors were encountered: