Google Convert

...

当前为 2023-10-15 提交的版本,查看 最新版本

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Greasemonkey 油猴子Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Userscripts ,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

// ==UserScript==
// @name     Google Convert
// @description    ...
// @author   ...
// @version  0.5
// @match  https://duckduckgo.com/*
// @match  http://duckduckgo.com/*
// @match  https://html.duckduckgo.com/*
// @run-at   document-start
// @grant    none
// @license  GNU GPLv3
// @namespace https://greasyfork.org/users/220598
// ==/UserScript==

(function() {var css = [
	"@namespace url(http://www.w3.org/1999/xhtml);",

// Insert Generic Search Logo on Main Search Page and Results Page
".home_minimalHeroLogo__kX4wR img {opacity:0}",
".home_minimalHeroLogo__kX4wR, .logo_homepage, .header__logo {background-image:url(https://external-content.duckduckgo.com/iu/?u=https%3A%2F%2Flogodownload.org%2Fwp-content%2Fuploads%2F2014%2F09%2Fgoogle-logo-4.png&f=1&nofb=1&ipt=d5974eb00dc2b493ade5e28fc30ce29308e2647f8381b36baa0d32bc5a640977&ipo=images) !important}",
".home_minimalHeroLogo__kX4wR, .logo_homepage {background-size: 240px 199px !important; background-repeat:no-repeat;}",
".header__logo {background-size: 58px 22px !important; width: 80px !important}",

// White Background in Header and Body
"body, .header, .header-wrap {background-color:none !important;}",

// Remove Main Search Page Cruft
".social-menu_button__2_gkB.legacy-homepage_socialIcons__obCva {display:none !important}",
".text_text__q9rvO.text_text-md__x96X3.tagline_tagline__xryVo, .slide-1 {display:none !important}",
".js-badge-link.badge-link--full.badge-link{display:none !important}",
".content-info{display:none !important}",
".onboarding-ed--faq.js-onboarding-ed.onboarding-ed{display:none !important}",
".faq{display:none !important}",
".ddg-extension-hide.atb-button--faq.btn--primary.btn{display:none !important}",
".js-tagline.tag-home__item{display:none !important}",
".js-onboarding-ed.onboarding-ed{display:none !important}",
".js-tag-home {visibility:hidden !important;}",
".js-hl-button {visibility:hidden !important;}",
//new-August 2023 -- to remove the slide up stuff
".onboardingEd_slide1__FSFYj.onboardingEd_onboardingEdSlide__KWvTa, .onboardingEd_slide2__OD1v0.onboardingEd_onboardingEdSlide__KWvTa, .onboardingEd_slide3__t8_Hr.onboardingEd_onboardingEdSlide__KWvTa, .onboardingEd_slide4__eOSgT.onboardingEd_onboardingEdSlide__KWvTa, .onboardingEd_onboardingEd__5Ggmz {display:none !important;}",


// Remove Results Page Cruft
".js-feedback-btn-wrap{display:none !important}",
".dropdown--settings.dropdown{display:none !important}",

// Remove Results Page Hover Boxes
".yQDlj3B5DI5YO8c8Ulio{border:none !important}",

// Center Results Page - increase the padding-left values to move the header and
// search results to the right.
// Comment out the two lines below by adding two slashes to the beginning of each
// line if you want to use the built in DuckDuckGo centering in the settings
".header {padding-left: 16vw !important;}",
".serp__results {padding-left: 23.6vw !important;}",
"#react-layout {margin-left:16.2vw !important;}",

// Remove Footer
".footer{display:none !important}",



// Settings in the DDG Settings Panel (Classic Google-Style Theme)
  // == General ==
  // Instant Answers: Off
  // Infinite Scroll: Off
  // Open Links in a New Tab: On
  // Advertisements: Off
  // Page Break Numbers: Off
  // == Appearance ==
  // All Background Colors set to #FFFFFF
  // Font: Arial
  // New URL Style: Off
  // Title Font: Arial
  // Title Color: #1111cc
  // URL Color: #0e774a
  // URL Placement: Below Title
  // Site Icons: Off

].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);
	}
}
})();