This minimalistic extension disables "Scroll to Text Fragment" feature in Google search results
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
Latest reviews
- (2023-05-30) K Law: 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)!
- (2023-05-24) Patrick Harris: 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.
- (2023-03-21) gianni cerqueti: Is it possible to remove blue text highlights from snippet?
- (2023-02-14) Matt Holmes: 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('a[href]')){ var i=a.href.indexOf('#:~:text='); if(i>0)a.href=a.href.substr(0,i); } } } $(document).ready(function(){var iv=setInterval(f,500);});
- (2023-01-24) HaasiAustria: Thank you for this very useful extension!
- (2022-11-19) rian matheny: Thank you. I am in a graduate program and have to do key word searches every week. it is very annoying to pull up a primary source and have highlighting for what google "thinks" I am looking for.
- (2022-11-05) Jeremy B: Seems to work. The highlighting feature is hot garbage and it's infuriating that a. google thought it was a good idea, and b. there's no native way to disable it.
- (2022-10-19) Tobias Johnson: It's utterly ridiculous that we need an extension to disable this "feature". For me this was the straw that broke the camel's back; I'm switching back to Firefox as my default browser. Having one company control so much of my browsing experience has surpassed the point of being helpful now that Google is trying so hard to repeat Microsoft's abuse of IE's dominance in the 90s. However I still need Chrome for work so I'm very thankful that this extension exists, thank you!!
- (2022-10-16) Tim Hedgepeth: Fantastic! It was very frustrating scrolling all the way up an article to read the whole thing when constantly being shown the highlighted section. It makes me wonder if they are just trying to discourage people from actually researching things properly anymore...?
- (2022-10-10) Lucifer: You are my saviour. You are the best. A genius. No more annoying scrolling to a paragraph I'm not even interested in.
- (2022-09-06) Jon Deaton: Fantastic extension to remove an awful feature of chrome. Thanks chrome but I can locate the first sentence of a wikipedia article all on my own.
- (2022-08-25) David H (Clonkex): I have never once found the highlighting feature anything but annoying. I'd love to know what data Google used to decide it was a good feature. This extension works perfectly for me. Best part is it's open-source, so if it ever breaks we can a) complain to the dev, or b) just fork it and fix it ourselves.
- (2022-08-22) Lilly Clarity: Awesome app. Slows down Google's backwards death march to undo progress.
- (2022-07-11) Dave Loebig: Perfect. Fixes a terrible idea. Thanks.
- (2022-06-17) Jason Aeschilman: Thank you! Works great!
- (2022-05-03) Gary Miguel: Works!
- (2022-04-27) Bjarke Fjeldsted: I absolutely love this. I can actually work in chrome again.Is there any way i can support this. Send money/ beer/ something ?
- (2022-03-14) Simon B: The extension does exactly what it should, it's just a shame that Google is incompetent enough that it is needed.
- (2022-02-07) ayb: Fk google's prescriptivism and "knowing whats best", even removing the flag to disable this. Absolutely offensive to be "talked down" by removing the option.
- (2021-12-20) Hunter Negron: I sincerely appreciate the work you put into this. I also use Bing, so I forked your projected and added "bing.com" to the manifest. Feel free to use my code. https://github.com/hunter-negron/disable-google-bing-search-text-highlights
- (2021-10-20) Logan B: This extension is an absolute must. I actually switched away from Google and Bing entirely solely because of targetText
- (2021-08-16) 44sunsets: This extension is a complete lifesaver! Finally the contemptible, useless highlighting within the email body is gone.
- (2021-07-18) Vince Aggrippino: Does exactly what I need and nothing extra.
- (2021-07-14) Yingfen Yi (Louise): Awesome! Finally get rid of the annoying URL with text highlighted
- (2021-05-28) Joaquin Bonilla Suez: works as of today aún fnciona
- (2021-05-13) Jimmy Wong: Would be nice to remove the text search anchor in the URL as well so when I copy and paste a URL I don't copy the search text over as well
- (2021-04-26) Jeffrey Hayes: I've only tried it a little (which is why only 4/5), but it's just so nice to know that other people hate this "feature" as much as I do, and then you actually made something to fix it! Dude I could kiss you rn
- (2021-03-27) Confer Zero: Simple and works! Shame that it's apparently too tough for Google to do themselves. :P
- (2021-02-28) Mind Walker: No longer works
- (2021-02-09) rice field mountain: 非常に不快な機能を停止してくれる非常に素晴らしい機能を提供してくれてありがとう。
- (2021-02-04) Martin Ligabue: does not read/edit any webpage, so it doen't do anything
- (2021-01-19) Some Dude: The highlight feature was bugging me because Chrome keeps altering the URLs for the sake of the highlighting, very annoying. This extension disables it all nice and simple. Thanks!
- (2021-01-16) Kevin Guidry: No longer working. :( (First URL at which I noticed this: https://en.wikipedia.org/wiki/MLBPA_Baseball#:~:text=MLBPA%20Baseball%2C%20known%20in%20Japan,%2FGenesis%2C%20and%20Game%20Gear.)
- (2021-01-02) Kjartan Hrafnkelsson: THANK YOU!
- (2020-12-02) J Cutter: everyonesdesign does what googles does not, and will not allow.
- (2020-11-27) רותם שלו: Works, doesn't require anything manual, great! Though it does leave the "#" in the URL (while deleting all the "text=" part), but that's just nitpicking I guess.
- (2020-10-28) Excellent! Thank you for making this.
- (2020-10-08) Laura Robinson: This worked fine until 8 October. It now is not working. Please update as it was fantastic until now!
- (2020-10-08) Eric Mink: Seems to work great and the source code is very minimal, so I don't have any trust issues at all. Wonderful! However, is the permission to read and change the website content on all websites really necessary? I mean, you just need the URL, right?
- (2020-09-16) Chris: Thank you! Makes Chrome work like it used to, which was better.
- (2020-09-16) Marco Borla: It works great, thank you! Hide the added string to the URL and the highlight too.
- (2020-09-16) Gnurro: Thank you. The automatic highlighting is incredibly distracting, especially for people who have attention issues. Since the flag can't be set by users anymore, this seems the only solution to get rid of it.
- (2020-09-15) Simon Strandman: Great! It's so annoying when you click a search result and end up in the middle of some article and you have to start by scrolling up.