How to use with newtab.html?
See original GitHub issueMy use case is a new tab. In public/manifest.json I want to be able to add public/newtab.html so that:
"chrome_url_overrides": {
"newtab": "newtab.html"
},
and it to magically reload every time I make a change to src/App.js. It works if I change manifest.json to
"chrome_url_overrides": {
"newtab": "popup.html"
},
but I’d like the ability to have more than one file being watched/served, or to customise the one that is being watched/served.
Thanks
Issue Analytics
- State:
- Created 4 years ago
- Comments:9 (5 by maintainers)
Top Results From Across the Web
How to Use HTML to Open a Link in a New Tab - freeCodeCamp
It's easy to use HTML to open a link in a new tab. You just need an anchor ( <a> ) element with...
Read more >Open link in new tab or window - html - Stack Overflow
Using _blank will tell the browser to use a new tab/window, depending on the user's browser configuration and how they click on the...
Read more >The a target attribute - W3Schools Tryit Editor
The a target attribute ... Visit W3Schools.com! If you set the target attribute to "_blank", the link will open in a new browser...
Read more >How to Make Links Open in a New Window or Tab
How to Open Hyperlinks in a New Browser Tab or Window ... The short answer is: just add a target="_blank" attribute to your...
Read more >How To Use The <a> To Make Links & Open Them ... - HTML
a target=”_blank” Open in New Browser Tab (or Window) ... The target attribute specifies where the linked document will open when the link...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
The latest release of create-react-extension now supports the options.html page.
For those wanting to update to support the new options page, just update
react-browser-extension-scripts
to version4.0.10
and add the following files:public/options.html
(see template example)src/options/index.js
(see template example)src/options/Options.js
(see template example)This version might looks strange, I intend to follow the versions of react-scripts and add 0-9 for any specific
create-react-extension
features that are releasedHi @frenetix, thanks for asking. I haven’t been very active on this project recently. I will like to add support for this soon but don’t want to promise anything this week because I’ve just moved house. I will give another update by Friday 4th of September as this is a feature I think would widen how many people use this project (and therefore useful for others).
Still if anyone would like to add a PR, they are very welcome as well. I appreciate it might not be the most obvious thing to do without digging a bit deeper into the project and understanding how CRA works