百度网盘资源_搜索引擎_聚合

在百度云盘页面中新增百度网盘资源_搜索引擎_(争取一网打尽)

// ==UserScript==
// @name         百度网盘资源_搜索引擎_聚合
// @version      3.64
// @description  在百度云盘页面中新增百度网盘资源_搜索引擎_(争取一网打尽)
// @match        *://pan.baidu.com/*
// @match        *://yun.baidu.com/*
// @match        *://wangpan.baidu.com/*
// @match        *://duanxin.baidu.com/*
// @match        *://note.baidu.com/*
// @match        *://tonghuajilu.baidu.com/*
// @match        *://tongxunlu.baidu.com/*
// @match        *://wenzhang.baidu.com/*
// @match        *://zhaohui.baidu.com/*
// @grant        来自各个网盘百度资源搜索引擎开发者
// @author       太史子义慈
// @namespace    qs93313@sina.cn
// ==/UserScript==

!(function() {
	//处理css
	bsegCss();

	//处理dom
	bseg(0);

	return;
})();

function bseg(ttime) {
	//获取body
	var body = document.body;
	//获取域名
	var wlhost = window.location.host;
	//域名是否包含百度?
	var find_baidu = (wlhost.indexOf("baidu") != -1);

	//最多找100次
	if(ttime < 100) {

		var ins = (document.querySelector("#id_new_span") == null);

		//主页(https://pan.baidu.com/netdisk/home,等)
		var find_home = (document.querySelector(".find-light-icon") !== null);

		//密码填写页(https://pan.baidu.com/share/init?surl=……)
		var find_init = (document.querySelector(".verify-form") !== null);

		//客户端下载页(https://pan.baidu.com/download || 无视https://pan.baidu.com/disk/award)
		var find_download = (document.querySelector("#logo-main") !== null);

		//版本更新页 | 服务协议(https://pan.baidu.com/disk/version/ || https://pan.baidu.com/disk/duty/ || https://yun.baidu.com/disk/autoduty || https://pan.baidu.com/disk/protocol 等)
		var find_version = (document.querySelector(".help-all") !== null || document.querySelector(".main-i") !== null);

		//支付中心页(https://pan.baidu.com/buy/checkoutcounter)
		var find_checkout = (document.querySelector(".cashier-page-header") !== null);

		//内容商城(https://pan.baidu.com/mall/home?from=panhome)
		var find_mall = (document.querySelector(".ts-logo__text") !== null);

		//会员中心(https://pan.baidu.com/buy/center || https://pan.baidu.com/buy/card)
		var find_center = (document.querySelector(".header-content") !== null);

		//页面不存在
		var find_error = (document.querySelector(".hd-main") !== null);

		//文章页(https://wenzhang.baidu.com/ || https://pan.baidu.com/tools 等)
		var find_wenzhang = (document.querySelector(".__header") !== null);

		//未登录页
		var find_notlogin = (document.querySelector("#login-header") !== null);

		//失效邀请
		var find_sx = (document.querySelector(".share-invite-box") !== null);

		//人脸搜索(https://pan.baidu.com/disk/facesearch)
		var find_face = (document.querySelector(".face-search-body") !== null);

		//综合
		var find_or = (find_home || find_init || find_download || find_version || find_checkout || find_mall || find_center || find_error || find_wenzhang || find_notlogin || find_sx || find_face);

		//确定显示点是否存在
		if(find_baidu) {
			if(ins && find_or) {
				//循环索引
				var i, j;

				//搜索引擎网址目录
				var dirall = [];
				//搜索引擎所有目录
				var dirallot = dir_all_ot();
				for(i in dirallot) {
					//某个搜索引擎的全部内容
					var bse = dirallot[i];
					//搜索引擎名称(like云盘恶魔)
					var bsen = bse[1];
					//搜索引擎区分目录(like a,b,c)所包含的内容的数组
					var bseot = bse[2];
					for(j in bseot) {
						//搜索引擎目录下的区分具体的搜索引擎
						var bsedif = bseot[j];
						//搜索引擎名称补充(like a,b,c)
						var bseno = bsedif[0];
						//搜索引擎名称全部(like 云盘恶魔a,云盘恶魔b,云盘恶魔c)
						var bsenall = bsen + bseno;
						//搜索引擎需要替换关键词的网址
						var bsesv = bsedif[1];
						//搜索引擎的样式
						var bsestyle = bsedif[2];
						//组成数组
						var dirallotita = [bsenall, bsesv, bsestyle];
						//组成二维数组
						dirall.push(dirallotita);
					}
				}

				//新建span子节点
				var new_span = document.createElement('span');
				new_span.classList.add('bseg_s');
				new_span.setAttribute("id", "id_new_span");

				//span节点建div解释说明子节点
				var new_div_instruct = document.createElement('div');
				new_div_instruct.classList.add('bseg_instruct', 'bseg_cursor_pointer', 'bseg_user_select');
				new_div_instruct.setAttribute("id", "instruct");
				new_div_instruct.innerHTML = "释";
				new_span.appendChild(new_div_instruct);

				//span节点再建【选择框】子节点
				var new_select = document.createElement('select');
				new_select.classList.add('bseg_select', 'bseg_cursor_pointer');
				new_span.appendChild(new_select);

				//选择框子节点下面要建立大量【选项】子节点
				for(i in dirall) {
					var v = dirall[i][0];
					var i1 = "new_opt_" + i;
					var oc = dirall[i][2];
					new_option(v, i1, new_select, oc);
				}

				//span节点再建【输入框】子节点
				var new_input = document.createElement('input');
				new_input.classList.add('bseg_scont');
				new_input.setAttribute("id", "scont");
				new_input.setAttribute("placeholder", "请输入内容[油猴脚本]");
				new_input.setAttribute("autocomplete", "off");
				new_span.appendChild(new_input);

				//span节点再建【清除输入框】子节点
				var new_x_btnd = document.createElement('div');
				new_x_btnd.classList.add('bseg_x_btnd', 'bseg_cursor_pointer', 'bseg_user_select');
				new_x_btnd.innerHTML = "×";
				new_span.appendChild(new_x_btnd);

				//span节点再建【按钮】子节点
				var new_btn = document.createElement('button');
				new_btn.innerHTML = "搜索";
				new_btn.classList.add('bseg_btn', 'bseg_btn_bg_mouseleave', 'bseg_user_select');
				new_span.appendChild(new_btn);
				new_btn.onmouseenter = function() {
					new_btn.classList.remove('bseg_btn_bg_mouseleave');
					new_btn.classList.add('bseg_btn_bg_mouseenter');
				};
				new_btn.onmouseleave = function() {
					new_btn.classList.remove('bseg_btn_bg_mouseenter');
					new_btn.classList.add('bseg_btn_bg_mouseleave');
				};

				//找到【父亲节点】【!!!注意每个页面父节点不同!!!】
				if(find_home) {
					//首页
					var father_home = document.getElementsByClassName("vyQHNyb")[0];
					if(father_home) {
						father_home.classList.add('bseg_f_home');
						//主页清除广告,腾位置
						var cMEMEF = document.getElementsByClassName("cMEMEF");
						if(cMEMEF) {
							var cMEMEF_len = cMEMEF.length;
							for(i = 0; i < cMEMEF_len; i++) {
								var cMEMEFi = cMEMEF[i];
								cMEMEFi.classList.add('bseg_cMEMEF');
								if(i == 2) {
									cMEMEFi.classList.add('bseg_none');
								}
							}
						}
						var gOIbzPb = document.getElementsByClassName("gOIbzPb")[0];
						gOIbzPb.classList.add('bseg_none');
						//新建span子节点
						father_home.appendChild(new_span);
						new_input.focus();
						//短信、通讯录的搜索框
						if(wlhost == "duanxin.baidu.com" || wlhost == "tongxunlu.baidu.com") {
							barSearch(0, new_input);
						}
					}
				} else if(find_init) {
					//密码填写页
					var father_init = document.getElementsByClassName("pickpw")[0];
					if(father_init) {
						father_init.classList.add('bseg_f_init');
						//新建span子节点
						father_init.appendChild(new_span);
						//清理版面
						var verify_input = document.getElementsByClassName('verify-input')[0];
						if(verify_input) {
							verify_input.classList.add('bseg_verify_input');
						}
					}
				} else if(find_download) {
					//客户端下载页
					var father_download = document.getElementsByClassName("logo-main")[0];
					if(father_download) {
						father_download.classList.add('bseg_f_download');
						//新建span子节点
						father_download.appendChild(new_span);
						new_input.focus();
					}
				} else if(find_version) {
					//版本更新页
					var father_version = document.getElementsByClassName("hd-main")[0];
					if(father_version) {
						father_version.classList.add('bseg_f_version');
						//新建span子节点
						father_version.appendChild(new_span);
						new_input.focus();
					}
				} else if(find_checkout) {
					//支付中心页
					var father_checkout = document.getElementsByClassName("cashier-page-header")[0];
					var bro_checkout = document.getElementsByClassName("cashier-page-ul")[0];
					if(father_checkout && bro_checkout) {
						father_checkout.classList.add('bseg_f_checkout');
						//新建span子节点
						father_checkout.insertBefore(new_span, bro_checkout);
						new_input.focus();
					}
				} else if(find_mall) {
					//内容商城页
					var father_mall = document.getElementsByClassName("ts-category")[0];
					if(father_mall) {
						father_mall.classList.add('bseg_f_mall');
						//新建span子节点
						father_mall.appendChild(new_span);
						//设置兄弟节点样式
						var tce = document.getElementsByClassName("ts-category__entry");
						if(tce) {
							var tce_len = tce.length;
							for(i = 0; i < tce_len; i++) {
								tce[i].classList.add('bseg_tce');
							}
						}
					}
				} else if(find_center) {
					//会员中心页
					var father_center = document.getElementsByClassName("header-content")[0];
					var bro_center = document.getElementsByClassName("activation-code")[0];
					if(father_center && bro_center) {
						father_center.classList.add('bseg_f_center', 'bseg_header_content');
						//删除log,腾地方
						var lml = document.getElementsByClassName("logo-main-link")[0];
						if(lml) {
							lml.classList.add('bseg_none');
						}
						//设置侄节点样式
						var nb = document.getElementsByClassName("nav-button");
						if(nb) {
							var nb_len = nb.length;
							for(i = 0; i < nb_len; i++) {
								nb[i].classList.add('bseg_nav_button');
							}
						}
						var fnbs = document.getElementsByClassName("first-nav-button-sub")[0];
						if(fnbs) {
							fnbs.classList.add('bseg_first_nav_button_sub');
						}
						//新建span子节点
						father_center.insertBefore(new_span, bro_center);
						new_input.focus();
					}
				} else if(find_error) {
					//页面不存在
					var father_error = document.getElementsByClassName("hd-main")[0];
					var bro_error = document.getElementsByClassName("info")[0];
					if(father_error && bro_error) {
						father_error.classList.add('bseg_f_error');
						//新建span子节点
						father_error.insertBefore(new_span, bro_error);
						new_input.focus();
					}
				} else if(find_wenzhang) {
					//文章页
					var father_wenzhang = document.getElementsByClassName("__header")[0];
					var bro_wenzhang = document.getElementsByClassName("__tools")[0];
					if(father_wenzhang && bro_wenzhang) {
						father_wenzhang.classList.add('bseg_f_wenzhang');
						//新建span子节点
						father_wenzhang.insertBefore(new_span, bro_wenzhang);
						new_input.focus();
					}
				} else if(find_notlogin) {
					//未登录页
					var father_notlogin = document.getElementById("login-header");
					var bro_notlogin = document.getElementsByClassName("login-title")[0];
					if(father_notlogin && bro_notlogin) {
						father_notlogin.classList.add('bseg_f_notlogin');
						//新建span子节点
						father_notlogin.insertBefore(new_span, bro_notlogin);
						new_input.focus();
						//版面清理
						var b_no_ln = document.getElementsByClassName("b-no-ln");
						if(b_no_ln) {
							var b_no_ln_len = b_no_ln.length;
							for(i = 0; i < b_no_ln_len; i++) {
								b_no_ln[i].classList.add('bseg_b_no_ln');
							}
						}
					}
				} else if(find_sx) {
					//失效邀请
					var father_sx = document.getElementsByClassName('share-invite-box')[0];
					var bro_sx = document.getElementsByClassName('invite-bg-container')[0];
					if(father_sx && bro_sx) {
						father_sx.classList.add('bseg_f_sx');
						//新建span子节点
						father_sx.insertBefore(new_span, bro_sx);
						new_input.focus();
					}
				} else if(find_face) {
					//人脸搜索
					var father_face = document.getElementsByClassName('module-facesearch-header')[0];
					if(father_face) {
						father_face.classList.add('bseg_f_face');
						//新建span子节点
						father_face.appendChild(new_span);
						new_input.focus();
					}
				}

				//提示事件
				var new_div_alert = document.createElement('div');
				new_div_alert.classList.add('bseg_alert');
				new_div_alert.setAttribute("id", "alert");
				new_div_alert.classList.add('bseg_none');
				body.appendChild(new_div_alert);

				//提示文字
				var new_div_alert_c = document.createElement('div');
				new_div_alert_c.classList.add('bseg_alert_c');
				new_div_alert_c.innerHTML = "<a href='https://greasyfork.org/zh-CN/scripts/375337' target='_blank' class='bseg_a_alert_c'>[油猴脚本][百度网盘资源搜索引擎聚合]</a>提示您:<br><span class='bseg_n_alert_c'>请在输入框输入要搜索的内容。</span>";
				new_div_alert.appendChild(new_div_alert_c);

				//确定按钮
				var new_alert_btn = document.createElement('button');
				new_alert_btn.classList.add('bseg_alert_btn', 'bseg_cursor_pointer');
				new_alert_btn.innerHTML = "确定";
				new_div_alert.appendChild(new_alert_btn);

				//删除按钮点击事件
				new_x_btnd.onclick = function() {
					new_input.value = "";
					new_btn.classList.remove('bseg_cursor_pointer');
					new_btn.classList.add('bseg_cursor_not_allowed');
				}

				//获得输入框数据
				var new_input_val;
				//计算输入框数据长度
				var new_input_val_len;
				//默认鼠标样式
				new_btn.classList.add('bseg_cursor_not_allowed');
				//监控输入框
				new_input.oninput = function() {
					new_input_val = new_input.value;
					new_input_val_len = new_input_val.length;
					//如果输入框有数据
					if(new_input_val_len > 0) {
						//鼠标样式变为手指
						new_btn.classList.remove('bseg_cursor_not_allowed');
						new_btn.classList.add('bseg_cursor_pointer');
					} else {
						//鼠标样式变为禁止
						new_btn.classList.remove('bseg_cursor_pointer');
						new_btn.classList.add('bseg_cursor_not_allowed');
					}
				}

				//搜索按钮点击事件
				new_btn.onclick = function() {
					new_input_val = new_input.value;
					new_input_val_len = new_input_val.length;
					//如果输入框有数据
					if(new_input_val_len > 0) {
						//获得选择框里被选中的选项索引
						var option_index = new_select.selectedIndex;
						//根据id和网址目录获得网址
						var pcsearch = dirall[option_index][1];
						//用输入框的数据替换掉网址内的替换符
						var dti = pcsearch.replace("%sv%", new_input_val);
						//网址跳转
						window.open(dti);
					} else {
						//出现提示
						new_div_alert.classList.remove('bseg_none');
						new_div_alert.classList.add('bseg_block');
						//几秒后自动消失
						setTimeout(function() {
							new_div_alert.classList.remove('bseg_block');
							new_div_alert.classList.add('bseg_none');
						}, 2100);
						new_input.focus();
					}
				}

				//确定按钮点击事件
				new_alert_btn.onclick = function() {
					new_div_alert.classList.remove('bseg_block');
					new_div_alert.classList.add('bseg_none');
					new_input.focus();
				}

				//建立解释说明弹出页
				var new_div_in_all = document.createElement('div');
				new_div_in_all.classList.add('bseg_in_all');
				new_div_in_all.setAttribute("id", "in_all");
				new_div_in_all.classList.add('bseg_none');
				body.appendChild(new_div_in_all);

				//说明书标题
				var new_div_in_title = document.createElement('div');
				new_div_in_title.classList.add('bseg_in_title');
				new_div_in_title.innerHTML = "<a href='https://greasyfork.org/zh-CN/scripts/375337' target='_blank' class='bseg_a_blank'>[油猴脚本][百度网盘资源_搜索引擎_聚合]</a>使用说明书"
				new_div_in_all.appendChild(new_div_in_title);

				//隐藏说明书
				xxlar(new_div_in_all, new_div_in_title);

				//说明书内容
				var new_div_in_text = document.createElement('div');
				new_div_in_text.classList.add('bseg_in_text');
				var in_text = inText();
				new_div_in_text.innerHTML = in_text;
				new_div_in_all.appendChild(new_div_in_text);

				//span节点再建div求赏点击子节点
				var new_div_reward = document.createElement('div');
				new_div_reward.classList.add('bseg_reward', 'bseg_cursor_pointer', 'bseg_user_select');
				new_div_reward.setAttribute("id", "reward");
				new_div_reward.innerHTML = "助";
				new_span.appendChild(new_div_reward);

				//建div支持作者二维码放置子节点
				var new_div_qr_all = document.createElement('div');
				new_div_qr_all.classList.add('bseg_qr_all', 'bseg_user_select');
				new_div_qr_all.setAttribute("id", "qr_all");
				new_div_qr_all.classList.add('bseg_none');
				body.appendChild(new_div_qr_all);

				//支持作者标题
				var new_div_qr_title = document.createElement('div');
				new_div_qr_title.classList.add('bseg_qr_title');
				new_div_qr_title.innerHTML = "感谢您支持<a href='https://greasyfork.org/zh-CN/scripts/375337' target='_blank' class='bseg_a_blank'> [油猴脚本] [百度网盘资源_搜索引擎_聚合] </a>的开发者,谢谢"
				new_div_qr_all.appendChild(new_div_qr_title);

				//关闭按钮
				xxlar(new_div_qr_all, new_div_qr_title);

				//放二维码的父节点
				var new_div_qr_text = document.createElement('div');
				new_div_qr_text.classList.add('bseg_qr_text');
				new_div_qr_all.appendChild(new_div_qr_text);

				//二维码
				var qrArr = qrAll();
				for(i in qrArr) {
					var qrArr_i = qrArr[i];
					var qrArr_i_0 = qrArr_i[0];
					var qrArr_i_1 = qrArr_i[1];
					qrGenerate(new_div_qr_text, qrArr_i_0, qrArr_i_1);
				}

				//说明书点击事件
				new_div_instruct.onclick = function() {
					var ndin_display = new_div_in_all.classList.contains('bseg_none');
					if(ndin_display) {
						new_div_in_all.classList.remove('bseg_none');
						new_div_in_all.classList.add('bseg_block');
					} else {
						new_div_in_all.classList.remove('bseg_block');
						new_div_in_all.classList.add('bseg_none');
					}
				}

				//求赏点击事件
				new_div_reward.onclick = function() {
					var ndqr_display = new_div_qr_all.classList.contains('bseg_none');
					if(ndqr_display) {
						new_div_qr_all.classList.remove('bseg_none');
						new_div_qr_all.classList.add('bseg_block');
					} else {
						new_div_qr_all.classList.remove('bseg_block');
						new_div_qr_all.classList.add('bseg_none');
					}
				}

				//说明书中的支持作者
				var zczz = document.getElementById('zczz');
				zczz.onclick = function() {
					var ndqr_display = new_div_qr_all.classList.contains('bseg_none');
					if(ndqr_display) {
						new_div_qr_all.classList.remove('bseg_none');
						new_div_qr_all.classList.add('bseg_block');
					}
				}
			} else {
				ttime++;
				//显示点不存在,一段时间后再次执行
				setTimeout(function() {
					bseg(ttime);
				}, 250);

			}
		}
	} else {
		console.log("脚本开发者还未涉及本页,请提示开发者修改脚本。[油猴脚本](https://greasyfork.org/zh-CN/scripts/375337)");
	}
}

