百度去广告-搜索页去右边栏推荐内容-个性排版主题

百度搜索页-去广告-去右边栏推荐内容-个性排版主题

// ==UserScript==
// @name         百度去广告-搜索页去右边栏推荐内容-个性排版主题
// @namespace    http://tampermonkey.net/
// @version      0.1.2
// @description  百度搜索页-去广告-去右边栏推荐内容-个性排版主题
// @author       glk
// @icon		 data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMYAAABrCAYAAAAsGf1tAAAgAElEQVR4nO2dB5xcVb3Hz/ZN2dRNdtNDCum9N0JiCiB+UMEC8lDsBlHRJ6hAUHjoC/oE1KBPsSFF34NHs0DAYEJCEiAJSUhPIKR3Unazffed75l7hjN37p1y587ObLi/fOazN3dm7tzy/53//3/+5eTMevKRJhEgQIAI5Gb6BAIEyEYExAgQwAH55n+md+uZqfMIECBrsOLQ/khi9ClpLz43dFSmzidAgIzjt1s2KGIEplSAAA7Ij/+RAJnErauXifrGxkyfxnmPRVNnRfw/IEaW4/Wjh0VdY0OmT+O8RnnrNlH7AlMqQAAHBMQIEMABATECBHDAee9jvHH8iNhw/GjEvvm9+znalal8J8D5hfOeGAj4H7dtitg3qrRrTCH38p0A5xcCUypAAAcExAgQwAEBMbIdTU2iMCdXFOW0nEd1/ZCRYkyXskyfRkpoOXf7fYqS/HxRVlAoushXXk5Opk8nLhaOnyauvXCY+MnU2WJmj96ZPh3PCIiR5SjNLxD5lsbomJcvspkakMIkg/3/LQkBMbIcVY2N4mBttWiUjGibmy/a5GXnRKJJgoe2vyn2nD0dtb8lISBGluNIXa2oFU3iXEODMqU65OaJPLk/mzSHKfx/3L5JTXXf+dpK8daZU1HvtxQExMhy4Hh3yy8UbfPyRF1TozhWXydZkSM6ShNLOeRNmS3ZN4X+D5IQD217U22/IzXGXa+3XHIExMhydC8sEgW5uaLOSj1vIwlSLonSTppV7aVjnpNBh9wU9t9LUvxpe4gUnx48QhW97T17RmmO3affjfp8tiMgRpajFi0hzalKaUoVKAe8QP0921gvTsj9IBMP0RTy323dKB7WpBg0Ql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XFdCtahJLXVFczzQRo+HDWWscboHEgBnEWBgOIgNkF4dnHPTtfG1P/fuvG+B/KcqTV+W6yrXXHbAU+B7a4Jg1kYZpvpzXdWW7lTeFf6GXI/AJCazr22vHWxMaMI9ho9wuAk/Ot8YZFCqLpN1kBQH0NoSWNK8PXoZdh08s4N8cqSwGShy/EcJ3bXxO5fjeCjqOq84rwL0ZLojCaIiB6zb6V1jrYfB6b3i/hOWSb8bL30+X3F1kjvp6hMs8dmM63SRLdA4vGYhAF/4rUE6d1BzX0dQfIPqREDITBbdYJ2LuSm/8PRaQjbXpzzT6ElBHcbTrW2kwAAACXSURBVEkyfjeRpY7NxMREZrf8MG8wl+Itssn1taQEwvcbUiJGKos4xnN0eT/WZ+IJn0aqC8ynA4GWyH5kRT1GgADZhoAYAQI4ICBGgAAOaPZcqQDJYXzXcrUUWIDmRUCMLMfdk2dm+hTelwhMqQABHBChMai4WuiytGyAAO8XsMZXBDH02ngBAryfATECUypAABsa5Ov/AQEpgqOk6ZLmAAAAAElFTkSuQmCC
// @include *://*.baidu.com/*
// @grant        none

// ==/UserScript==

