Proposal: Support loadReplace
for tabs.update()
#664
Labels
implemented: firefox
Implemented in Firefox
supportive: chrome
Supportive from Chrome
supportive: safari
Supportive from Safari
topic: navigation
Using an extension to navigate a web context.
Background
On Firefox, the
tabs.update()
function can have a loadReplace parameter, which allows developers to specify whether the new URL should replace the old URL in the tab's navigation history, like this:It's not implemented in other browsers. However, replacing the navigation history is a pretty common use case.
You can call
window.location.replace()
incontent.js
for sure, but it's still beneficial when you want to call it beforecontent.js
is loaded.Proposal
It would be great if this
loadReplace
parameter were standardized and extensions could specify it in Safari, Chrome, etc.Misc
The text was updated successfully, but these errors were encountered: