Чтобы попробовать тысячи доступных здесь дополнений, загрузите Mozilla Firefox, быстрый, бесплатный способ веб-сёрфинга!Закрыть
Добро пожаловать в дополнения Firefox.
Выбирайте из тысяч дополнительных функций и стилей, чтобы настроить Firefox по своему вкусу.Закрыть
Context Search X 0.4.6.26 Требуется перезапуск
Добавляет к контекстному меню список поисковых систем и заданные системы, размещённые вне подменю. Включает строку поиска выделенного текста на текущем сайте. Позволяет использовать кнопки мыши и клавиши доступа. Целиком настраивается средствами GUI.
Об этом дополнении
This was based on Ben Basson's Context Search add-on at https://addons.mozilla.org/en-US/firefox/addon/context-search/. However, from version 0.4.6.3, the code was largely rewritten to suit my additional modifications.
Tip: To create custom search engines, you can use the Add to Search Bar add-on or use the forms at http://www.searchplugins.net/generate.aspx or http://ready.to/search/en/
1. The list of search engines is displayed in the context menu for searching selected text.
2. By default, most of the engines will be displayed in the submenu 'Search for "..."'.
3. Separators can be used to group engines.
1. Configuration GUI overlaid onto the "Manage Search Engines..." dialog to modify preferences (0.4.6.3+)
2. Specified items outside submenu (0.4.6+) or hidden (0.4.6.2+)
(default: Google, Wikipedia and The Free Dictionary are placed outside submenu)
3. Ability to change action of different mouse buttons and keyboard access-key activation (0.4.6.3+)
(default: current tab - right-click, new tab with foreground/background toggled (tab shift) - middle-click)
4. Site Search (additional item in submenu): Searches for selected text in current site using Google (0.4.6.2) or a specified engine (0.4.6.3+)
5. Menu item itself acts like the default context-menu item (default), or submits to a user-specified engine (0.4.6.2+)
6. Ability to edit labels of items outside submenu (0.4.6+) and items in submenu (0.4.6.3+)
7. Shortcut to configuration GUI from the submenu (0.4.6.3+)
8. Context menu can be pinned (i.e. kept open) for searches in background tabs, so that multiple searches can be executed at once, and can be toggled temporarily by pressing the space-bar in the context menu (0.4.6.4+) -- thanks to feedback from KJH23SJH99
9. Maximum selection length for submission to search engine can be modified (0.4.6.5+)
10. Holding the mouse button down until outline of menu item blinks will toggle enclosing selection in quotes (0.4.6.6+)
11. Hidden preference (about:config necessary) extensions.contextsearchx.showIcons allow icons to be shown in the top level context menu (0.4.6.6+) -- thanks to feedback from Точки над Ё
12. "Search for ..." menu item will now have the icon of the default engine (0.4.6.10+) -- thanks to feedback from Renato Silva and Eduard Braun
13. If there is no selection, the word under the cursor will be used instead (0.4.6.10+) -- thanks to feedback from Renato Silva
14. If all the engines in the submenu are hidden, the "Manage Search Engines..." will be placed outside the submenu and the submenu will be hidden (0.4.6.10+) -- thanks to feedback from Solotak
15. The hidden preference showIcons is now in the GUI (0.4.6.14+)
16. The new preferences of disableSubmenu, enableDefaultEngine, separatorBefore and separatorAfter allow minor tweaks of the context search menu (0.4.6.14+)
17. One can now enable clipboard use by turning on useClipboard, and holding shift while bringing up the context menu -- it is intentionally made unlikely to be accidentally triggered because of possible privacy issues (0.4.6.14+)
18. Holding Ctrl/Command/Win when triggering a search toggles background/foreground opening of new tabs (0.4.6+),
and also changes the mode to opening searches in new tabs (0.4.6.15+)
19. Alternate text or tooltip (alt/title attribute) is used when there is no selection or word under cursor, e.g. images (0.4.6.18+)
2. Deutsch -- by Boris Cornet (0.4.6.5+)
3. Русский -- by Точки над Ё (0.4.6.6+)
4. Português do Brasil -- by Renato Silva (0.4.6.11+)
5. Nederlands -- by Antonius32 (0.4.6.15+)
6. 中文 -- by Long Yu (0.4.6.20+)
7. Français -- by DenB (0.4.6.20+)
x. Depending on user requests, default buttons may be modified to align with Firefox's behavior for normal links, with a minor edit to allow shift-key to toggle tab focusing (please give some feedback on this)
x. The pin-popup feature can technically work with opening tabs in foreground, but might be irritating if you have the feature permanently enabled, and you have gotten used to the old behaviour
Hidden Preferences "extensions.contextsearchx.*":
(all modifiable with GUI in version 0.4.6.3+)
1. menuItems: (0.4.6+, new format in version 0.4.6.3+, but converts from previous version)
[|]enginename:[>]label:accesskeyseparated by comma. A sample menuItems preference is made default (Google, Wikipedia, The Free Dictionary would be brought outside the menu, and a separator is made before Amazon.com):
Google:$S:G,Wikipedia (en):Wikipedia:w,The Free Dictionary:$S:d,|Amazon.com
[|]enginename: Engine name with optional "|" in front to add a separator before item.
[>]label: The label to be used, with ">" in front to leave it in submenu. "$S" is replaced by the engine name. To hide the engine, enter a single ">". Leave it blank (same as ">$S") to keep it in submenu (default).
accesskey: The key to press on the keyboard to trigger the command when the menu/submenu is open.
2. hideStandardContextItem, quoteStringsWithSpaces (0.4.6+)
3. defaultEngine, siteSearchEngine, currentTabButton, tabShiftButton, beforeSubmenu (0.4.6.3+)
4. showIcons (0.4.6.6+)
5. disableSubmenu, enableDefaultEngine, separatorBefore, separatorAfter (0.4.6.14+)
6. Hidden: useAllSources - turns off feature 13 and 19 (0.4.6.19+)
1. Incompatibility with original add-on (0.4.6)
2. Separators outside sub-menu kept increasing in number (0.4.6.2 and earlier)
3. Failed to close menu after clicking on the sub-menu item using the default engine. (0.4.6.2)
4. Site Search could not be modified like a search engine from GUI (0.4.6.3)
5. Selection extraction from input controls did not trim whitespace characters (0.4.6.3)
6. Fixed bug with further overlays to the engine manager dialog -- thanks to feedback from Coldumbo (0.4.6.3)
7. Preference window size did not automatically increase to accommodate new buttons as its size persisted from previous engine manager sessions (0.4.6.3-0.4.6.4) -- thanks to feedback from Semisonic
8. Unicode search engine labels in the context menu was not supported (0.4.6.5 and earlier) -- thanks to feedback from Точки над Ё
9. Site Search item was not localised with the chosen locale (0.4.6.5 and earlier) -- thanks to feedback from Точки над Ё
10. The "Manage Engines..." menu item did not work with the search bar manually removed from the toolbar (0.4.6.6 and earlier) -- thanks to feedback from cmlx
11. If pin-popup is turned on, and you enclosed the search with quotes on-the-fly, it will not get reset (0.4.6.8 and earlier)
12. If an extension made by Scriptify is installed and enabled, triggering a search tab in the background might open two tabs (0.4.6.3-0.4.6.11) -- thanks to feedback from Jeff Moriva
a. One of them will be locked and exiting Firefox is the only way to close it (in fact, opening two tabs very quickly in any way causes this locking problem with Scriptify)
b. This bug-fix might also solve other problems involving two tabs opening for every search (but not the one due to the pin-popup feature)
13. If pin-popup is turned on, left/right-clicking an engine, if set to open tabs in background, might open two searches (0.4.6.4-0.4.6.12) -- thanks to feedback from Ken Schuster
a. This bug-fix should finally solve all problems associated with two search results opening
14. If hideStandardContextItem was switched off, the item always appeared even when there is no selected text. (0.4.6-0.4.6.13)
15. Incompatibility with multi-process Firefox (e10s) (0.4.6-0.4.6.17)
16. Incompatibility with Pale Moon (0.4.6-0.4.6.17)
17. Toggling quoting of strings (feature 10) did not force quotes for strings without spaces (0.4.6.6-0.4.6.17)
18. Strings without spaces were quoted with quoteStringsWithSpaces turned on (0.4.6.18)
19. The alt/title value was used in preference over the current word (0.4.6.18)
20. Right clicking on text from password fields displayed whatever password was selected (0.4.6-0.4.6.18)
21. The default search context menu item was sometimes not hidden when useAllSources was turned off (0.4.6.19)
22. Searching from password fields was still enabled, though asterisks were searched instead (0.4.6.19-0.4.6.20)
2. Added Japanese localisation
3. Extracted the search engine manager from the old version of Firefox so that it can still work in Firefox 43+
4. Link text is now searched for rather than current word, if on a link
5. Corrected bug in version 25 where linkText() was used and onLink was false, hence using previous link text, where current word was supposed to be used instead.