//新建option
function new_option(ih, aid, ns, oc) {
	var new_opt = document.createElement('option');
	new_opt.classList.add('bseg_option', oc, 'bseg_cursor_pointer');
	new_opt.innerHTML = ih;
	new_opt.setAttribute("id", aid);
	ns.appendChild(new_opt);
}

//短信、通讯录的搜索框
function barSearch(t1, ni) {
	if(t1 < 10) {
		var bar_search = (document.querySelector(".bar-search") !== null);
		if(bar_search) {
			ni.classList.add('bseg_ni');
		} else {
			t1++;
			setTimeout(function() {
				barSearch(t1, ni);
			}, 500);
		}
	}
}

//关闭按钮
function xx(gf, f, lar) {
	var new_close = document.createElement('div');
	new_close.classList.add('bseg_close', 'bseg_cursor_pointer', lar);
	new_close.innerHTML = "×";
	f.appendChild(new_close);
	new_close.onclick = function() {
		gf.classList.remove('bseg_block');
		gf.classList.add('bseg_none');
	}
}

//关闭按钮左右两个
function xxlar(gf, f) {
	xx(gf, f, "bseg_float_left");
	xx(gf, f, "bseg_float_right");
}

//拼接说明书
function inText() {
	var i;
	var te = '';
	te += '<div id="zczz" class="bseg_zczz bseg_cursor_pointer bseg_user_select">';
	te += '支持开发者';
	te += '</div><br><p>';
	te += '脚本在 ';
	var user_scripts = [
		['https://greasyfork.org/zh-CN/scripts/375337', 'Greasy Fork', ],
		['https://github.com/qs93313/Baidupan-Search-Engine-Group/blob/master/bseg.user.js', 'github', ],
		['https://mp.weixin.qq.com/s/k1KEn0KJhS5eHOEVoCAEZg', '微信公众号', ],
		['https://www.zhihu.com/question/36935371/answer/547905809', '知乎'],
		['https://tieba.baidu.com/p/5974006313', 'tampermonkey吧', ],
		['https://tieba.baidu.com/p/5993472277', 'chrome吧', ],
		['https://tieba.baidu.com/p/5993474487', 'firefox吧', ],
		['https://juejin.im/post/5c0fc011f265da615d727f00', '掘金', ],
		['https://segmentfault.com/a/1190000017500890', 'segmentfault', ],
		['https://www.v2ex.com/t/524418', 'V2EX', ],
		['https://blog.csdn.net/weixin_43219705/article/details/84889289', 'CSDN', ],
		['https://my.oschina.net/u/3498250/blog/2987043', '开源中国', ],
		['https://www.cnblogs.com/tszyc/p/10105746.html', '博客园', ],
		['https://blog.51cto.com/11254154/2328001', '51CTO', ],
		['https://www.douban.com/group/topic/131325841/', '豆瓣', ],
	];
	var uslf = user_scripts.length - 1;
	for(i in user_scripts) {
		var uc = user_scripts[i];
		var uc0 = uc[0];
		var uc1 = uc[1];
		te += '<a href="';
		te += uc0;
		te += '" target="_blank" class="bseg_a_blank">';
		te += uc1;
		te += '</a>';
		if(i < uslf) {
			te += '、';
		}
	}
	te += ' 分享。';
	te += '</p><br><p>';
	te += '<b class="bseg_lookout">注意:该脚本可能会频繁更新。</b>由于这是脚本,数据并非存在某服务器的数据库里,而是直接写死在脚本里,数据更新即脚本更新。这些百度网盘搜索引擎网站的规则数据是会发生改变的,开发者会注意网站的规则变化并更新脚本。';
	te += '</p><br><p>';
	te += '<b class="bseg_lookout">注意!这些搜索网页上难免有广告,推荐使用<a href="https://www.adtchrome.com/help/index.html" target=_blank" class="bseg_a_blank">广告终结者</a>等扩展屏蔽广告。</b>';
	te += '</p><br><p>';
	te += '下面列举脚本中已聚合的百度网盘资源_搜索引擎:';
	te += '<br>';
	var tea = dir_all_ot();
	for(i in tea) {
		var teaa = tea[i];
		var teaa0 = teaa[0];
		var teaa1 = teaa[1];
		var a1 = parseInt(i) + 1;
		a1 = (a1 < 10) ? ('0' + a1) : a1;
		a1 = (a1 < 100) ? ('0' + a1) : a1;
		te += '<div class="bseg_bse">';
		te += '<div class="bseg_bse_i">';
		te += a1;
		te += '</div>';
		te += '<a href="';
		te += teaa0;
		te += '" target=_blank" class="bseg_a_blank">';
		te += '[';
		te += teaa1;
		te += '] ';
		te += '</a>';
		te += '</div>'
	}
	te += '</p><br><p>';
	te += '搜索引擎的排序权重为:';
	var ws = [
		['网站必须能访问,不能访问的网站观察一段时间后删除。'],
		['网站访问要稳定,网站访问稳定的靠前。'],
		['搜索引擎是否收费,免费的搜索引擎靠前。'],
		['搜索引擎是否专门搜索百度网盘资源,专门搜索百度网盘资源的靠前。'],
		['网站服务器的位置,服务器在境内的靠前。'],
		['搜索结果的数量,数量多的靠前。'],
		['搜索结果的质量,失效链接少的靠前。'],
		['搜索结果是否及时更新,及时更新的靠前。'],
		['网站请求采用的字符编码,已知编码的保留,未知编码的删除。'],
		['已知字符编码的排序,从前往后依次是单层url编码、双层url编码、gbk编码、Escape编码、Base64编码、Unicode编码。'],
		['网站采用的HTTP请求方法,采用get方法的收录。'],
		['是否有加密分享结果,有加密分享结果的靠前。'],
		['在已采用广告屏蔽插件的情况下,依然有广告的靠后。'],
		['是否有自动填加密分享密码的插件,有插件的靠前。'],
		['网站使用HTTPS协议的靠前。'],
	];
	for(i in ws) {
		te += "</p><p>";
		var wsi = ws[i];
		var a2 = parseInt(i) + 1;
		a2 = (a2 < 10) ? ('0' + a2) : a2;
		te += a2;
		te += ":";
		te += wsi;
	}
	te += '</p><br><p>';
	te += '说明书还在进一步完善中。';
	te += '</p><br><p>';
	te += '还可以尝试开发者其他脚本:';
	te += '</p>';
	var other_scripts = [
		['https://greasyfork.org/zh-CN/scripts/39971', '同一词条在百度百科维基百科等网络百科中互相跳转', ],
		['https://greasyfork.org/zh-CN/scripts/375838', 'Greasy Fork 简体汉字页面显示日均安装量', ],
		['https://greasyfork.org/zh-CN/scripts/375799', '全网禁用input自动完成', ],
	];
	for(i in other_scripts) {
		var osb = other_scripts[i];
		var osb0 = osb[0];
		var osb1 = osb[1];
		te += '<p><a href="';
		te += osb0;
		te += '" target=_blank" class="bseg_a_blank">';
		te += '[';
		te += osb1;
		te += '] ';
		te += '</a></p>';
	}
	return te;
}

