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 replies
  • 1 has this problem
  • 6 views
  • Last reply by 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

Modified by three

Chosen solution

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?

Read this answer in context 👍 1

All Replies (2)

more options

Chosen Solution

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 :)