NumeriusNegidius / Context-Search

A Firefox WebExtension that displays a context menu, that searches for the selected text.
https://addons.mozilla.org/firefox/addon/context-search-we/
Mozilla Public License 2.0
32 stars 9 forks source link

Add a second wildcard alongside s% with the current domain #18

Open NumeriusNegidius opened 7 years ago

NumeriusNegidius commented 7 years ago

As per comment from Duncan Moore:

What if also %d (say) was replaced by the current domain name. The user could then manually edit the web addresses exactly as they like, for any search engines of their choice. For example, for a Google site search they'd change "%s" to "site:%d %s". This concept could be extended to %u (say) being replaced by the URL. It could then be used to send the whole page to Google Translate, HTML validation services etc. (In this case, the add-on would also need to work with the Context Menu you get when there's no text selection).