//二维码生成
function qrGenerate(f, qrm, cih) {
	//包含二维码和解释的div
	var div_qr_c = document.createElement('div');
	div_qr_c.classList.add('bseg_qr_c');
	f.appendChild(div_qr_c);
	//二维码图片
	var img_qr = document.createElement('img');
	img_qr.classList.add('bseg_img_qr');
	var base64_qr = qrm;
	img_qr.setAttribute('src', base64_qr);
	div_qr_c.appendChild(img_qr);
	//二维码
	var div_c = document.createElement('div');
	div_c.classList.add('bseg_cih');
	div_c.innerHTML = cih;
	div_qr_c.appendChild(div_c);
}

//搜索引擎目录
function dir_all_ot() {
	var tea = [
		["https://www.yubaipan.com/", "白玉盘", [
			["", "https://www.yubaipan.com/#/main/search?keyword=%sv%", "bseg_option_1", ],
		], ],
		["https://www.dashengpan.com/", "大圣盘", [
			["", "https://www.dashengpan.com/search?keyword=%sv%", "bseg_option_1", ],
		], ],
		["https://dalipan.com/", "大力盘", [
			["", "https://www.dalipan.com/search?keyword=%sv%", "bseg_option_1", ],
		], ],
		["https://www.feifeipan.com/", "飞飞盘", [
			["", "https://www.feifeipan.com/search?keyword=%sv%", "bseg_option_1", ],
		], ],
		["https://www.baimapan.com/", "白马盘", [
			["", "https://www.baimapan.com//search?keyword=%sv%", "bseg_option_1", ],
		], ],
		["https://www.feizhupan.com/", "飞猪盘", [
			["", "https://www.feizhupan.com/search?keyword=%sv%", "bseg_option_1", ],
		], ],
		["https://www.iizhi.cn/", "毕方铺", [
			["", "https://www.iizhi.cn/resource/search/%sv%", "bseg_option_1", ],
		], ],
		["https://www.luomapan.com/", "罗马盘", [
			["", "https://www.luomapan.com/search?keyword=%sv%", "bseg_option_1", ],
		], ],
		["https://www.xiaomapan.com/", "小马盘", [
			["", "https://www.xiaomapan.com/search?keyword=%sv%", "bseg_option_1", ],
		], ],
		["https://www.panother.com/", "盘他", [
			["", "https://www.panother.com/search?query=%sv%", "bseg_option_1", ],
		], ],
		["https://www.yunpanjingling.com/", "面包树", [
			["", "https://www.yunpanjingling.com/search/%sv%", "bseg_option_1", ],
		], ],
		["https://www.xiaozhaolaila.com/", "小昭来啦", [
			["", "https://www.xiaozhaolaila.com/s/search?q=%sv%", "bseg_option_1", ],
		], ],
		["https://www.xiaokesoso.com/", "小可搜搜", [
			["", "https://www.xiaokesoso.com/s/search?q=%sv%", "bseg_option_1", ],
		], ],
		["https://www.kolsou.com/", "酷搜", [
			["", "https://www.kolsou.com/search?q=%sv%", "bseg_option_2", ],
		], ],
		["http://www.panmeme.com/", "盘么么", [
			["", "http://www.panmeme.com/query?key=%sv%", "bseg_option_2", ],
		], ],
		["http://www.xiaobaipan.com/", "小白盘", [
			["", "http://www.xiaobaipan.com/list-%sv%.html", "bseg_option_2", ],
		], ],
		["http://www.kengso.com/", "坑搜网", [
			["", "http://www.kengso.com/s?wd=%sv%", "bseg_option_2", ],
		], ],
		["http://www.repanso.com", "热盘搜", [
			["", "http://www.repanso.com/q?wd=%sv%", "bseg_option_2", ],
		], ],
		["http://www.shiyue.org/", "十月搜索", [
			["", "http://www.shiyue.org/s/%sv%", "bseg_option_2", ],
		], ],
		["https://www.lzpan.com/", "懒盘", [
			["", "https://www.lzpan.com/search/title?kw=%sv%", "bseg_option_2", ],
		], ],
		["http://wx.haogow.com/", "西部维度", [
			["", "http://wx.haogow.com/so?keyword=%sv%", "bseg_option_2", ],
		], ],
		["http://wx.xingtuhua.com/", "商务中国", [
			["", "http://wx.xingtuhua.com/so?keyword=%sv%", "bseg_option_2", ],
		], ],
		["http://www.vpansou.com/", "V盘搜", [
			["", "http://www.vpansou.com/query?wd=%sv%", "bseg_option_2", ],
		], ],
		["http://aizhaomu.com/", "创业招", [
			["", "http://aizhaomu.com/search/kw%sv%", "bseg_option_2", ],
		], ],
		["http://www.sodu123.com/", "搜度", [
			["", "http://www.sodu123.com/sodu/so.php?q=%sv%", "bseg_option_2", ],
		], ],
		["http://www.slimego.cn/", "史莱姆", [
			["", "http://www.slimego.cn/search.html?q=%sv%", "bseg_option_2", ],
		], ],
		//以下的更新慢
		["http://www.pansou.com/", "盘搜", [
			["", "http://www.pansou.com/?q=%sv%", "bseg_option_3", ],
		], ],
		["https://www.fastsoso.cn/", "fastsoso", [
			["", "https://www.fastsoso.cn/search?k=%sv%", "bseg_option_3", ],
		], ],
		["http://www.51sopan.cn/", "51搜盘", [
			["", "http://www.51sopan.cn/s?wd=%sv%", "bseg_option_3", ],
		], ],
		["http://www.baiduyunsousou.com/", "两鸟仪", [
			["", "http://www.baiduyunsousou.com/search?kw=%sv%", "bseg_option_3", ],
		], ],
		["http://www.vpanso.com/", "微盘搜", [
			["", "http://www.vpanso.com/s?wd=%sv%", "bseg_option_3", ],
		], ],
		["https://www.xxhh360.com/", "云搜大师", [
			["", "https://www.xxhh360.com/search?q=%sv%", "bseg_option_3", ],
		], ],
		["http://www.panpanso.com/", "盘盘搜", [
			["", "http://www.panpanso.com/baiduwp?qiehuan=1&sousuo=%sv%", "bseg_option_3", ],
		], ],
		["https://pan.here325.com/", "325搜", [
			["", "https://pan.here325.com/s?q=%sv%", "bseg_option_3", ],
		], ],
		["http://chawangpan.com/", "盘搜大师", [
			["", "http://chawangpan.com/paymentList.html?field=%sv%&pgtype=search&pg=1&type=1&btn=1&flag=1&ctype=1", "bseg_option_3", ],
		], ],
		["http://www.jisoupan.com/", "及搜盘", [
			["", "http://www.jisoupan.com/search/%sv%.html", "bseg_option_3", ],
		], ],
		["http://www.sowangpan.com/", "搜网盘", [
			["", "http://www.sowangpan.com/search/%sv%-0-全部-0.html", "bseg_option_3", ],
		], ],
		//以下是搜书的
		["http://ibooks.org.cn/", "读书小站", [
			["", "http://ibooks.org.cn/?s=下载 %sv%", "bseg_option_9", ],
		], ],
		["https://sobooks.cc/", "sobooks", [
			["", "https://sobooks.cc/search/%sv%", "bseg_option_9", ],
		], ],
		["http://www.xiaoshuwu.vip/", "小书屋", [
			["", "http://www.xiaoshuwu.vip/search.php?q=%sv%", "bseg_option_9", ],
		], ],
		["https://www.xssousou.com/", "小说搜搜", [
			["", "https://www.xssousou.com/s/%sv%.html://neikuw.com/?s=%sv%", "bseg_option_9", ],
		], ],
		//以下不是专门的搜索引擎
		["https://www.baidu.com/s?wd=(pan|yun).baidu.com&ct=1", "百度搜索", [
			["", "https://www.baidu.com/s?wd=%sv%%20(pan|yun).baidu.com&ct=1", "bseg_option_5", ],
		], ],
		["https://www.google.com.hk/search?q=pan%20or%20yun%20.baidu.com", "谷歌搜索", [
			["", "https://www.google.com.hk/search?q=%sv%%20pan%20or%20yun%20.baidu.com", "bseg_option_5", ],
		], ],
		["https://magi.com/search?q=pan.baidu.com", "Magi搜索", [
			["", "https://magi.com/search?q=%sv%%20pan.baidu.com", "bseg_option_5", ],
		], ],
		["https://www.sogou.com/web?ie=utf8&query=pan.baidu.com", "搜狗搜索", [
			["", "https://www.sogou.com/web?ie=utf8&query=%sv%%20pan.baidu.com", "bseg_option_5", ],
		], ],
		["https://www.so.com/s?q=pan.baidu.com", "360好搜", [
			["", "https://www.so.com/s?q=%sv%%20pan.baidu.com", "bseg_option_5", ],
		], ],
		["http://www.chinaso.com/search/pagesearch.htm?q=pan.baidu.com", "中国搜索", [
			["", "http://www.chinaso.com/search/pagesearch.htm?q=%sv%%20pan.baidu.com", "bseg_option_5", ],
		], ],
		["https://cn.bing.com/search?q=pan.baidu.com", "必应搜索", [
			["", "https://cn.bing.com/search?q=%sv%%20pan.baidu.com", "bseg_option_5", ],
		], ],
		["https://m.sm.cn/s?q=pan.baidu.com", "神马搜索", [
			["", "https://m.sm.cn/s?q=%sv%%20pan.baidu.com", "bseg_option_5", ],
		], ],
		["http://www.sousuobd.com/?q=pan.baidu.com", "必达搜索", [
			["", "http://www.sousuobd.com/?q=%sv%%20pan.baidu.com", "bseg_option_5", ],
		], ],
		["https://dogedoge.com/results?q=pan.baidu.com", "多吉搜索", [
			["", "https://dogedoge.com/results?q=pan.baidu.com+%sv%", "bseg_option_5", ],
		], ],
		["https://mijisou.com/?language=zh-CN&q=pan.baidu.com", "秘迹搜索", [
			["", "https://mijisou.com/?language=zh-CN&q=%sv%%20pan.baidu.com", "bseg_option_5", ],
		], ],
		["https://www.httpso.cn/pan.baidu.com.html", "包装搜", [
			["", "https://www.httpso.cn/%sv%%20pan.baidu.com.html", "bseg_option_5", ],
		], ],
		["http://www.saoso.net.cn/web/pan.baidu.com/", "扫搜", [
			["", "http://www.saoso.net.cn/web/%sv%%20pan.baidu.com/", "bseg_option_5", ],
		], ],
		["http://www.dgso.cn/k/pan.baidu.com", "稻搜", [
			["", "http://www.dgso.cn/k/%sv%%20pan.baidu.com", "bseg_option_5", ],
		], ],
		["http://www.bangsou.com/q/pan.baidu.com", "帮搜", [
			["", "http://www.bangsou.com/q/%sv%%20pan.baidu.com", "bseg_option_5", ],
		], ],
		["https://www.ecosia.org/search?q=pan.baidu.com", "ecosia", [
			["", "https://www.ecosia.org/search?q=%sv%%20pan.baidu.com", "bseg_option_5", ],
		], ],
		["https://duckduckgo.com/?q=pan.baidu.com&ia=web", "duckgo", [
			["", "https://duckduckgo.com/?q=%sv%+pan.baidu.com&ia=web", "bseg_option_5", ],
		], ],
		["https://www.webcrawler.com/serp?q=pan.baidu.com", "crawler", [
			["", "https://www.webcrawler.com/serp?q=%sv%%20pan.baidu.com", "bseg_option_5", ],
		], ],
		["https://suche.web.de/web/result?q=pan.baidu.com", "web.de", [
			["", "https://suche.web.de/web/result?q=%sv%%20pan.baidu.com", "bseg_option_5", ],
		], ],
		["https://swisscows.ch/web?query=pan.baidu.com&region=zh-CN", "swisscows", [
			["", "https://swisscows.ch/web?query=%sv%%20pan.baidu.com&region=zh-CN", "bseg_option_5", ],
		], ],
		["https://wangpan.renrensousuo.com/", "众人搜网盘", [
			["", "https://wangpan.renrensousuo.com/jieguo?sa=网盘搜索&q=%sv%", "bseg_option_5", ],
		], ],
		//以下的要收费
		["https://www.quzhuanpan.com/", "去转盘", [
			["", "https://www.quzhuanpan.com/source/search.action?q=%sv%", "bseg_option_6", ],
		], ],
		["http://www.zhuzhupan.com/", "猪猪盘", [
			["总线", "http://www.zhuzhupan.com/search?s=100&query=%sv%", "bseg_option_6", ],
			["1", "http://www.zhuzhupan.com/search?s=1&query=%sv%", "bseg_option_6", ],
			["2", "http://www.zhuzhupan.com/search?s=2&query=%sv%", "bseg_option_6", ],
			["3", "http://www.zhuzhupan.com/search?s=3&query=%sv%", "bseg_option_6", ],
			["4", "http://www.zhuzhupan.com/search?s=4&query=%sv%", "bseg_option_6", ],
			["5", "http://www.zhuzhupan.com/search?s=5&query=%sv%", "bseg_option_6", ],
			["6", "http://www.zhuzhupan.com/search?s=6&query=%sv%", "bseg_option_6", ],
			["7", "http://www.zhuzhupan.com/search?s=7&query=%sv%", "bseg_option_6", ],
			["8", "http://www.zhuzhupan.com/search?s=8&query=%sv%", "bseg_option_6", ],
		], ],
		["https://www.soyunpan.com/", "搜云盘", [
			["", "https://www.soyunpan.com/search/%sv%-0-全部-0.html", "bseg_option_6", ],
		], ],
		["http://www.olecn.com/", "资源下载", [
			["", "http://www.olecn.com/?s=%sv%", "bseg_option_6", ],
		], ],
		//以下是其他网盘
	];
	return tea;
}

