Better Google

Restore google search results to older style with green link below title instead of link above title. Just tweaks the CSS and does some dynamic JS reordering of the DIVs.

< 脚本Better Google的反馈

提问/评论

§
发表于:2020-01-17

parsing error

15 var betterGoogleRow = (el) => { is with error " parsing error: unexpected token > " (on opera )

aligo作者
§
发表于:2020-01-19

I now replace arrow function with normal function, should be ok to Opera.

§
发表于:2020-01-19

I get a new parsing error on line 28: for (var _el of addEl.children) { Says "Parsing error: Unexpected token of"

§
发表于:2020-01-21

i try by my own but no way to run this xD if (addEl) { for (var k = 0; k < addEl.children.length(); k++) { if (addEl.childre[k].className.indexOf('TbwUpd') == -1) { betterAddEl.appendChild(addEl.childre[k]); } } } @aligo help as Tororu writed it cant get "of" in this loop

aligo作者
§
发表于:2020-01-23

yes, thanks to > @"Tadeusz W ." and @Tororu, did not realize that for (... or ...) is also newer js, I will fix it.

§
发表于:2020-01-23

for opera users remember to: opera-> settings-> extensions -> tempermonkey-> check checkbox "allow access to search page results" without it it doesnt work. cheers

§
发表于:2020-01-23

@aligo thx a lot for this script, without it i cant work using google ;)

§
发表于:2020-01-23

@aligo Thanks!

发表回复

登录以发表回复。