(function(window) {
    'use strict';
	// 结果项中的关键字
    window.init = function () {
        if(!!$('#_bg')) {
            $('#_bg').remove()
        }

		// bg
		var bgBoy1 = `https://b-ssl.duitang.com/uploads/item/201511/27/20151127114946_a4XRt.jpeg`
		var bgBoy3 = `https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1573128491333&di=1b1b874812e915a7d716be7ba600188a&imgtype=0&src=http%3A%2F%2Fb-ssl.duitang.com%2Fuploads%2Fitem%2F201511%2F27%2F20151127113458_yVWHP.jpeg`
		var bgBoy2 = `https://b-ssl.duitang.com/uploads/item/201511/27/20151127114431_2MEjw.jpeg`
		var bgTeenageHeart = `http://b-ssl.duitang.com/uploads/item/201305/27/20130527211938_aPYek.jpeg`
		var bgJXY = `http://pic1.win4000.com/wallpaper/c/57e8c44d3cce9.jpg`
		$('body').append("<img src="+ bgTeenageHeart +" id='_bg'></img>")
		$("#content_left>div").each(function() {
			var thiz = $(this)
			$(this).find('span').each(function() {
				var guanGaoText = $(this).text()
				if (guanGaoText.indexOf('广告') !== -1) {
					thiz.css({"display": "none"})
				}
			})
		})

		// bg位置
        $('#_bg').css({
         	"position": "fixed",
			"left": "50%",
			"top": "50%",
			"height": "100%",
			"width": "100%",
			"transform": "translate(-50%, -50%)",
			"z-index": -1,
			"opacity": 0.5
        })

		// 搜索结果关键字
        $('em').css({
            color: 'rgb(228, 128, 174)',
            textDecoration: 'none'
        })

        // 搜索关键词周围非关键词
        $('h3.t a').css({
            color: '#3388ffd4'
        })

        // 搜索结果链接
        $('a').css({
            textDecoration: 'none',
            color: '#218cf3 !important'
        })

        // 百度快照
        $('a.m').css({
            textDecoration: 'none',
            color: '#6b6464'
        })


        // 百度一下按钮
        $('#su').css({
            marginLeft: '15px',
            borderRadius: '5px'
        })

        // logo
        $('#result_logo').css({
            position: 'absolute',
            left: '395px'
        })

        // 整个搜索框表单
        $('#form').css({
            marginLeft: '28%'
        })

        $('#s_tab').css({
          background: '#c2d7fde8'
        })

        // 搜索目录导航栏
        $('#s_tab .s_tab_inner').css({
            marginLeft: '23%'
        })

        // 搜索主体
        $('#container').css({
            paddingTop: '0px'
        })

        //
        $('.ead_nums_cont_inner .search_tool_conter').css({
            marginLet: '44%'
        })

        // 搜索结果的数目汇总及筛选
        $('#container .nums').css({
            marginLeft: '55%'
        })

        // 搜索结果的数目汇总及筛选
        $('.search_tool_conter').css({
            marginLeft: '55%'
        })

        // 搜索总结果
        $('#container #content_left').css({
			width: "850px",
            marginLeft: '34%'
        })

        // 搜索总结果中的每一大项
        $('#container #content_left .c-container').css({
            position: 'relative',
            width: '830px',
            marginBottom: '20px'
        })


		$('#container #content_left .c-container .c-row').css({
            width: '830px',
        }).children('.c-span-last').css({
			width: "80%"
		})

        // 大项中的小项
        $('#container #content_left .result.c-container .c-abstract').css({
            paddingTop: '5px'
        })

        var f13 = $('#container #content_left .result.c-container .f13')

        // 大项中的小项
        f13.css({display: 'none'})

        // 搜索框盒阴影及圆角
        $('.s_ipt_wr').css({
            border: 'none',
            boxShadow: '0 0 1px #a72222ab',
            borderRadius: '5px',
        })

        // 搜索框内文字
        $('#kw').css({
            fontSize: '13px',
            color: '#484644'
        })

        // 右边推荐内容
        $('#content_right').css({
            height: '0px',
            overflow: 'hidden'
        })

        // foot
        $('#foot .foot-inner').css({
            paddingLeft: '15%'
        })

        // 相关搜索
        $('#rs').css({
            marginLeft: '40%',
            backgroundColor: 'transparent'
        })

        // 相关搜索链接项
        $('#rs table tbody tr th a').css({
            color: 'rgba(35, 32, 26, 0.71)',
            fontSize: '13px'
        })

        // 相关搜索标题
        $('#rs .tt').css({
            color: '#ea6b67'
        })

        // 分页
        $('#page').css({
            marginLeft: '29%'
        })

        // 分页
        $('#page a').css({
            background: 'transparent'
        })
        $('#page strong').css({
            background: 'transparent'
        })

        pageClick()
    }

	// 函数防抖
    var debounce = function (fun, delay) {
		return function (args) {
			var that = this
			var _args = args
			clearTimeout(fun.id)
			fun.id = setTimeout(function () {
				fun.call(that, _args)
			}, delay)
		}
    }
	var debounceInput = debounce(init, 1000)

    var inputChange = function () {
        $('#kw').on('input', function () {
			debounceInput()
        })

    }

    window.keydownFun = function () {
        $('#kw').on('keydown', function (e) {
            e = e || window.event
            if (e && e.keyCode == 13){
                setTimeout(() => {
                    init()
                }, 800)

            }

        })

        $('#kw').on('blur', function () {
            setTimeout(() => {
                init()
            }, 800)
        })
    }
    window.historyFun = function () {
        //每当同一个文档的浏览历史(即history对象)出现变化(只有当前进、后退的时候才会,比如用户点击前进后退按钮,比如js调用go(-1)/back()/forward时,就会触发popstate事件。

        window.onpopstate = function (event) {
			console.log('操作了history')
            setTimeout(function() {
                init()
            }, 1000)
            var state = JSON.parse(JSON.stringify(event.state));
            console.log('你操作了历史,location:此时状态为::: ', state);
        };
    }

	// 上一页下一页以及所有页码
    window.pageClick = function () {
        $('#page a').on('click', function () {
            setTimeout(() => {
				console.log('执行了init方法')
                init()
            }, 800)
        })
    }

	init()
    historyFun()
    keydownFun()
    inputChange()

	// 解决手次在地址栏输入搜索内容可能加载不出效果出来的问题
	window.timer = setInterval(function() {
		init()
		window._bg = document.getElementById('_bg')
		_bg.onload = function() {
			clearInterval(window.timer)
		}
	}, 2000)

})(window);