Zoeken in Support

Vermijd ondersteuningsscams. We zullen u nooit vragen een telefoonnummer te bellen, er een sms naar te sturen of persoonlijke gegevens te delen. Meld verdachte activiteit met de optie ‘Misbruik melden’.

Learn More

Deze conversatie is gearchiveerd. Stel een nieuwe vraag als u hulp nodig hebt.

How to clean urlbar? (from extension)

more options

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?

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?

Alle antwoorden (2)

more options

Add-on questions should be posted in the add-ons forum; https://discourse.mozilla-community.org/c/add-ons

more options

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.