
나는 태그가 많이 달린 북마크 컬렉션을 가지고 있는데 태그로 검색하는 것이 URL, 제목, 기록으로 검색하는 것보다 훨씬 더 관련성이 높습니다. 태그를 우선순위로 설정하여 주소 표시줄에 입력하면 일치하는 태그가 먼저 표시되도록 하는 방법이 있나요?
답변1
http://kb.mozillazine.org/Location_Bar_search
사용자 정의 가능한 문자를 사용하여 드롭다운 목록에 표시되는 결과 종류를 제한할 수 있습니다. 표시되는 결과를 제한하려면 주소 표시줄의 아무 곳에나 공백으로 구분된 문자를 포함하십시오. 문자는 다음과 같습니다:
Preference names in about:config default key action
browser.urlbar.match.title # Returns results that match the text in the title.
browser.urlbar.match.url @ Returns results that match the text in the URL.
browser.urlbar.restrict.bookmark * Returns only results that are from the bookmarks.
browser.urlbar.restrict.history ^ Returns only results that are from the browser’s history.
browser.urlbar.restrict.tag + Returns only results that have been tagged.
browser.urlbar.restrict.typed ~ Returns only results that have been typed.
browser.urlbar.restrict.openpage % Returns only open tabs (visible tabs, not active tab), available in Firefox 4 (SeaMonkey 2.1) and later
또한 위치 표시줄의 일반적인 자동 완성(AwesomeBar) 검색 동작을 사용자 정의하려면 browser.urlbar.default.behavior를 참조하세요. 일반적인 것은 텍스트 문자열을 검색하는 것이지만 단어 경계를 요구하도록 변경될 수 있습니다.
이렇게 하면 적어도 공개적으로 모든 것을 검색하는 대신 태그로 검색할 수 있습니다. 을 사용하면 * tag
이름과 태그로 북마크를 검색할 수 있지만 결과의 순서는 중요하지 않은 것 같습니다. + tag
태그에 대한 모든 결과가 나열됩니다.