为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

Can't search javascript injection bookmark in searchbar

  • 2 个回答
  • 1 人有此问题
  • 6 次查看
  • 最后回复者为 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
已附加屏幕截图

由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?

定位到答案原位置 👍 1

所有回复 (2)

more options

选择的解决方案

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