Retrieve Full Page Titles in Google Search

Fill the page link titles with the full respective page titles

As of 2017-02-16. See the latest version.

Author
Benjamin Philipp
Ratings
0 0 0
Version
1.5
Created
2017-02-15
Updated
2017-02-16
License
N/A
Applies to

Alright... I know there has to be a limit for link texts. I get it.
That doesn't mean I have to like or even accept it.

I've always wondered why they don't include a longer version of the title in the link titles ("<a href='URI'>Too long t...</a>" --> "<a href='URI' title='Too long title'>Too long t...</a>").

They could leave the actual link text short, and provide at least a title that's a bit longer for mouse overs.

I wrote a script that does the leg work for you there.

This script goes through all the links, looking for new links ending with "...".

It gets the target page for each match in the background and takes the title and puts it in the search result link as a Link Title.

Limitations:

  • When you request a .pdf file, it will open as a download. Because of that, I'm excluding URIs that end in ".pdf" from being followed up.
  • I couldn't find an effective way of really only getting the page <head>, I'm getting the whole document. This means there is a bit of traffic happening in the background while the pages are being checked. You might not want to use it if you are super low on data volume.

Update v1.2 2017-02-15

  • Unescaped HTML in page titles. No more ugly quotes, brackets, ampersands, etc
  • Changed include match to exclude google image search

Update v1.3 2017-02-15

  • Added option to write the Title to the link's innerHTML
  • Added logging/verbosity levels

Update v1.4 2017-02-15

  • Updatability, GitHub

Update v1.5 2017-02-15

  • Added update-resistent Settings system
  • Included /webhp? URL
  • Improved title RegEx to include <title prop="Example">Title</title> cases
  • Improved change detection