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 பதிலளிப்புகள்
  • 1 இந்த பிரச்சனை உள்ளது
  • 47 views
  • Last reply by three

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

three மூலமாக திருத்தப்பட்டது

தீர்வு தேர்ந்தெடுக்கப்பட்டது

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)

தீர்வு தேர்ந்தெடுக்கப்பட்டது

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?