🏠 Home 

Searx - Number R###lts

Number search r###lts on select Searx instances.


Install this script?
// ==UserScript==
// @name        Searx - Number R###lts
// @namespace   r-a-y/searx/search
// @description Number search r###lts on select Searx instances.
// @version     1.0.5
// @grant       none
// @match       https://searx.be/*
// @match       https://search.tuxcloud.net/*
// @match       https://searx.hlfh.space/*
// @match       https://search.stinpriza.org/*
// @match       https://searx.win/*
// @match       https://search.snopyta.org/*
// @match       https://searx.prvcy.eu/*
// @license     GPL v3
// ==/UserScript==
var currPage = document.querySelector( '.pull-left input[name="pageno"]' ).getAttribute('value'),
r###lts = document.getElementById("main_r###lts").getElementsByTagName("h4"),
searxVersion = document.querySelector( 'meta[name="generator"]' ).getAttribute( 'content' ).replace( 'searx/', '' );
currPage = currPage - 1;
for ( i = 0, len = r###lts.length; i < len; ++i ) {
newSpan    = document.createElement( "span" );
newSpan.setAttribute( "style", "float:left; font-weight:600; font-size:.9em !important; display:inline-block; margin-top:2px; margin-right:5px;" );
newContent = document.createTextNode( ( currPage * len + i + 1 ) + ". ");
newSpan.appendChild( newContent );
r###lts[i].insertBefore( newSpan, r###lts[i].firstChild );
}