How to clean urlbar? (from extension)
I want to create extension which will clear the urlbar after visiting some sites (for personal use). I predicted to use Window.location API, and write blank string, but it's read-only. What API's i should use for it?
Все ответы (2)
Add-on questions should be posted in the add-ons forum; https://discourse.mozilla-community.org/c/add-ons
Firefox has extension APIs to clear history; I'm sure there already are extensions to clear history by site, or for various periods of time. However, the autofill feature (the feature that suggests top level site addresses directly in the address bar) might not be so easy to clear, so in general, it is better to use a private window for sites you don't want in your history.