Skip to content

必应 Bing 优化 by liweishu

Screenshot of 必应 Bing 优化

Details

Authorliweishu

LicenseNo License

Categorybing.com

Created

Updated

Size3.6 kB

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

Bing 禁止选择内容跳转事件 布局优化&美化 关闭多余项

Notes

禁止选择内容跳转事件,方便选择文字。

Source code

/* ==UserStyle==
@name           Bing 必应 优化
@namespace      userstyles.world/user/liweishu
@version        0.1.1
@description    禁止文本的跳转事件,布局优化&美化,关闭多余选项。
@author         vveishu
==/UserStyle== */
@-moz-document regexp("https://(|www|cn)\\.?bing\\.com/.+") {
	body {
		--bminwidth: 700px!important;
	}
	body,
	header,
	#vm_c {
		min-width: var(--bminwidth)!important;
	}
	/*背景图片*/
	body {
		background-image: url("https://api.kdcc.cn/");
		background-repeat: no-repeat;
		background-attachment: fixed;
		background-position: center;
		background-size: cover;
	}
	/*背景透明*/
	header {
		background-color: transparent!important;
		#sb_form > a > h1 {
			background-color: #ffff
		}
		#sb_form > div,
		& > nav > ul > li {
			a {
				border-radius: 20px;
				background-color: #fff8;
				backdrop-filter: blur(2px);
			}
			&.b_active {
				border: 0;
				& > a {
					filter: invert(100%);
				}
			}
		}
	}
	#b_content {
		background-color: transparent;
	}
	header {
		height: auto!important;
		#sb_form > div {
			border-left: 0px;
			& > .qfc,
			& > textarea {
				width: 498px
			}
		}
		#id_h #langChange {
			display: inline;
		}
		& > nav {
			display: inline-block;
		}
	}
	@media (width<1279px) {
		header {
			#sb_form {
				margin-left: calc((100% - 648px)/2);
				& > .b_logoArea {
					display: block;
				}
			}
			#id_h {
				position: absolute!important;
				top: 10px;
			}
		}
	}
}
@-moz-document regexp("https://(|www|cn)\\.?bing\\.com/search.+") {
	/*禁止文本的跳转事件*/
	main {
		pointer-events: none;
		a {
			pointer-events: auto!important;
		}
	}
	/*关闭多余*/
	/*视频&其他人提问*/
	.b_ans.b_mop,
	/*选中快速搜索*/
	#qs_searchBoxOuter,
	/*右侧相关搜索*/
	aside[aria-label="更多结果"] {
		display: none;
	}
	header {
		#sb_form > .b_phead_chat_link {
			@media (width<1335px) {
				display: none;
			}
			@media (width<1279px) {
				display: inline!important;
			}
		}
		#id_h {
			right: 40px!important;
		}
		& > nav {
			position: relative!important;
			> ul {
				display: inline!important;
			}
		}
	}
	#b_content {
		#b_tween {
			padding-left: 0;
			#b_tween_searchResults {
				background-color: #fffc;
				border-radius: 20px;
				padding-left: 20px;
			}
		}
		#b_results {
			#brsv3 {
				width: 608px;
				li {
					width: 296px
				}
			}
			/*分页背景色*/
			&>.b_pag ul.sb_pagF>li>a{
				background-color: #bbbb
			}
		}
	}
}
@-moz-document regexp("https://(|www|cn)\\.?bing\\.com/images/search.+") {
	header {
		margin-bottom: 0!important;
		& > nav {
			& > ul {
				margin-right: auto!important;
				display: inline;
				& > li[id^="b-scopeListItem"] {
					display: inline-block!important;
				}
			}
			#fltIdtCon {
				display: inline!important;
				right: auto;
				bottom: auto;
				position: static;
				#fltIdt {
					display: none!important;
				}
			}
		}
	}
	#b_content {
		#ftr_pane {
			display: block!important;
			overflow: visible;
			height: 33px;
			margin-top: 0px;
			margin-bottom: unset;
			padding-left: calc(160px + 4px);
			/*背景透明*/
			background-color: transparent;
			& > div {
				min-width: auto;
				background-color: #fffa;
				width: auto;
			}
		}
		#rfPane {
			display: none;
		}
		#vm_c > div {
			/*0.1.1 背景透明*/
			background-color: transparent;
			#mmComponent_images_2 {
				width: 100%!important;
			}
		}
	}
	footer {
		display: none;
	}
}

Reviews

No reviews yet.