I am trying to buil firefox search plugin something like instantfox. I already have it working in search bar with my search engine image. This is my first attempt so I am not sure how I can do this and google did not help me point in a right direction.
Is it possible to create search plugin that will work for both address bar and search bar. If yes then how I can do that? is there any properties in bootstrap file that I have to mention?
Depends on what you consider a "search plugin that work for both address bar and search bar"...
Starting with Firefox 23, the address bar will use the selected search engine for non-urls. See bug 738818. Before Firefox 23, this was controlled by the keyword.URL preference.
Also there are special bookmarks for keyword searches.
Lastly, you may implement nsIAutoCompleteSearch in an add-on and set the address-bar to use your implementation.
Related
I've been searching a lot for this but I didn't find any link that helped me.
I would like to hide/remove (just) the search bar (KQL) and the time control from it. I'm using ES/Kibana 8.0, for one specific Space/Dashboard/Role.
Here's what I want to remove:
PS: I already know about "embed=true&hide-filter-bar=true" but I would still like to have the top black menu and the side bar. And I also know about the css tricks.
I just find hard to believe that Kibana 8.0 doesn't have a more a direct way to remove these features from Dashboard/Space/Role (on any of these would do it), already searched in advanced settings and didn't find anything that helped.
Is there a way to change the behavior of the address bar in firefox 38?
I would like to be able to type in the bar and it autocomplete from google, instead of my history.
I no previously this was accomplished by changing keyword.url, but this no longer exists in the newer version of Firefox.
Is there a new method someone has found to achieve this?
I don't know if the source of the suggestions can be changed, but the default search engine can be changed by going to Settings>Customize>Search (on Android) or [Magnifying glass]>Change search settings (on desktop).
This might result in different suggestions. (I infer that you're using desktop, since Android Firefox seems to give decent suggestions, only the wrong search engine.)
I found these instructions out on https://duck.co/help/desktop/firefox by searching "how to make duckduckgo default search engine in firefox on android", on DuckDuckGo, in case you want to make further discoveries along the same route.
when I type some text at the url bar I see a few search engines available but the default one (the one used) when I press enter is verison, this is very annoying.
how can this be altered?
Do the:
about:config
In URL bar, find one that says something about search engine, and then change it to whatever you like.
I just saw that Firefox provides an great addon-builder SDK, but I can't find the information I need to start developing on the following simple addon:
Right under the internet address bar I would like to insert a content area that includes a website (that dynamically loads content).
Which API do I have to use to realize that content window?
There is no module for this, you'd have to look at the guts for the Widget module, fork it, and perhaps just change the default position to be in the nav-bar. Note in Fx25 or 26 the default position for the widget module will be in the nav bar, but the module is deprecated and something easier should be coming which is widget like.
I'd like to create an addon for Firefox that would enable me to search a particular site by selecting text on one site and choosing to search another site by selecting that option in the context menu.
I already have an extension like that in my browser - the Wikipedia Lookup extension. Basically, I want the exact same functionality but which will send the search text to a different site.
I'm completely new to Firefox addons, so can somebody tell me what's involved in this? Or point me at a site with a list of instructions to do a plugin like this? I can see examples on how to make a Hello World kind of plugin but I can't see how to extend that example into what I need. Thanks.
Have you considered opening the Wikipedia extension source and modifying the pointer from wikipedia.com to the other search site? This is assuming you're using Windows Vista or higher. The source code should be located at:
C:\Users\YourUserName\AppData\Roaming\Mozilla\Firefox\Profiles\xxxxxxxx.default\extensions\something#wikipedia.com\chrome\content
You would then have to modify the source code inside to change the pointer, and the POST variables string to match that of the site you will be using.
I hope this at least points you in the general direction!
-Alex