Old google search

Revert style of google search to the old version

// ==UserScript==
// @name         Old google search
// @version      0.2
// @description  Revert style of google search to the old version
// @author       Yrtiop
// @include      *www.google.*/search*
// @require      https://code.jquery.com/jquery-3.4.1.min.js
// @namespace https://greasyfork.org/users/435894
// ==/UserScript==

(function() {
    $('.r').each(function(i, search_result){
        var sr = $(search_result);
        var title = sr.find('> a > h3');
        var url = sr.find('> a > div');
        var popin = sr.find('> div > div:last-child');
        var br = sr.find('> a > br');

        br.insertAfter(title);
        url.insertAfter(br).css("position", "relative");
        popin.insertAfter(url);
    });
})();