Browser.urlbar.filter.javascript

From MozillaZine Knowledge Base
Jump to navigationJump to search

Background

Bookmarklets create history entries which can then appear in the Location Bar’s autocomplete dropdown. To prevent this, the Location Bar will filter out any URL starting with “javascript:”. This option is toggleable via this preference.

Possible values and their effects

True

Filter out “javascript:” URLs from appearing in the Location Bar autocomplete dropdown. (Default)

False

Allow “javascript:” URLs to appear in the dropdown.

First checked in

2008-02-23 by Edward Lee

Has an effect in

  • Firefox (nightly builds since 2008-02-23)

Related bugs