google cache comeback

Brings back links to cached pages in the Google search results

< Feedback on google cache comeback

Review: Good - script works

§
Posted: 2018-03-17

Small fix: Prevent overlapping text when wrapped onto a new line

When the <cite> is long, the Cached and Similar links sometimes get pushed onto their own line.

When this occurs they appear overlapped with the summary text below, because the cite container has a fixed height.

This CSS removes the fixed height. I added it on line 241, to the end of gComeBack

/*2018-03-17 Prevent Cached+Similar from overlapping text when they are wrapped onto a new line, by overriding the height:18px; on the link+cite container */\
.g .f {height: auto !important;}\
§
Posted: 2018-03-18

THANK YOU!

This error has been bugging me for weeks, couldn't determine if it was caused by script(s) or a change from Google.

trespassersWAuthor
§
Posted: 2018-03-18
Edited: 2018-03-19

Thank you. I've updated my script
edit: the very big thank. this requires a lot of effort and knowledge to find a bug and give the solution

trespassersWAuthor
§
Posted: 2018-03-19

I would never have noticed it without your help!

§
Posted: 2018-03-21

You are welcome. Thanks for the script. :-)

This was the debugging process:

  • I inspected the element
  • I saw the element itself had dimensions (it was not 0x0) so it was not a float problem
  • So I went to its parent and there I saw the fixed height: 18px rule
  • I toggled the checkbox next to that rule, to see if that was the problem, and it was!

We are lucky to have such nice inspectors in the browsers these days.

Post reply

Sign in to post a reply.