//二维码
//感谢 二维码解析【https://cli.im/deqr/】
//感谢 二维码生成【https://cli.im/】
//感谢 应用宝图标【https://sj.qq.com/myapp/】
//感谢 转base64【http://imgbase64.duoshitong.com/】
function qrAll() {
	var gg = "<span class='bseg_gg'>&nbsp;广告&nbsp;</span>&nbsp;";
	//支付宝
	var qrAlipay = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAALQAAAC0CAIAAACyr5FlAAANIklEQVR4nO2dXWwcVxXHz5nZ3dmNHceJk9ZN0iaFtmlCo35CAgkUKFQBKQ8IJAStSPlqpQIPfWgoSAiJp9CKB17TB+CFBySQIKiqWqIKETdJaQNS0kpASJM6JI5bx3Hij/2YncPDnZldj31ndjIz6/Xk/3twsvade+fj7zPnnnPuNYsIAbAYxlKfAOhdIA6gBeIAWiAOoKUQ+MzMXRs74AsHhg73lCPPM7zz8MZxidV5io3TZeFNgOUAWiAOoAXiAFogDqAl6JAGSDd+mqJ7FXliscYK94VjecqdNEhCip1H3iJYDqAF4gBaIA6gBeIAWiIc0gCxvLxMw46RY8VyKgM/DR868sTCx1pCHz/u0LAcQAvEAbRAHEALxAG0xHNIMyWWuxTpQoa7gXGDnuFjxWqf4plkDSwH0AJxAC0QB9ACcQAtPeSQpkuSlH1ckhR+9pQHGgCWA2iBOI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8mbRE5UqbDkYFPOvQ15talpUqiTJo1uUcFKWXca+FhPQiKVPgD5KrPyKdRdgy8FoYOVgUKIL0hCNs6CvrYxC7BbCyctaY0mgewRNF+O49MIoTV+LWEHj19hyMCisHAyKzTf7XKsqGEx+kiRNkscLNEKMo8fajqZL07QxwsU+TAxYORiURD+pYYw4jBmeWAEI3SNo2mAtNSTZDaYX3VgUCiV5VEIDRyuMGVYOBiXNnxlIMUkFBG9lV1OJNdDMhN7F2DfJuGrfGd3BAbYcjAZWDgbF5rfsI8RyIhard/qIal96mYFFii9W+BC53iQbJZQ3y1jcRHHfbDkYFFYOBiWF7+eI1RezmRZVkBqXZLGFTZkAfbsfc3AUT2SMkpJUvmka8N4KEwP0x3gs1oMWBTvGlaN+JhZdIqfs8uhGLNaSFpvAdKujNqCk7dlyMCisHAzKbP/GG7a40yQA6F6D4pssnqvAUGXSpxornUNP5Fu05DwHYwMrB4OSpluJlZpNktZNngtP15hr5KdSbUQXjrkPu2CQLQeDwsrBoKBuJcUiII20VOqDLB6SsysUortCevZaE6ZZTN5YuxrLnbHlYFBYORgU9Outk5Ck3F4DZiotzLumZZLH9egPtFECjchs6XdVPRWrbwhbDgaFlYNBSfPRBCZjsOVgUFg5GJT/A45mfqQ31s3+AAAAAElFTkSuQmCC";
	
	var qrAllArr = [
		//支付宝
		[qrAlipay, "<span class='bseg_alipay'>支付宝</span>扫一扫<br>捐助支持"],
		//微信
		[qrWechat, "<span class='bseg_Wechat'>微信</span>扫一扫<br>捐助支持"],
		//QQ
		[qrQQ, "QQ扫一扫<br>捐助支持"],
	];
	return qrAllArr;
}

