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

Ερώτηση/σχόλιο

§
Δημοσιεύτηκε: 17/01/2020

parsing error

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

aligoΔημιουργός
§
Δημοσιεύτηκε: 19/01/2020

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

§
Δημοσιεύτηκε: 19/01/2020

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

§
Δημοσιεύτηκε: 21/01/2020

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Δημιουργός
§
Δημοσιεύτηκε: 23/01/2020

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

§
Δημοσιεύτηκε: 23/01/2020

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

§
Δημοσιεύτηκε: 23/01/2020

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

§
Δημοσιεύτηκε: 23/01/2020

@aligo Thanks!

Δημοσίευση απάντησης

Συνδεθείτε για να δημοσιεύσετε μια απάντηση.