We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Can't search javascript injection bookmark in searchbar

  • 2 svar
  • 1 har dette problemet
  • 6 views
  • Siste svar av three

more options

Bookmark Detail


Name: Inject jQuery

Location: javascript:(function(e,s){e.src=s;e.onload=function(){jQuery.noConflict();console.log('jQuery injected')};document.head.appendChild(e);})(document.createElement('script'),'//code.jquery.com/jquery-latest.min.js')


But i can search in the bookmark manager! help

Bookmark Detail ----- Name: Inject jQuery Location: javascript:(function(e,s){e.src=s;e.onload=function(){jQuery.noConflict();console.log('jQuery injected')};document.head.appendChild(e);})(document.createElement('script'),'//code.jquery.com/jquery-latest.min.js') But i can search in the bookmark manager! help
Attached screenshots

Endret av three

Valgt løsning

Yes, it seems the address bar "autocomplete" function does not show bookmarklets (javascript: protocol addresses) as bookmark matches.

This will roll that back:

(1) In a new tab, type or paste about:config in the address bar and press Enter/Return. Click the button promising to be careful or accepting the risk.

(2) In the search box above the list, type or paste javas and pause while the list is filtered

(3) Double-click the browser.urlbar.filter.javascript preference to switch the value from true to false

Source: "Firefox blocks JavaScript in address bar by default" on gHacks Tech News.

Does that help?

Les dette svaret i sammenhengen 👍 1

All Replies (2)

more options

Valgt løsning

Yes, it seems the address bar "autocomplete" function does not show bookmarklets (javascript: protocol addresses) as bookmark matches.

This will roll that back:

(1) In a new tab, type or paste about:config in the address bar and press Enter/Return. Click the button promising to be careful or accepting the risk.

(2) In the search box above the list, type or paste javas and pause while the list is filtered

(3) Double-click the browser.urlbar.filter.javascript preference to switch the value from true to false

Source: "Firefox blocks JavaScript in address bar by default" on gHacks Tech News.

Does that help?

more options

Thanks bro, work :)