Giter Club home page Giter Club logo

google-search-fixer's People

Contributors

makotokato avatar rob--w avatar wisniewskit avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

google-search-fixer's Issues

Strange auto-selecting of search results

As reported in mozilla-mobile/fenix#23058, it appears after issuing a search in the URL bar, the search results page will automatically act as though the user has tapped on a random (?) search result. I'm currently unable to reproduce this on my phone, so I'm hoping to find out if other addons might also be active, or even an A/B test Google might be running (since I've only received two reports of this over the past week, and I would expect more if it was consistently happening).

Google's dark theme from Google Search Fixer addon is not kept when Desktop site mode is enabled

Originally moved from mozilla-mobile/fenix#26387
and moved again from https://bugzilla.mozilla.org/show_bug.cgi?id=1784005

Steps to reproduce

1. From Settings > Add-ons, enable Google Search Fixer.

2. Go to google.com.

3. From the bottom on the page, enable the Dark theme (Dark theme: on).

4. Tap the 3-dot menu and enable the Desktop site mode.

5. Observe the theme on the webpage.

Expected behaviour

When Desktop site mode in enabled, the dark theme remains enabled.

Actual behaviour

When Desktop site mode in enabled, the dark theme is replaced by light theme.

Device name

Lenovo Yoga Tab 11

Android version

Android 11

Firefox release type

Firefox Nightly

Firefox version

Nightly 105.0a1 from 08/08.

Device logs

No response

Additional information

Also reproducible on Beta and RC. https://user-images.githubusercontent.com/89388888/183678028-7a4e5e60-1b44-46f0-b7d4-ddca8e360273.mp4

┆Issue is synchronized with this Jira Task

Extension causes Google search 502 errors

I get 502 errors on most searches (seems to work for one request after waiting a while). Disabling the extension fixes the issue.

I will note that my URL begins with this, which may be relevant:
https://www.google.com/search?client=firefox-b-1-m

My browser is Firefox mobile. I have not tested any others.

