This minimalistic extension disables "Scroll to Text Fragment" feature in Google search results

Latest Version

Version
3.0.0
Update
August 31, 2024
Size
15.25KiB
Developer
Category
Users
4,000+
Rating
4.65672 ★
Manifest Version
3
Web Store Status
Languages Support
English
See more
Permissions
See more

Disable Google Search Text Highlights Extension

Google search results sometimes highlight text snippets on pages opened from search results.

The feature can sometimes be annoying, however currently there's no way to disable it from browser preferences.

This extension has been created to override it and disable the highlights.

Disable Google Search Text Highlights is open source software:
https://github.com/everyonesdesign/disable-google-search-text-highlights

☕ If you like the extension you can buy a coffee for the author here:
https://buymeacoff.ee/everyonesdesign

============

Changelog

3.0.0
- migrate to manifest v3

2.1.1
- add deprecated domains back to the list (to avoid prompting users about the changed list and also in case Google brings them back in the future)

2.1.0 (unreleased)
- update Google domains list

2.0.0
- use runPatiently function to run as early as possible
- replace the links instead of updating urls
- run the script earlier (to make sure the links are replaced by the time the page is loaded)

1.1.0
- Only change href if text fragment is present
- Drop trailing \"#\" caused by text fragment

1.0.0
Major release
- Lower permissions level (specific domains instead of all_urls)
- Replace only :~:text piece of fragment directives, leaving other directives untouched
- Fix: remove text fragment for URLs with hashes
- Add tests

0.0.5
- Improve pattern for matching all the Google domains

0.0.4
- Fix an issue with breaking \"Tools\" buttons functionality on Google

0.0.2
- Initial stable version

============

Tags:
Scroll to Text Fragment,
fragmentDirective
textFragment
Read more

Source Manifest.json

