Google Search restore URLs (undo breadcrumbs)

Brings back the full URLs in results.

< 腳本Google Search restore URLs (undo breadcrumbs)的回應

評論:正評 - 腳本一切正常

§
發表於:2020-01-29
編輯:2020-02-05

Tiny fix for multilingual support

First: Thanks for the wonderful script. Works as intended. Just a few results are misbehaving ("Translate this site" > "Diese Seite übersetzen"), because Google fixes the max width of the results to 632px. So if URLs are too long, "Translate this site" and the arrow for the cached result are wrapping one line down.

I fixed it myself by inserting:

#cnt #center_col { width: 900px } .mw #rhs { margin-left: 1075px }

after

.url-restore-userscript-HOVER .url-restore-userscript-dropdownArrow { position: absolute; }

max-content (for my fix) breaks things like videos, images, etc. displayed by the results itself, so it has to be a value, fitting for most displays and don't wrap.

Maybe you can verify it's good and include it? :)

Thanks again for your script.

P.S.: I don't know, if the fix is needed for Chrome too. I use Firefox (latest stable).

Edit: Changed width to 900px, because mouseover expands and wrapping again was once a thing. Edit2: Live answers got into the results. Fixed. Edit3: margin-left fixed to 1075px. Some results were still colliding.

發表回覆

登入以回覆