istador / old-search-fixed Goto Github PK
View Code? Open in Web Editor NEWOld Search Fixed 3 remembers the search engine selected by setting it as the default engine. Like before Firefox 43.
License: Mozilla Public License 2.0
Old Search Fixed 3 remembers the search engine selected by setting it as the default engine. Like before Firefox 43.
License: Mozilla Public License 2.0
The Search Bar Icon isn't updated, if the default search icon is changed somewhere else.
E.g.:
Test out this add-on with older Firefox versions and other forks to find out what the minimum supported version is exactly, so that the intall.rdf
can be updated accordingly.
Currently I only tested:
This feature, either triggered by the right-click context menu or by pressing the middle mouse button, is currently not changing the default search engine.
Introduce a new user option to control the behavior of it.
I'm new to Waterfox and I use WaterfoxPortable_56.2.12_English.
I installed old-search-fixed 3.0.3 and in it's Options turned on "Search Bar" but I can't see it working.
When I click another engine to search, default remains the same.
This add-on can't be added to AMO because they won't sign nor accept legacy add-ons anymore. They will drop all XPI files from there servers in October 2018, causing problems for other Firefox forks that use AMO for extensions.
Likewise, Thunderbird's add-on page (ATN?) accepts legacy add-ons, but won't sign nor accept add-ons that are for Firefox and Thunderbird.
Hopefully, Waterfox's legacy extensions database (BrowserWorks/Waterfox#303) will someday allow signing and submitting new add-ons.
Palemoon is hosting their own add-on database and is open for submissions, but this add-on wouldn't enrich it in any way, because they forked away before Firefox 43 changed the Search Bar for the worse.
How is IceCat's and Bisilisk's stand on legacy add-ons and hosting them?
There should be a free and independent extensions database that targets all browsers.
How difficult would it by to host that or develop a distributed solution?
Another thing to improve the current situation at least for my add-on, would be for me to self-sign the XPI release files. I haven't come around to install NSS on Ubuntu or Debian yet.
Offer selectable styles for the Search Bar popup menu.
Example with userChrome.css
:
https://www.jeffersonscher.com/gm/search-bar-names.html
(Problem: The same as in #3, but this might also be solvable by plain JavaScript manipulation, though not optimal.)
Currently, when a search engine is clicked on to select the default, the popup menu is closed.
For a better user experience, the popup should be left open.
The user should be able to change this behavior in the options (whether it should be open or closed after the click).
Technical:
The popup menu needs to be closed, because it's content isn't updated otherwise (the default search engine is displayed differently from the others, changing the default isn't updating the already opened popup menu).
When the popup menu is opened right after closing it, the click handler for the search engine is still executed and is trying to work on the old popup menu which results in an Error.
Maybe the popup's content can be updated manually, or the old popup can be hidden instead of closed, to prevent the Error.
By setting the Search Bar Icon manually via JavaScript the default browser behavior of it is overwritten:
These features should be available again when the Icon option of this extension is setted.
(Problem: How to introduce custom CSS rules for browser features beside from userChrome.css
? Maybe inserting a <style>
element in the browser's DOM?)
When this add-on is installed, and the browser is starting, the add-on exchanges the magnifier icon with an empty icon.
After changing the default search engine, or by disabling and enabling the Icon setting, it is working as intended.
The style for the element after starting the browser contains the following:
background-image: url("");
This indicated that the src attribute of BrowserSearch.searchBar
isn't initialized properly yet when the add-on is loaded.
Possible solution:
Set the icon again after browser-delayed-startup-finished
is triggered (currently the add-on prevents initializing the same window
twice, so it is ignored for already initialized window
s)
Also:
When BrowserSearch.searchBar
is empty or it can't find an icon for a search engine otherwise (e.g. Services.search.defaultEngine.iconURI.asciiSpec
), the add-on should fallback to the default browser's magnifier icon.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.