Comments (3)
Hi,
thank you for your report. Unfortunately using window.location.replace(url) does not work for me, it has the same result as browser.tabs.update(), the back button is enabled. I'll see how useful bug 1397383 will be (thanks for filing!), maybe this will be the solution.
If it doesn't help I'll remove the newtab.html entry from the history. It's not a nice solution since it requires an additional permission but it's currently implemented in the development version [1] and it works.
[1]
newtaboverride/src/js/newtab.js
Line 77 in 49ebd5d
from newtaboverride.
Will be fixed in New Tab Override 9.0.
By the way: the new loadReplace option for browser.tabs.update() works for disabling the back button, but I still have to call browser.history.deleteUrl() afterwards because even with loadReplace: true there is an entry in the history.
from newtaboverride.
It's part of New Tab Override 9.0, released a few minutes ago.
from newtaboverride.
Related Issues (20)
- clear addressbar when new tab opens HOT 1
- Allow disabling new tab overriding. HOT 3
- `about:` sites as new tab HOT 1
- Clicking "New Tab" after Mozilla reload reverts to "New Tab Setting" HOT 1
- New Tab Override should default to https:// for URLs without protocol
- browser.extension.getURL() is deprecated
- browser_style manifest key is deprecated
- update the translation mechanism to the newest version
- remove code for old versions of New Tab Override
- enhancement: feedback error message if user tries to input an unsupported `protocol:// ` HOT 4
- use CSS Nesting
- make use of CSS variables for colors
- don't use background shorthand in CSS
- improve colors for better accessibility (a11y)
- Restarting manifest v3 extension removes its context menu entry
- add custom url option for about pages HOT 1
- It works,but I should write the URL again,again and again... HOT 7
- Request: Use Firefox Home Page and still have "Set focus to web page (search bar) instead of address bar HOT 4
- new feature
- It doesn't change the very very first private tab HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from newtaboverride.