您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Number search results on StartPage.com and other Ixquick sites - StartingPage.com and Ixquick.com
当前为
- // ==UserScript==
- // @name StartPage.com - Number Results
- // @namespace tag:r-a-y@gmx.com,2012:monkey
- // @description Number search results on StartPage.com and other Ixquick sites - StartingPage.com and Ixquick.com
- // @include http://*startpage.com/*
- // @include https://*startpage.com/*
- // @include http://*startingpage.com/*
- // @include https://*startingpage.com/*
- // @include http://*ixquick.com/*
- // @include https://*ixquick.com/*
- // @author r-a-y
- // @version 1.1
- // @license GPL v3
- // ==/UserScript==
- var results = document.querySelectorAll( 'li.search-item' );
- for ( i = 0, len = results.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( ( ( pageOptions.adPage - 1 ) * len + i + 1 ) + ". ");
- newSpan.appendChild( newContent );
- results[i].insertBefore( newSpan, results[i].firstChild );
- }