{"update_url": "https://clients2.google.com/service/update2/crx", "name": "Disable Google Search Text Highlights", "version": "3.0.0", "manifest_version": 3, "description": "This minimalistic extension disables \\"Scroll to Text Fragment\\" feature in Google search results", "icons": { "16": "images/icon-16.png", "128": "images/icon-128.png" }, "default_locale": "en", "action": { "default_icon": "images/icon-128.png" }, "content_scripts": [ { "matches": [ "https://www.google.ad/search?*", "https://www.google.ae/search?*", "https://www.google.al/search?*", "https://www.google.am/search?*", "https://www.google.as/search?*", "https://www.google.at/search?*", "https://www.google.az/search?*", "https://www.google.ba/search?*", "https://www.google.be/search?*", "https://www.google.bf/search?*", "https://www.google.bg/search?*", "https://www.google.bi/search?*", "https://www.google.bj/search?*", "https://www.google.bs/search?*", "https://www.google.bt/search?*", "https://www.google.by/search?*", "https://www.google.ca/search?*", "https://www.google.cat/search?*", "https://www.google.cd/search?*", "https://www.google.cf/search?*", "https://www.google.cg/search?*", "https://www.google.ch/search?*", "https://www.google.ci/search?*", "https://www.google.cl/search?*", "https://www.google.cm/search?*", "https://www.google.cn/search?*", "https://www.google.co.ao/search?*", "https://www.google.co.bw/search?*", "https://www.google.co.ck/search?*", "https://www.google.co.cr/search?*", "https://www.google.co.id/search?*", "https://www.google.co.il/search?*", "https://www.google.co.in/search?*", "https://www.google.co.jp/search?*", "https://www.google.co.ke/search?*", "https://www.google.co.kr/search?*", "https://www.google.co.ls/search?*", "https://www.google.co.ma/search?*", "https://www.google.co.mz/search?*", "https://www.google.co.nz/search?*", "https://www.google.co.th/search?*", "https://www.google.co.tz/search?*", "https://www.google.co.ug/search?*", "https://www.google.co.uk/search?*", "https://www.google.co.uz/search?*", "https://www.google.co.ve/search?*", "https://www.google.co.vi/search?*", "https://www.google.co.za/search?*", "https://www.google.co.zm/search?*", "https://www.google.co.zw/search?*", "https://www.google.com/search?*", "https://www.google.com.af/search?*", "https://www.google.com.ag/search?*", "https://www.google.com.ai/search?*", "https://www.google.com.ar/search?*", "https://www.google.com.au/search?*", "https://www.google.com.bd/search?*", "https://www.google.com.bh/search?*", "https://www.google.com.bn/search?*", "https://www.google.com.bo/search?*", "https://www.google.com.br/search?*", "https://www.google.com.bz/search?*", "https://www.google.com.co/search?*", "https://www.google.com.cu/search?*", "https://www.google.com.cy/search?*", "https://www.google.com.do/search?*", "https://www.google.com.ec/search?*", "https://www.google.com.eg/search?*", "https://www.google.com.et/search?*", "https://www.google.com.fj/search?*", "https://www.google.com.gh/search?*", "https://www.google.com.gi/search?*", "https://www.google.com.gt/search?*", "https://www.google.com.hk/search?*", "https://www.google.com.jm/search?*", "https://www.google.com.kh/search?*", "https://www.google.com.kw/search?*", "https://www.google.com.lb/search?*", "https://www.google.com.ly/search?*", "https://www.google.com.mm/search?*", "https://www.google.com.mt/search?*", "https://www.google.com.mx/search?*", "https://www.google.com.my/search?*", "https://www.google.com.na/search?*", "https://www.google.com.ng/search?*", "https://www.google.com.ni/search?*", "https://www.google.com.np/search?*", "https://www.google.com.om/search?*", "https://www.google.com.pa/search?*", "https://www.google.com.pe/search?*", "https://www.google.com.pg/search?*", "https://www.google.com.ph/search?*", "https://www.google.com.pk/search?*", "https://www.google.com.pr/search?*", "https://www.google.com.py/search?*", "https://www.google.com.qa/search?*", "https://www.google.com.sa/search?*", "https://www.google.com.sb/search?*", "https://www.google.com.sg/search?*", "https://www.google.com.sl/search?*", "https://www.google.com.sv/search?*", "https://www.google.com.tj/search?*", "https://www.google.com.tr/search?*", "https://www.google.com.tw/search?*", "https://www.google.com.ua/search?*", "https://www.google.com.uy/search?*", "https://www.google.com.vc/search?*", "https://www.google.com.vn/search?*", "https://www.google.cv/search?*", "https://www.google.cz/search?*", "https://www.google.de/search?*", "https://www.google.dj/search?*", "https://www.google.dk/search?*", "https://www.google.dm/search?*", "https://www.google.dz/search?*", "https://www.google.ee/search?*", "https://www.google.es/search?*", "https://www.google.fi/search?*", "https://www.google.fm/search?*", "https://www.google.fr/search?*", "https://www.google.ga/search?*", "https://www.google.ge/search?*", "https://www.google.gg/search?*", "https://www.google.gl/search?*", "https://www.google.gm/search?*", "https://www.google.gr/search?*", "https://www.google.gy/search?*", "https://www.google.hn/search?*", "https://www.google.hr/search?*", "https://www.google.ht/search?*", "https://www.google.hu/search?*", "https://www.google.ie/search?*", "https://www.google.im/search?*", "https://www.google.iq/search?*", "https://www.google.is/search?*", "https://www.google.it/search?*", "https://www.google.je/search?*", "https://www.google.jo/search?*", "https://www.google.kg/search?*", "https://www.google.ki/search?*", "https://www.google.kz/search?*", "https://www.google.la/search?*", "https://www.google.li/search?*", "https://www.google.lk/search?*", "https://www.google.lt/search?*", "https://www.google.lu/search?*", "https://www.google.lv/search?*", "https://www.google.md/search?*", "https://www.google.me/search?*", "https://www.google.mg/search?*", "https://www.google.mk/search?*", "https://www.google.ml/search?*", "https://www.google.mn/search?*", "https://www.google.ms/search?*", "https://www.google.mu/search?*", "https://www.google.mv/search?*", "https://www.google.mw/search?*", "https://www.google.ne/search?*", "https://www.google.nl/search?*", "https://www.google.no/search?*", "https://www.google.nr/search?*", "https://www.google.nu/search?*", "https://www.google.pl/search?*", "https://www.google.pn/search?*", "https://www.google.ps/search?*", "https://www.google.pt/search?*", "https://www.google.ro/search?*", "https://www.google.rs/search?*", "https://www.google.ru/search?*", "https://www.google.rw/search?*", "https://www.google.sc/search?*", "https://www.google.se/search?*", "https://www.google.sh/search?*", "https://www.google.si/search?*", "https://www.google.sk/search?*", "https://www.google.sm/search?*", "https://www.google.sn/search?*", "https://www.google.so/search?*", "https://www.google.sr/search?*", "https://www.google.st/search?*", "https://www.google.td/search?*", "https://www.google.tg/search?*", "https://www.google.tl/search?*", "https://www.google.tm/search?*", "https://www.google.tn/search?*", "https://www.google.to/search?*", "https://www.google.tt/search?*", "https://www.google.vg/search?*", "https://www.google.vu/search?*", "https://www.google.ws/search?*" ], "run_at": "document_start", "js": [ "scripts/index.js" ] } ]}
Read more

