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!

본 사이트는 여러분의 사용자 경험을 개선하기 위해 유지 보수를 진행하는 동안 기능이 제한됩니다. 도움말로 문제가 해결되지 않고 질문을 하고 싶다면 Twitter의 @FirefoxSupport 및 Reddit의 /r/firefox 채널을 활용하세요.

Mozilla 도움말 검색

고객 지원 사기를 피하세요. 저희는 여러분께 절대로 전화를 걸거나 문자를 보내거나 개인 정보를 공유하도록 요청하지 않습니다. "악용 사례 신고"옵션을 사용하여 의심스러운 활동을 신고해 주세요.

자세히 살펴보기

Bookmark folders icon

  • 4 답장
  • 1 이 문제를 만남
  • 11 보기
  • 최종 답변자: THESERG

more options

Before Firefox 37, to set a custom icon for bookmarks *folder* I was using this trick in userChrome.css:

.bookmark-item[container="true"][label="Wikipedia"] { list-style-image: url('file:///C:/FirefoxPortable/Icons/wikipedia.ico') !important; -moz-image-region: rect(0px 16px 16px 0px) !important; }

However, after the upgrade to FF 37, it stopped working. How to fix it?

Thanks

Before Firefox 37, to set a custom icon for bookmarks *folder* I was using this trick in userChrome.css: .bookmark-item[container="true"][label="Wikipedia"] { list-style-image: url('file:///C:/FirefoxPortable/Icons/wikipedia.ico') !important; -moz-image-region: rect(0px 16px 16px 0px) !important; } However, after the upgrade to FF 37, it stopped working. How to fix it? Thanks

선택된 해결법

This add-on did the trick for me: Bookmark Favicon Changer

문맥에 따라 이 답변을 읽어주세요 👍 0

모든 댓글 (4)

more options

Did you verify that the icon is still there by opening the icon in a Firefox tab?

Did you check in the DOM Inspector that Firefox is using the userChrome.css and finds this rule?

Does other code in the userChrome.css file still work?

Any errors in the Browser Console (Firefox/Tools > Web Developer) about this?

more options

Hi cor-el, thanks for your reply

Icon(s) is/are there, I checked this by copy-pasting url.

How to check whether userChrome.css is used?

Here are the errors from the console: Could not read chrome manifest 'file:///C:/FirefoxPortable/App/firefox/chrome.manifest'. Could not read chrome manifest 'file:///C:/FirefoxPortable/Data/profile/extensions/hunspell-ru@dictionaries.addons.mozilla.org/chrome.manifest'. Could not read chrome manifest 'file:///C:/FirefoxPortable/App/firefox/browser/extensions/%7B972ce4c6-7e08-4474-a285-3208198ce6fd%7D/chrome.manifest'. No chrome package registered for chrome://smartbookmarksbar/skin/global/base.css No chrome package registered for chrome://smartbookmarksbar/skin/global/mouseover-off.css No chrome package registered for chrome://smartbookmarksbar/skin/global/hideFoldersNames-off.css No chrome package registered for chrome://smartbookmarksbar/skin/global/hideNoFaviconNames-off.css No chrome package registered for chrome://smartbookmarksbar/skin/global/spacing-3.css No chrome package registered for chrome://smartbookmarksbar/skin/global/autohideBar-off.css No chrome package registered for chrome://smartbookmarksbar/skin/themes/firefoxDefault.css No chrome package registered for chrome://smartbookmarksbar/skin/themes/firefoxDefault_mouseover-off.css No chrome package registered for chrome://smartbookmarksbar/skin/themes/firefoxDefault_mouseover-off_hideNoFaviconNames-off.css No chrome package registered for chrome://smartbookmarksbar/skin/global/base.css No chrome package registered for chrome://smartbookmarksbar/skin/global/mouseover-off.css No chrome package registered for chrome://smartbookmarksbar/skin/global/hideFoldersNames-off.css No chrome package registered for chrome://smartbookmarksbar/skin/global/hideNoFaviconNames-off.css No chrome package registered for chrome://smartbookmarksbar/skin/global/spacing-3.css No chrome package registered for chrome://smartbookmarksbar/skin/global/autohideBar-off.css No chrome package registered for chrome://smartbookmarksbar/skin/themes/firefoxDefault.css No chrome package registered for chrome://smartbookmarksbar/skin/themes/firefoxDefault_mouseover-off.css No chrome package registered for chrome://smartbookmarksbar/skin/themes/firefoxDefault_mouseover-off_hideNoFaviconNames-off.css JavaScript 1.6's for-each-in loops are deprecated; consider using ES6 for-of instead ScriptSurrogate.js:344:1634 No chrome package registered for chrome://forcecontenttype/chrome/skin/forcecontenttype.css Force Content-Type: observer added S4E Calling updateWindow: {985837b9-7da5-4d18-9543-53a78b83ad56} Key event not available on some keyboard layouts: key="j" modifiers="control alt shift" browser.xul Key event not available on some keyboard layouts: key="j" modifiers="control alt" browser.xul Key event not available on some keyboard layouts: key="p" modifiers="accel,alt" browser.xul Key event not available on some keyboard layouts: key="c" modifiers="accel,alt" browser.xul [ABE WAN] Detected WAN IP 24.16.21.189 JavaScript 1.6's for-each-in loops are deprecated; consider using ES6 for-of instead ScriptSurrogate.js:343:198 Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help http://xhr.spec.whatwg.org/ utils.js:37:0 JavaScript 1.6's for-each-in loops are deprecated; consider using ES6 for-of instead ScriptSurrogate.js:345:1634 not well-formed messages.json:1:1 JavaScript 1.6's for-each-in loops are deprecated; consider using ES6 for-of instead ScriptSurrogate.js:344:209 push1.push.hello.firefox.com : server does not support RFC 5746, see CVE-2009-3555 <unknown> mutating the Prototype of an object will cause your code to run very slowly; instead create the object with the correct initial Prototype value using Object.create sync.js:112:4 1428164415567 Services.HealthReport.HealthReporter WARN No prefs data found. This site makes use of a SHA-1 Certificate; it's recommended you use certificates with signature algorithms that use hash functions stronger than SHA-1.[Learn More] 1055701 JavaScript 1.6's for-each-in loops are deprecated; consider using ES6 for-of instead ScriptSurrogate.js:344:209 "JQMIGRATE: Logging is active" common-min.932386b591b6.js:5:29009 about:blank : Unable to run script because scripts are blocked internally. <unknown> "JQMIGRATE: jQuery.browser is deprecated" common-min.932386b591b6.js:5:29350 console.trace(): common-min.932386b591b6.js:5 migrateWarn() common-min.932386b591b6.js:5 migrateWarnProp/<.get() common-min.932386b591b6.js:5 <anonymous> questions-min.feba4198166a.js:3 x.Callbacks/c() common-min.932386b591b6.js:3 x.Callbacks/p.fireWith() common-min.932386b591b6.js:3 .ready() common-min.932386b591b6.js:3 q() common-min.932386b591b6.js:3

more options

Nothing unusual there that is about the userChrome.css file. I do see some errors with extensions like 'smartbookmarksbar' however that could be involved.

Did you try to disable all extensions to check for possible issues? Note that Safe Mode disables userChrome.css as well.

more options

선택된 해결법

This add-on did the trick for me: Bookmark Favicon Changer