//添加css
function bsegAddCss(cssText) {
	var acss = document.createElement('style');
	acss.textContent = cssText;
	var doc = (document.head || document.documentElement);
	doc.appendChild(acss);
}

//css整理与美化( 感谢https://tool.lu/css/)
function bsegCss() {
	bsegAddCss(`.bseg_none {
	display: none!important;
}
.bseg_block {
	display: block;
}
.bseg_cursor_pointer {
	cursor: pointer;
}
.bseg_cursor_not_allowed {
	cursor: not-allowed;
}
.bseg_float_left {
	float: left;
}
.bseg_float_right {
	float: right;
}
.bseg_user_select {
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}
.bseg_s {
	font-family: 'Microsoft YaHei', arial, SimSun, 宋体!important;
}
.bseg_instruct {
	display: inline-block;
	width: 15px;
	height: 25px;
	border-top: 1px solid #A9A9A9;
	border-bottom: 1px solid #A9A9A9;
	border-left: 1px solid #A9A9A9;
	border-radius: 14px 0 0 14px;
	background-color: #FFF;
	color: #000;
	text-align: right;
	font-size: 10px;
	line-height: 27px;
}
.bseg_close {
	width: 22px;
	height: 22px;
	border-radius: 11px;
	background-color: #B4E3FF;
	color: #f00;
	font-family: 'Microsoft YaHei', arial, SimSun, 宋体!important;
	line-height: normal;
}
.bseg_select {
	width: 104px;
	outline: 0;
	border: 1px solid #A9A9A9;
	border-radius: 0;
	background-color: #fff;
	color: #000;
	font-size: 15px;
}
.bseg_scont {
	display: inline-block;
	box-sizing: content-box;
	margin: 0;
	padding: 2px;
	outline: 0;
	border-top: 1px solid #A9A9A9;
	border-right: 0;
	border-bottom: 1px solid #A9A9A9;
	border-left: 0;
	border-radius: 0;
	background-color: #fff;
	color: #000;
	font-size: 15px;
	font-family: 'Microsoft YaHei', arial, SimSun, 宋体;
	cursor: text;
}
.bseg_x_btnd {
	display: inline-block;
	padding: 2px 0;
	width: 16px;
	height: 24px;
	outline: 0;
	border-top: 1px solid #a9a9a9;
	border-right: 0;
	border-bottom: 1px solid #a9a9a9;
	border-left: 0;
	background-color: #fff;
	color: #000;
	text-align: center;
	font-size: 15px;
	line-height: 24px;
}
.bseg_btn {
	padding: 0;
	width: 52px;
	height: 29px;
	border: 1px solid #A9A9A9;
	border-radius: 0;
	color: #fff;
	font-size: 14px;
}
.bseg_alert {
	position: absolute;
	top: 62px;
	right: 0;
	left: 0;
	z-index: 9999;
	margin: 0 auto;
	width: 450px;
	height: 120px;
	border: 1px solid #d3d3d3;
	border-radius: 7px;
	background-color: #fff;
}
.bseg_alert_c {
	padding: 15px;
	height: 42px;
	letter-spacing: 1px;
	font-size: 14px;
}
.bseg_alert_btn {
	margin-left: 370px;
	padding: 0;
	width: 64px;
	height: 32px;
	border: 0;
	border-radius: 3px;
	background: #3b8cff;
	color: #fff;
	font-size: 14px;
}
.bseg_in_all {
	position: absolute;
	top: 62px;
	left: 14px;
	z-index: 998;
	width: 614px;
	height: 410px;
	border: 1px solid #d3d3d3;
	border-radius: 7px;
	background-color: #fff;
	line-height: normal;
}
.bseg_in_title {
	padding: 5px;
	height: 20px;
	border-bottom: 1px solid #d3d3d3;
	text-align: center;
	letter-spacing: 1px;
	font-weight: 700;
	font-size: 14px;
}
.bseg_in_text {
	overflow-y: auto;
	margin: 10px 10px 10px 10px;
	width: 594px;
	height: 360px;
	text-align: justify;
	text-indent: 30px;
	font-size: 15px;
}
.bseg_reward {
	display: inline-block;
	width: 15px;
	height: 25px;
	border-top: 1px solid #A9A9A9;
	border-right: 1px solid #A9A9A9;
	border-bottom: 1px solid #A9A9A9;
	border-radius: 0 14px 14px 0;
	background-color: #FFF;
	color: #000;
	font-size: 10px;
	line-height: 27px;
}
.bseg_qr_all {
	position: absolute;
	top: 62px;
	right: 14px;
	z-index: 999;
	width: 612px;
	height: 285px;
	border: 1px solid #d3d3d3;
	border-radius: 7px;
	background-color: #fff;
	line-height: normal;
}
.bseg_qr_title {
	padding: 5px;
	height: 20px;
	border-bottom: 1px solid #d3d3d3;
	text-align: center;
	letter-spacing: 1px;
	font-weight: 700;
	font-size: 14px;
}
.bseg_qr_text {
	overflow-y: auto;
	height: 515px;
}
.bseg_bse {
	display: inline-block;
	width: 144px;
	text-indent: 0;
}
.bseg_bse_i {
	display: inline-block;
	margin: 1px 3px 1px 1px;
	width: 33px;
	height: 22px;
	border: 1px solid #f00;
	border-radius: 17px 17px 17px 17px/12px 12px 12px 12px;
	background-color: #ff0;
	text-align: center;
}
.bseg_qr_c {
	display: inline-block;
	width: 200px;
	height: 254px;
	border-bottom: 1px dotted #d3d3d3;
}
.bseg_img_qr {
	margin: 9px 9px 0 9px;
	width: 180px;
	height: 180px;
	border: 1px solid #d3d3d3;
}
.bseg_cih {
	display: inline-block;
	width: 200px;
	height: 60px;
	text-align: center;
	font-size: 16px;
}
.bseg_btn_bg_mouseleave {
	background-color: #3B8CFF;
}
.bseg_btn_bg_mouseenter {
	background-color: #7EB2FF;
}
.bseg_cMEMEF {
	margin: 0 8px!important;
}
.bseg_ni {
	width: 240px;
}
.bseg_f_home {
	margin-left: 0!important;
}
.bseg_f_mall {
	left: 200px;
}
.bseg_f_home > .bseg_s {
	margin: 0 0 0 10px;
}
.bseg_f_init > .bseg_s {
	display: inline-block;
	margin: 35px 0 0 0;
}
.bseg_f_center > .bseg_s {
	display: inline-block;
	margin: 19px 0 0 7px;
}
.bseg_f_error > .bseg_s {
	display: inline-block;
	margin: 7px 0 0 85px;
}
.bseg_f_face > .bseg_s {
	display: inline-block;
	margin: 10px 0 0 200px;
}
.bseg_f_wenzhang > .bseg_s {
	display: inline-block;
	margin: 11px 0 0 50px;
}
.bseg_f_sx > .bseg_s {
	display: inline-block;
	margin: 18px 0 0 240px;
}
.bseg_f_notlogin > .bseg_s {
	display: inline-block;
	margin: 18px 0 0 2px;
}
.bseg_f_checkout > .bseg_s {
	display: inline-block;
	margin: 5px 0 0 10px;
}
.bseg_f_download > .bseg_s {
	display: inline-block;
	margin: 5px 0 0 48px;
}
.bseg_f_version > .bseg_s {
	display: inline-block;
	margin: 5px 0 0 85px;
}
.bseg_f_mall > .bseg_s {
	margin: 0 0 0 3px;
}
.bseg_f_home > .bseg_s > .bseg_select {
	height: 30px;
}
.bseg_f_init > .bseg_s > .bseg_select {
	display: inline-block;
	width: 100px;
	height: 30px;
}
.bseg_f_download > .bseg_s > .bseg_select {
	height: 30px;
}
.bseg_f_version > .bseg_s > .bseg_select {
	height: 30px;
}
.bseg_f_checkout > .bseg_s > .bseg_select {
	height: 30px;
}
.bseg_f_mall > .bseg_s > .bseg_select {
	height: 30px;
}
.bseg_f_error > .bseg_s > .bseg_select {
	height: 30px;
}
.bseg_f_face > .bseg_s > .bseg_select {
	height: 30px;
}
.bseg_f_wenzhang > .bseg_s > .bseg_select {
	display: inline-block;
	height: 30px;
}
.bseg_f_notlogin > .bseg_s > .bseg_select {
	display: inline-block;
	height: 30px;
}
.bseg_f_sx > .bseg_s > .bseg_select {
	display: inline-block;
	height: 30px;
}
.bseg_f_center > .bseg_s > .bseg_select {
	width: 100px;
	height: 30px;
}
.bseg_f_home > .bseg_s > .bseg_scont {
	width: 264px;
	height: 24px;
}
.bseg_f_init > .bseg_s > .bseg_scont {
	width: 202px;
	height: 24px;
}
.bseg_f_download > .bseg_s > .bseg_scont {
	width: 234px;
	height: 24px;
}
.bseg_f_version > .bseg_s > .bseg_scont {
	width: 234px;
	height: 24px;
}
.bseg_f_checkout > .bseg_s > .bseg_scont {
	width: 234px;
	height: 24px;
}
.bseg_f_mall > .bseg_s > .bseg_scont {
	padding: 4px 2px;
	width: 215px;
	height: 20px;
	border-left: 1px solid #000;
}
.bseg_f_center > .bseg_s > .bseg_scont {
	width: 176px;
	height: 24px;
}
.bseg_f_error > .bseg_s > .bseg_scont {
	width: 255px;
	height: 24px;
}
.bseg_f_wenzhang > .bseg_s > .bseg_scont {
	width: 264px;
	height: 24px;
}
.bseg_f_notlogin > .bseg_s > .bseg_scont {
	width: 214px;
	height: 24px;
}
.bseg_f_sx > .bseg_s > .bseg_scont {
	width: 214px;
	height: 24px;
}
.bseg_f_face > .bseg_s > .bseg_scont {
	width: 264px;
	height: 24px;
}
.bseg_f_init > .bseg_s > .bseg_btn {
	width: 42px;
}
.bseg_f_checkout > .bseg_s > .bseg_btn {
	height: 31px;
	line-height: 31px;
}
.bseg_f_mall > .bseg_s > .bseg_btn {
	height: 30px;
	font-size: 15px;
	line-height: 4px;
}
.bseg_f_center > .bseg_s > .bseg_btn {
	font-size: 15px;
}
.father_center > .bseg_s > .bseg_btn {
	height: 30px;
	line-height: 30px;
}
.father_error > .bseg_s > .bseg_btn {
	height: 30px;
	line-height: 30px;
}
.bseg_verify_input {
	padding-bottom: 20px;
}
.bseg_tce {
	padding: 0 8px!important;
}
.bseg_header_content {
	width: 1140px;
}
.bseg_nav_button {
	margin: 0 5px!important;
}
.bseg_first_nav_button_sub {
	margin-left: 250px;
}
.bseg_b_no_ln {
	margin-right: 4px!important;
}
.bseg_a_alert_c {
	color: #008000;
	font-size: 15px;
}
.bseg_n_alert_c {
	color: #f00;
	font-size: 18px;
}
.bseg_a_blank {
	color: green!important;
	text-decoration: underline!important;
}
.bseg_lookout {
	color: #f00;
}
.bseg_gg {
	background-color: red;
	color: #fff;
}
.bseg_alipay {
	color: #2790D6;
}
.bseg_YuebaoT {
	color: #EB0A0A;
}
.bseg_Jdjr {
	color: #FD3414;
}
.bseg_Wechat {
	color: #7CAA0D;
}
.bseg_BaiduPan {
	color: #2F73EF;
}
.bseg_Ttqw {
	color: #FA394E;
}
.bseg_Txw {
	color: #FF4424;
}
.bseg_Dzkd {
	color: #C70000;
}
.bseg_Yt {
	color: #EA100F;
}
.bseg_Yztm {
	color: #EE4C40;
}
.bseg_Tfb {
	color: #FE5100;
}
.bseg_Lq {
	color: #00B7A8;
}
.bseg_Htt {
	color: #FE3D44;
}
.bseg_Xtt {
	color: #FE0000;
}
.bseg_Wlkk {
	color: #FF120D;
}
.bseg_yqm {
	background-color: #950AD3;
	color: #fff;
}
.bseg_Mytt {
	color: #E83425;
}
.bseg_Dftt {
	color: #F90000;
}
.bseg_4399 {
	color: #067707;
}
.bseg_Zh {
	color: #0F88EB;
}
.bseg_option {
	background-color: #FFF;
	text-align: center;
	text-align-last: center;
}
.bseg_option_1 {
	color: #9B0A0F;
	font-weight: bold;
	background-color:#d8fbd0;
}
.bseg_option_2 {
	color: #F00;
}
.bseg_option_3 {
	color: #E38600;
}
.bseg_option_4 {
	color: #29C90A;
}
.bseg_option_5 {
	color: #00C4D3;
}
.bseg_option_6 {
	color: #3931FF;
}
.bseg_option_9 {
	color: #A0A70F;
}
.bseg_option_7 {
	color: #ABC;
}
.bseg_option_8 {
	color: #dfc5f7;
}
.bseg_zczz {
	margin: 0 auto;
	width: 114px;
	height: 30px;
	border-radius: 5px;
	background-color: #fb1d1d;
	color: white;
	text-align: center;
	text-indent: 0;
	font-size: 18px;
	line-height: 30px;
}
`);
}