125.3.0 (Build #2016017559), 9f29904153+
GV: 125.0.3-20240425211020
AS: 125.0.1

Screenshot_20240501_110053_Firefox

[Bug] Close and voice button on the right of a search is missing

Earlier when you search something, there would be a voice interface icon on the right.
When typing, there would be a similar cross/close button on the right end to clear all text.
Both of these seem to be missing in the present Fenix Beta as well as Nightly. It was definitely still available till a few days ago.

Missing voice interface button:
Screenshot_20201012-220654__01__01

Missing 'X' close button:
Screenshot_20201010-100231__01__01

For some reason, the cross is present when on the Images category.
Screenshot_20201012-220725__01__01

Is it an error on my device or has this been changed?

Device: Oneplus 7, Android 10

Edit:
Voice interface button is present when reloaded, but quickly dissappears
ezgif com-video-to-gif

Please publish on the edge addons store

A month ago a developer option for Edge Canary on Android was rolled out that allows installing extensions via store ID or crx. Myself and likely many others would like to make use of this extension if you'd be willing to port it.

Replace "Access your data for all websites" permission with google TLD permissions

The extension currently requests the "Access your data for all websites" permission. While the initial implementation required that, the latest version (from #11) does not. We should check if Firefox for Android (Fenix) is able to cope with almost 200 domains in the permission lists (and if reducing the permission does not trigger new warnings, and that we don't need other host permissions). If it works, we can replace

with the list of host permissions at

"matches": [
"*://*.google.com/*",
"*://*.google.ac/*",
"*://*.google.ad/*",
"*://*.google.ae/*",
"*://*.google.com.af/*",
"*://*.google.com.ag/*",
"*://*.google.com.ai/*",
"*://*.google.al/*",
"*://*.google.am/*",
"*://*.google.co.ao/*",
"*://*.google.com.ar/*",
"*://*.google.as/*",
"*://*.google.at/*",
"*://*.google.com.au/*",
"*://*.google.az/*",
"*://*.google.ba/*",
"*://*.google.com.bd/*",
"*://*.google.be/*",
"*://*.google.bf/*",
"*://*.google.bg/*",
"*://*.google.com.bh/*",
"*://*.google.bi/*",
"*://*.google.bj/*",
"*://*.google.com.bn/*",
"*://*.google.com.bo/*",
"*://*.google.com.br/*",
"*://*.google.bs/*",
"*://*.google.bt/*",
"*://*.google.co.bw/*",
"*://*.google.by/*",
"*://*.google.com.bz/*",
"*://*.google.ca/*",
"*://*.google.cd/*",
"*://*.google.cf/*",
"*://*.google.cg/*",
"*://*.google.ch/*",
"*://*.google.ci/*",
"*://*.google.co.ck/*",
"*://*.google.cl/*",
"*://*.google.cm/*",
"*://*.google.cn/*",
"*://*.google.com.co/*",
"*://*.google.co.cr/*",
"*://*.google.com.cu/*",
"*://*.google.cv/*",
"*://*.google.com.cy/*",
"*://*.google.cz/*",
"*://*.google.de/*",
"*://*.google.dj/*",
"*://*.google.dk/*",
"*://*.google.dm/*",
"*://*.google.com.do/*",
"*://*.google.dz/*",
"*://*.google.com.ec/*",
"*://*.google.ee/*",
"*://*.google.com.eg/*",
"*://*.google.es/*",
"*://*.google.com.et/*",
"*://*.google.fi/*",
"*://*.google.com.fj/*",
"*://*.google.fm/*",
"*://*.google.fr/*",
"*://*.google.ga/*",
"*://*.google.ge/*",
"*://*.google.gg/*",
"*://*.google.com.gh/*",
"*://*.google.com.gi/*",
"*://*.google.gl/*",
"*://*.google.gm/*",
"*://*.google.gp/*",
"*://*.google.gr/*",
"*://*.google.com.gt/*",
"*://*.google.gy/*",
"*://*.google.com.hk/*",
"*://*.google.hn/*",
"*://*.google.hr/*",
"*://*.google.ht/*",
"*://*.google.hu/*",
"*://*.google.co.id/*",
"*://*.google.ie/*",
"*://*.google.co.il/*",
"*://*.google.im/*",
"*://*.google.co.in/*",
"*://*.google.iq/*",
"*://*.google.is/*",
"*://*.google.it/*",
"*://*.google.je/*",
"*://*.google.com.jm/*",
"*://*.google.jo/*",
"*://*.google.co.jp/*",
"*://*.google.co.ke/*",
"*://*.google.com.kh/*",
"*://*.google.ki/*",
"*://*.google.kg/*",
"*://*.google.co.kr/*",
"*://*.google.com.kw/*",
"*://*.google.kz/*",
"*://*.google.la/*",
"*://*.google.com.lb/*",
"*://*.google.li/*",
"*://*.google.lk/*",
"*://*.google.co.ls/*",
"*://*.google.lt/*",
"*://*.google.lu/*",
"*://*.google.lv/*",
"*://*.google.com.ly/*",
"*://*.google.co.ma/*",
"*://*.google.md/*",
"*://*.google.me/*",
"*://*.google.mg/*",
"*://*.google.mk/*",
"*://*.google.ml/*",
"*://*.google.com.mm/*",
"*://*.google.mn/*",
"*://*.google.ms/*",
"*://*.google.com.mt/*",
"*://*.google.mu/*",
"*://*.google.mv/*",
"*://*.google.mw/*",
"*://*.google.com.mx/*",
"*://*.google.com.my/*",
"*://*.google.co.mz/*",
"*://*.google.com.na/*",
"*://*.google.com.nf/*",
"*://*.google.com.ng/*",
"*://*.google.com.ni/*",
"*://*.google.ne/*",
"*://*.google.nl/*",
"*://*.google.no/*",
"*://*.google.com.np/*",
"*://*.google.nr/*",
"*://*.google.nu/*",
"*://*.google.co.nz/*",
"*://*.google.com.om/*",
"*://*.google.com.pa/*",
"*://*.google.com.pe/*",
"*://*.google.com.pg/*",
"*://*.google.com.ph/*",
"*://*.google.com.pk/*",
"*://*.google.pl/*",
"*://*.google.pn/*",
"*://*.google.com.pr/*",
"*://*.google.ps/*",
"*://*.google.pt/*",
"*://*.google.com.py/*",
"*://*.google.com.qa/*",
"*://*.google.ro/*",
"*://*.google.ru/*",
"*://*.google.rw/*",
"*://*.google.com.sa/*",
"*://*.google.com.sb/*",
"*://*.google.sc/*",
"*://*.google.se/*",
"*://*.google.com.sg/*",
"*://*.google.sh/*",
"*://*.google.si/*",
"*://*.google.sk/*",
"*://*.google.com.sl/*",
"*://*.google.sn/*",
"*://*.google.so/*",
"*://*.google.sm/*",
"*://*.google.sr/*",
"*://*.google.st/*",
"*://*.google.com.sv/*",
"*://*.google.td/*",
"*://*.google.tg/*",
"*://*.google.co.th/*",
"*://*.google.com.tj/*",
"*://*.google.tk/*",
"*://*.google.tl/*",
"*://*.google.tm/*",
"*://*.google.tn/*",
"*://*.google.to/*",
"*://*.google.com.tr/*",
"*://*.google.tt/*",
"*://*.google.com.tw/*",
"*://*.google.co.tz/*",
"*://*.google.com.ua/*",
"*://*.google.co.ug/*",
"*://*.google.co.uk/*",
"*://*.google.com.uy/*",
"*://*.google.co.uz/*",
"*://*.google.com.vc/*",
"*://*.google.co.ve/*",
"*://*.google.vg/*",
"*://*.google.co.vi/*",
"*://*.google.com.vn/*",
"*://*.google.vu/*",
"*://*.google.ws/*",
"*://*.google.rs/*",
"*://*.google.co.za/*",
"*://*.google.co.zm/*",
"*://*.google.co.zw/*",
"*://*.google.cat/*",
"*://*.google.ng/*"
]

ability to disable AMP in google link

With this add-ons enabled now I can get the google search image working great, and everything is ok, but the biggest issue is that this also enable the use of google amp for some of the search result , is it possible to add a setting to disable the use of amp???

Thanks

Broken `RunningAndroidVersion` regex can cause web-compat issue

Bug

Source

const RunningFirefoxVersion = (navigator.userAgent.match(/Firefox\/([0-9.]+)/) || ["", "58.0"])[1];
const RunningAndroidVersion = navigator.userAgent.match(/Android\/[0-9.]+/) || "Android 6.0";
const ChromeMajorVersionToMimic = `${parseInt(RunningFirefoxVersion) + 4}.0.0.0`;
const ChromePhoneUA = `Mozilla/5.0 (Linux; ${RunningAndroidVersion}; Nexus 5 Build/MRA58N) FxQuantum/${RunningFirefoxVersion} AppleWebKit/537.36 (KHTML, like Gecko) Chrome/${ChromeMajorVersionToMimic} Mobile Safari/537.36`;
const ChromeTabletUA = `Mozilla/5.0 (Linux; ${RunningAndroidVersion}; Nexus 7 Build/JSS15Q) FxQuantum/${RunningFirefoxVersion} AppleWebKit/537.36 (KHTML, like Gecko) Chrome/${ChromeMajorVersionToMimic} Safari/537.36`;

Firefox UA string example

Mozilla/5.0 (Android 10; Mobile; rv:102.0) Gecko/102.0 Firefox/102.0

Description

The regex /Android\/[0-9.]+/ does not match Firefox UA and Google Search Fixer always use Android 6.0.

Actual case of web-compat issue

STR

  1. Install Google Search Fixer
  2. Open https://www.google.com/search?hl=en&q=tiger

Expected result

The 3D result for Bengal tiger is available.

Screenshot

Screenshot1

Actual result

The 3D result does not displayed.

Screenshot

Screenshot2

Cause

This feature is limited to Android 7 and up.
https://support.google.com/websearch/answer/9817187

Experience 3D & augmented reality in Search

When you search on Google, you can view some results in 3D and augmented reality (AR).

What you need

Removing the addon does not restore default values

I tried to remove the addon since I don't like the changed search page. Removing the addon and restarting FF does not reset the user agent. FireFox 68.0.2 (64-bit)

How can I reset the user agent string to defaults?

Refreshing on Android does not switch to dark mode.

I'm using Firefox Nightly 119.0a1 for Android, but when I refresh the Google search results, it switches to dark mode and gets fixed, but even if it switches to dark mode somewhere, it doesn't get fixed and resets to light mode.

support for MV3

With webRequest api being replaced with declarativeNetRequest in Manifest V3. Creation of a MV3 version will be great

Extension permission

Hello, I want to ask why this extension needs to access data for all websites, instead of just access data for google.com?
Thank you.

Clear search box (X) icon disappears on firefox android

As soon as page load finishes, the icon at the right of the search box disappears (even the voice search icon). Checked after disabling all other addons.

Icon shows up correctly if search fixer is disabled, i.e., on old google interface.

problem with 20 results on first page!

I have set my google settings to 20 results instead of default 10 results.

Problem with the add-on is that after pressing "load more" it shows duplicate results (second 10 results from the first page)

Content corrupted errors are suddenly happening when searching.

Upon investigation, Google has apparently just enabled a service worker for Chrome for Android 62 and up, and that service worker is not standards-compliant. It triggers the following error, which causes the searches to end up "corrupted":

Failed to load ‘https://www.google.ca/search?[snip].
A ServiceWorker passed a promise to FetchEvent.respondWith() that
rejected with ‘TypeError: HEAD or GET Request cannot have a body.’

Since my addon spoofs Firefox to act like the most recent Chrome version, the bug affects it. For the time-being, I will have to have the addon block the service worker.

Unfortunately, already-affected users will have to visit the URL about:serviceworkers and remove it manually from there (after upgrading, so it gets blocked instead of just reinstalling itself the next time a search is made).

Bug report: search bar graphical issue

Hi! Thanks for your development. Using this on Firefox Android 119.1.1, on Android 13. I'm running into this issue with the current Google.

Screenshot_20231129_025704_Firefox

Mostly everything is fine, but the search bar has a weird right margin.

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.