Greasy Fork is available in English.

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.

< Feedback on Better Google

Review: ياخشى - قوليازما ئىشلەيدۇ، بىراق خاتالىق بار

§
يوللانغان ۋاقتى: 2021-01-14

Google made some change and it works on/off now.

Change

document.querySelectorAll('.g .rc')

To

document.querySelectorAll('.g .rc, .g .tF2Cxc')

There're 3 in line 70, 71, 72, change them all seems to fix it for now.

§
يوللانغان ۋاقتى: 2021-01-15

Thanks, it works!

§
يوللانغان ۋاقتى: 2021-01-15

Awesome, works! Thank you for the tip/instructions.

§
يوللانغان ۋاقتى: 2021-01-15
تەھرىرلەنگەن ۋاقتى: 2021-01-15

hmm...this should be a more change-resistant selector.

Replace

document.querySelectorAll('.g .rc')

in line 70, 71, 72 to

document.querySelectorAll('.g > [data-ved][data-hveid]')
§
يوللانغان ۋاقتى: 2021-01-16

Doesn't work for me.
google searches: https://i.postimg.cc/fLknrjTq/Untitled.png
var runBetterGoogle = function() {
if (prevResultCount != document.querySelectorAll('.g > [data-ved][data-hveid]').length) {
document.querySelectorAll('.g > [data-ved][data-hveid]').forEach(betterGoogleRow);
prevResultCount = document.querySelectorAll('.g > [data-ved][data-hveid]').length;
}
if ( !bettered ) {
if ( MutationObserver != undefined ) {
var searchEl = document.getElementById('rcnt');
var observer = new MutationObserver(runBetterGoogle);
observer.observe(searchEl, {childList: true, subtree: true});
}
bettered = true;
}
};

§
يوللانغان ۋاقتى: 2021-01-16

Nevermind, it worked. Thanks.

جاۋاب قايتۇرۇش

جاۋاب قايتۇرۇش ئۈچۈن كىرىش.