Startpage_Air

Startpage, simplified and improved.

目前為 2021-02-14 提交的版本,檢視 最新版本

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

You will need to install an extension such as Tampermonkey to install this script.

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 Tampermonkey,才能安裝此腳本

您需要先安裝使用者腳本管理器擴充功能後才能安裝該腳本。

(我已經安裝了使用者腳本管理器,讓我安裝!)

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

(我已經安裝了使用者樣式管理器,讓我安裝!)

// ==UserScript==
// @name     Startpage_Air
// @description    Startpage, simplified and improved.
// @author   Shuswap
// @version  1
// @include  https://*.startpage.com*
// @include  https://startpage.com*
// @run-at   document-start
// @grant    none
// @namespace https://greasyfork.org/users/220598
// ==/UserScript==

(function() {var css = [
	"@namespace url(http://www.w3.org/1999/xhtml);",
  
// change the header color
".header {",
  "background-color:white !important;",
  "}",

// center the results on the page
".header__logo {",
  "width:22% !important;",
  "}",

" .inline-nav-menu-container {",
  "margin-left:25% !important;",
  "}",

" .layout-news__body {",
  "margin-left:25% !important;",
  "}",
  
" .layout-video__body {",
  "margin-left:25% !important;",
  "}",

" .layout-web__body--desktop {",
  "margin-left:25% !important;",
  "}",

// remove the anonymous view icon
" .w-gl__anonymous-view-url {",
  "display:none !important;",
  "}",

// change the URL color to Google green
" .inline-nav-menu__link__active {",
  "color: #1a0dab !important;",
  "}",
  
// set the search result link to Google blue
"h3 {",
  "color: #1a0dab;",
	"}",

// set the page indicators and prev-next buttons to Google blue
".pagination__num:hover {",
  "background-color: #1a0dab !important;",
	"}",

".pagination__next-prev-button:hover {",
  "background-color: #1a0dab !important;",
	"}",

// set the search result URL to Google green 
"a.w-gl__result-url {",
  "color: #006621;",
	"}",

// remove search filter globe icon
".search-filter-region__selected-all-regions-icon {",
  "display:none;",
	"}",

// remove footer
".footer {",
  "display:none;",
	"}",

// remove floating feedback button
".layout-web__feedback-button-container {",
  "display:none;",
	"}",

// remove privacy please menu
".privacy-please__container {",
  "display:none;",
	"}",

// remove "web results" text
".w-gl__label {",
  "display:none;",
	"}",

// remove privacy please menu on homepage
".privacy-please-menu-home {",
  "display:none;",
	"}",

// remove subtitle below search on homepage
".subtitle {",
  "display:none !important;",
	"}",

// remove subtitle below search on homepage
".footer-home-above-fold {",
  "color:white; !important; background-color:white !important",
	"}",

].join("\n");
if (typeof GM_addStyle != "undefined") {
	GM_addStyle(css);
} else if (typeof PRO_addStyle != "undefined") {
	PRO_addStyle(css);
} else if (typeof addStyle != "undefined") {
	addStyle(css);
} else {
	var node = document.createElement("style");
	node.type = "text/css";
	node.appendChild(document.createTextNode(css));
	var heads = document.getElementsByTagName("head");
	if (heads.length > 0) {
		heads[0].appendChild(node);
	} else {
		// no head yet, stick it whereever
		document.documentElement.appendChild(node);
	}
}
})();