Giter VIP home page Giter VIP logo

old-search-fixed's People

Contributors

istador avatar

Watchers

 avatar  avatar

old-search-fixed's Issues

Search Bar Icon not updated

The Search Bar Icon isn't updated, if the default search icon is changed somewhere else.
E.g.:

  • Right click context menu: "Set As Default Search Engine"
  • Search browser settings

Research minVersion

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:

  • Waterfox 56.2.3 for Windows 64-bit
  • Firefox 56.0 for Linux 32-bit (56.0+build6-0ubuntu1 i386)
  • Firefox 56.? for Linux 64-bit (?)
  • Firefox 62.0 for Windows 64-bit (manually with the BrowserConsole, not as an add-on)

Search in new tab

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.

Doesn't work in Waterfox 56

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.

Publish to an external add-on database / self-sign

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.

Selecting a search engine closes the popup

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.

Search Bar Icon ::hover

By setting the Search Bar Icon manually via JavaScript the default browser behavior of it is overwritten:

  • The magnifier icon is normally a bit transparent, on mouseOver it gets opaque.
  • On mouseOver it also gets a little downward arrow to indicate the popup menu that can be opened.
  • Being on a website that offers a search engine, a green (+) icon is shown.

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?)

Search Bar Icon is missing at browser start

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 windows)

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.