Similar Extensions

icon

Highlight or Hide Search Engine Results Extension · Productivity 4,000+ 38 ★ 344KiB

icon

Redirector Extension · Productivity 4,000+ 339 ★ 44.74KiB

icon

Don't add custom search engines Extension · Productivity 4,000+ 83 ★ 7.52KiB

icon

Redirect AMP to HTML Extension · Productivity 4,000+ 21 ★ 17.32KiB

icon

Hide Google AI Overviews Extension · Productivity 4,000+ 432 ★ 14.8KiB

icon

Wiki Redirect Extension · Productivity 4,000+ 7 ★ 50.83KiB

icon

Revert Wikipedia Layout Extension · Accessibility 4,000+ 45 ★ 12.45KiB

icon

uBlacklist Extension · Productivity 4,000+ 757 ★ 1.21MiB

icon

Indie Wiki Buddy Extension · Productivity 4,000+ 132 ★ 615KiB

icon

Display Reddit images natively in browser Extension · Social & Communication 4,000+ 42 ★ 17.64KiB

icon

No Search For Extension · Productivity 4,000+ 42 ★ 3.34KiB

icon

Old Reddit Redirect Extension · Accessibility 4,000+ 302 ★ 15.92KiB

icon

Unpinterested! Extension · Productivity 4,000+ 186 ★ 114KiB

icon

Neat URL Extension · Productivity 4,000+ 44 ★ 60.0KiB

icon

Old Wiki Extension · Accessibility 4,000+ 31 ★ 18.56KiB

icon

No Playlist Autoplay For YouTube Extension · Fun 4,000+ 128 ★ 24.34KiB

icon

Redirect Shorts Extension · Accessibility 4,000+ 31 ★ 32.03KiB

icon

Bye Bye, Google AI: Turn off Google AI Overviews, Discussions and Ads Extension · Productivity 4,000+ 167 ★ 174KiB

icon

Tracking Token Stripper Extension · Productivity 4,000+ 70 ★ 38.32KiB

icon

Nitter Redirect Extension · Social & Communication 4,000+ 22 ★ 17.25KiB

icon

wiki.gg Redirect Extension · Productivity 4,000+ 33 ★ 177KiB

icon

AutoplayStopper Extension · Productivity 4,000+ 583 ★ 48.49KiB

icon

isear Extension · Productivity 4,000+ 31 ★ 879KiB

icon

Remove "People Also Search For" Box Extension · Productivity 4,000+ 52 ★ 89.51KiB

User reviews

icon

K Law (ID: 000000a0d517815c) Voted 3 ★ - Updated 05/30/2023 I came to this extension late, but I was glad to have found it. That said, it stopped doing what it says on the tin about a month ago, and I'm having to deal with these infuriating highlights constantly again, and it's like this extension isn't even installed on my browser. Very frustrating. I'm hoping whoever developed this extension can figure out a work-around, because quite frankly it's a stroke of genius (when it works)!

icon

Patrick Harris (ID: 0000002f1cca5ac0) Voted 4 ★ - Updated 05/24/2023 Worked consistently as described until the past month or so and then the highlights came back everywhere in Gmail. Tried removing and adding the extension to Chrome again, changing extension permissions/settings, etc... Extension still doesn't seem to be working at all for me now.

icon

gianni cerqueti (ID: 0000008aa67764a4) Voted 5 ★ - Updated 03/21/2023 Is it possible to remove blue text highlights from snippet?

icon

Matt Holmes (ID: 0000003f6a10b3d4) Voted 4 ★ - Updated 02/14/2023 This extension fixes the top-level search result links, but not the "People Also Ask" links. I wrote this little Javascript which removes the text highlighting from ALL links, even if they appear after the initial page load. Just add the script to Tampermonkey or Styler for Google.com. /* Remove text highlighting from Google search result links */ var it=0; function f(){ if(it==0||document.hasFocus()){ it++; for(var a of document.querySelectorAll('ahref')){ var i=a.href.indexOf('#:~:text='); if(i>0)a.href=a.href.substr(0,i); } } } $(document).ready(function(){var iv=setInterval(f,500);});

icon

HaasiAustria (ID: 00000068008b25cc) Voted 5 ★ - Updated 01/24/2023 Thank you for this very useful extension!