油猴子脚本(神器)

脚本 专栏收录该内容
1 篇文章 0 订阅

1.简介

    英文名称“Greasemonkey”,中文名称“油猴子”,通过使用油猴子可以通过写脚本定制自己的网页,废话不多说,开始正文。。。

2.安装

    附件组件中搜索Greasemonkey,安装即可。

          

3.安装完成管理自己的脚本

    安装完成后浏览器右上角有图标,新建用户脚本即可。

4.附赠自己刚写的脚本

   

// ==UserScript==
// @name        导航菜单+腾讯视频vip
// @namespace   导航菜单
// @version     1.0
// @exclude     *.google.*
// @require     http://libs.baidu.com/jquery/1.9.1/jquery.min.js
// @grant       GM_addStyle
// ==/UserScript==
GM_addStyle("ul,li { margin: 0; padding: 0; font-size: 14px; line-height: 24px; color: #000; font-family: 'microsoft yahei',verdana,Tahoma; }ul, li { list-style: none; line-height: 22px; }ul { zoom: 1; }a, a:link, a:visited { cursor: pointer; text-decoration: none;}a:hover { cursor: pointer; }:after, :before { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; }/*一级导航*//*高度宽度*/.magx-main{position: absolute;top: 170px;z-index: 10000;height: 400px;width: 50px;color: #fff;background: #111213;}.magx-main a{color: #fff;}.magx-box{position: relative;perspective: 200px;-webkit-perspective: 200px;transform-style: preserve-3d;-webkit-transform-style: preserve-3d;height: 100%;z-index: 10000;}/*宽度高度/5*/.magx-ul li a{display: block;width: 50px;height: 80px;overflow: hidden;text-align: center;position: relative;transition: all .5s;-moz-transition: all .5s;-webkit-transition: all .5s;-o-transition: all .5s;}.magx-ul li a:before{content: '';position: absolute;left: -240px;top: 0px;width: 200px;height: 100%;background: #629feb;z-index: 10000;transform: skew(30deg, 0);-webkit-transform: skew(30deg, 0);-ms-transform: skew(30deg, 0);-moz-transform: skew(30deg, 0);-o-transform: skew(30deg, 0);transition: all .5s;-moz-transition: all .5s;-webkit-transition: all .5s;-o-transition: all .5s;}.magx-ul li a:hover{background: #357dd7;}.magx-ul li a:hover:before{left: -30px;}.magx-ul li a:after{content: '';position: absolute;width: 100%;height: 30px;left: 0;top: 20px;z-index: 10000;}.magx-ul li a span{margin-top: 60px;perspective: ;position: relative;z-index: 10000;}/*宽度*/.magx-slide{position: fixed;left: 50px;top: 0;width: 240px;height: 100%;background: #252829;transform: rotateY(120deg);-webkit-transform: rotateY(120deg);-moz-transform: rotateY(120deg);-o-transform: rotateY(120deg);-ms-transform: rotateY(120deg);z-index: 10000;visibility: hidden;transform-origin: 0 0;-webkit-transform-origin: 0 0;-moz-transform-origin: 0 0;-o-transform-origin: 0 0;-ms-transform-origin: 0 0;backface-visibility: hidden;-webkit-backface-visibility: hidden;transition: all .5s;-webkit-transition: all .5s;-moz-transition: all .5s;-o-transition: all .5s;transition-timing-function: cubic-bezier(.08, .72, .71, .96);-webkit-transition-timing-function: cubic-bezier(.08, .72, .71, .96);}.magx-slide.hover{transform: rotateY(0deg);-webkit-transform: rotateY(0deg);-moz-transform: rotateY(0deg);-o-transform: rotateY(0deg);-ms-transform: rotateY(0deg);z-index: 10000;visibility: visible;}/*二级菜单*/.magx-slide-o li a{line-height: 50px;display: block;padding: 0 20px;font-size: 14px;overflow: hidden;text-align: left;position: relative;transition: all .5s;-webkit-transition: all .5s;-moz-transition: all .5s;-o-transition: all .5s;}.magx-slide-o li a:before{content: '';position: absolute;left: -230%;top: 0px;width: 200%;height: 100%;background: #629feb;z-index: 10000;transform: skew(30deg, 0);-webkit-transform: skew(30deg, 0);-moz-transform: skew(30deg, 0);-o-transform: skew(30deg, 0);-ms-transform: skew(30deg, 0);transition: all .5s;-webkit-transition: all .5s;-moz-transition: all .5s;-o-transition: all .5s;}.magx-slide-o li a:hover{background: #357dd7;}.magx-slide-o li a:hover:before{left: -60px;}.magx-slide-o li a span{position: relative;z-index: 10000;}.magx-slide-o li a img{position: relative;z-index: 10000;}.magx-slide-o {display: none;}");

(function () {
  //功能一导航
	var menuInfo = [
    {
        menu : '搜索',
	    detail : [{
	        name : '百度',
		    url : 'http://www.baidu.com',
			iconbase64 : 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAACoklEQVQ4jZ2T6UuUURSHzz9QRhCpJJVZERUFmVmp7bZYZiUttpiEVliEtCctJtGHPgQGEm1EUbQHUlCBWSI1NbagJfheX3XG1LSmhWL0NTtPH6ZmEulLF86XcznPPb/7O0eksAYprEEK3iKHqpED1Uj+a2TvK2TXC2SHG8lzIVufILkVyKZyJLsMySpF1t1HpLCG/z2ScQ+Rgre9LqzaTj1S0K7VVR0KYKxOtY2jvQAr7iBysLpH0nGUPTvaGBVTp5kZzWobh2mTGzVljldt4/QEpJcgsr8qmPj8qRuAXXltTB7fQE5mC26Xn7hx9cyd4cHt8vcEpN1GZN9rADyNXWxY26y5Oa1668ZXcjJbKC7yAVBc5KO4yIfb5cfr6QoBFt1EZPdLAK5d+sKQgZYmxjUogG0cOjtCsm3jsGrZO1YuadLWlh8BwPxriOysBOC5y09CbANLFzZxt+QbtnHYvKGFvC2t2Mbh2NGPTBpfT0ykwe3yK4DMvYLI9mcAdHfDjatftbjIp7ZxSE326ogoo2NibNYsf6e2cViW6iVtvlcb6gOOyKxLiGx7Gmyzo+MntnFIm+dlZJTR6HDDn1ixuElt4/D44XfltzKZfhGR3Iog4E1VJymzvYwYVMffxdHhhnHDbbIymrHrQlZK4nlENpUDoAqH89t18ACjQweaXoDBA4yOHWbzqPR78Gdl6jlEssuCgKMFHzS8r6WR/SwiwywN71OrEWEWUf0tHdTf0mERhssXvoQA8WcRySoNtuRp7GJLdivJSR7SU5o4cdzHieM+Zk1tJHZ0PRvXN9P2/kdIQtxpRNY9+Hu4FKgEnvwjKntM4sRTiKy+F1iK9BJkyW0k9Say4HrA49mXkZkXkaQLSMJ5ZMo5JP5M4OXYU8iEk/wC6ZkDX3ssK20AAAAASUVORK5CYII=',
	    },{
	        name : '搜狗',
		    url : 'http://www.sogou.com',
			iconbase64 : 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAACx0lEQVQ4jXWTTWhcVRiGP1oVlGbm3u/cO39OTQcMRQJ2JMUQMuee0zj5mTQ/Njpq0BoY4iZZuHFTtLgQ2oKbQF24siKlkbbowkURXLiUUkqXKl0UCdFNu6rMTDPJ4+K2DSn2wNmc873P934v54g8saiFNaxewOmdHWfaO860cXoHqxcYDe2T9bvCoTCL1Us4s4nT0/igSi0bUsuG+KCK09M4s4nVdYbC7F5xNQhIzE2crjOsmac2GdYMTtdJzE2qQbB7kehlnF5CZD+JeYW6+YJG7kemcz9zPPcDjXiNydyH2BeKiOxPIXr54cyBx+sGw5phLFzcqkdb7UaezmwRFkptThT/7c4UdjqNPN16tM2Yfs6wZvC6QS3wgjUX8eYzERHq0a/tRp7OfAneKV/jeDZkLuqjWTrMXP4jpnPXmIi+TF2bT7HmouB0g1pwRESERvxNZ7ZIt1mGpf4HtCrf0eo/RlOeezyuyL6Hzo/gdEN6VruMZFREhMmMcqJ4pbd4cHurVaG3OkBvdQCWK5u8Xz5LsxA/Bo1ktGe1K9uJ6TDUF+1Ju/lilVblK1Ze/qu3MsBWq8KD916ChdJdGmZMRATfF20npiMk5k9sOCoiwoRZwu/CGJJnWTo4wcn+37vNchrsVHw9BYQ1EvOHYMPzeF0TEeGN6BaN/H1mC9/yZmmRt4pHaRZe5+3SL535Iu2pPIxHv6UAXcOG54VRHSTRe/jgEF4/ph7fbk/l6cwU6MwV0z1TSMX1+B98WMMHh3B6j1EdTK3a8AzOXMenr4tjOshk7iTT8Smm82eZik8xHs0xIs+n3c05XHhmNzSRZ7D6PV5vYcNXn/phHtVP5FZIgtf2HorsI9FPSPQuzvyE12Vs4LCBw+sy3pzDHoj5oLzGu+W/GY+O/j/dHohJwlWsXsWZGzhzg0SvkoSreP2a+cIVFor9j+r/A2p/aeKOoPrgAAAAAElFTkSuQmCC',
	    },{
	        name : '必应',
		    url : 'http://cn.bing.com',
			iconbase64 : 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAABOklEQVRYhe3XL46EMBQG8DnA3IITcIQ5AwfYG3AFDL4CUYkiqRoxSe3zTVZVDaYOV8Uo1DeqyS7zh5Yp2xU0qYLAjz7eRzkc6xop52EHvDqQMYaKCF/nMzLG0gB6awEAvbVolEIhRBqAG7210VcjCDCM4w7YAf8DkDGGnPN0gJxzkDG4XK8opfwIs7oEnda/8qHTGqWUwSVaDSiEwG2aMB8/U9MHsxqQMQYy5gEwx1RE23VBRfQW4BDvVuIjgPtizs/7M8AcMoxjGkAhxMv3YVNAzjkapZ4++SYAdzGf2jtwo1TcLqiIFtsPAMgYrx1UEMBn9NYGJWI0gEvAqFH8PQyLN75NEzqtcWrboBsvAo51jVPbotP6aeYD/nVeDXBz3ucu42NsTrz/jDLGUEqJRqlom5EgwFZzB9wBVxH9tlDC1cUAAAAASUVORK5CYII=',
	    }]
    },{
        menu : '素材',
		detail : [{
	        name : '花瓣',
		    url : 'http://huaban.com/',
			iconbase64 : 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAABzklEQVQ4jZ3N/08ScRzH8bf/Vv7SWjnbuixNbFm4cm6t4Q8ELjIjAiIuv+FgnChcqQ0mToFJ/0U/OX9o6wfgUM+7+9x5sNYviq9+YFdo0249t9eP78ebGoVtmBsFmLk8jlayMDIrJyyZbjAh/Y0tffysxZK3tQWBV6Jzu0og0lT8oZby5h2s0V+AuAo9lYGeSEGemELtzgNIQ07I3kl0Hl4OLGZw4PKg2udo79YgqjcHsPfkmT3A+nwG6O1Htfcu6sOjfwB/qEWNrdJJJ8Dm46jde3QhUOnhsPf4aRsIRJpkbhbNTmDf9Ry1gYeXApUbHGS3D0p0bpfM4pcdCzDENUhDzn8D1zlU+xzQFgSemtvlJQvQhTQkhz2g0sNBDX8YpGa5fMUCWGLRNlB3jkEJ8iUiIjK3il/NXB4sLtgCpPsjkN0+yC9e14iIyCiVus1c/tgOUB8ZgzzxCrLbh/1xz0+yOlovzFwIcA5Iw6OQvZM4fBn4DRy4PC3qqMv4lF1n83Fo0zGokRmoQb69yDTUIA/FHz4LjHtB5+oyxNWwnlw+1hMpsFiijb2ftQ0QEZG2lruqp8Sd/was2LJ4TRcyWXU2/v3wbfSHMhU6PQ/8AviCi5urSSRnAAAAAElFTkSuQmCC',
	    },{
	        name : '昵图',
		    url : 'http://www.nipic.com/index.html',
			iconbase64 : 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAACLUlEQVQ4jZXST0hUURQG8G+sDDJl3rmQEQkR4SJoUwhBLWoTgSQJzfgeBlHQokCZyMb3zgWZbCEtpEXQYM27EG1CDFqWLSxaFG3EZLR690QUEYEUgY3SwmnhjDbjGHWWl8uP8+cDAODAyCYkMvVApg6d2W1ww46RHZktVunrQnp4uoGb80jUR6QTQvqZJf403cDNWCkv/ADPfIUbDsIzc3DDxbNtwy2i9IIoXbQUnLfE00L8zSpeFKWLUTzoWAXc8Cc8U4RnXsM1X9YAirOzjUFrhJ7NQvqxKF208eDkWiCZOwHPvKsGIgr2lr9a4kfrA26uvRZgnSAdOX535PjdQjz134AQjwvxmBCPWeK8VfzZkn+8EnDNBDxzGm7uHDwzX9kBX7FOcNMq3QsglgHqAMSqgV54ZgFumIUbvq+8Aj8oLfPpbGOgxOH+KfQ1VAHhDJLhUXgmDdcUVgDiJVF8rzTKpJB+LsRLQhz+4w64EFFwQ5QuiuJ5IT0qTv/h0hjrA/6+od2W+JcQT1nS18ojAEBE6Z15XNz6V+B262CbEC9Z4suWePBPwCrdORv3d9VIYni3HOUnLQMXLOkf+aZLVA2I0kMR+cdqdGAewjPf4YaLr7YPvLAU9JXStwyQnpmMp+JC/NISz60CXXcOIpk7hPZbDrpG9t/fczXxVvH4BI5sXG45OLO8RF0UxYUS9hHrVExIpyLqaSo/jCKxIaLglJBOCemUJb/rDdKNAPAbObOBoHK0K1sAAAAASUVORK5CYII=',
	    },{
	        name : 'easyicon',
		    url : 'http://www.easyicon.net/',
			iconbase64 : 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAB3klEQVQ4jX2Tv2saYRjHn+nBiCQWA0c2FxukhVbSISJUCZilqAcOpUOHczlwC3QuGYQojmY9MyRBXVLKOxkwkuHAG4otqJsnBEKylSf/wLdDuGub6D3wjM+H74/3JfpnynoJ7fYJiIhcd47x+Cdcdw4iIqUUmBkUNM1GHZZlQURwe3eP3w8PEBGICL4cHGAjFAoGEBHt7qRQNU2ICKaTGZjZh0wns2DAcasFZkZZL0FEcFSrgZmxv5eFiPj2Vs5lvw9mRi6TRtU0EYuEkcukkUwkfBWWZS2H3N7dQ0SwWNxgfy8LZsbIcTAYXsN1534eSqnVgOHVABffv2HkOJhOZrjs96GUwmB47Ss4PztdbWOxuMGPX2OMHAe2bcO2bSil4Kk7qtWCM6gYBvRCEUopdLo9dLo9tNsnsCwLyUQi+B14Aca3NFQMA81GHcetFsp6CcwMZsYa0eoMmBl6oeh7fbpesHqhuBzgSfT8Pt1Ot+dXvBSQz74HM+Pw8OtSgGdjaZDJ7ZdYIwIz4/zs9Nnx508fwcz4kM9Di66jYhh/IRuhEGKRMOLaJmKRMFKvX/137P2Hqmkil0n7SpqN+iNkdyeFWCQMLboOZsa7t2+eKbBtG9qL6GNL2ibiW5pf6R9x1bqqcaXb2AAAAABJRU5ErkJggg==',
	    }]
    },{
        menu : '购物',
		detail : [{
	        name : '淘宝',
		    url : 'https://www.taobao.com',
			iconbase64 : 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAqUlEQVQ4jaWTsRGAIAxFs4Gj0DgGtTtQOIY7sAO1EzCOOxgLiCQRUfTf/TtE/zPBCAAAGAPiMvU5BgQRJjkj1zfe7JAguEw5tKfQPBYAX5NWn/YzpADmsQRWLyHcdP8C0IGa+H4TUGtFgy8AZ2Tp3RVwgH7b6wpaLfw6g8cWuGpnwStErHxG/aA2Vw4XQAxpLBtj2xxl+h82OwgQXd/5DGudpX0VOtMVPgBRELV9pv7F+wAAAABJRU5ErkJggg==',
	    },{
	        name : '京东',
		    url : 'https://www.jd.com/',
			iconbase64 : 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAy0lEQVQ4jc3TIQqEUBDGcS/hBcQDyB5gwWyxvmI1bdxL2IxbtlpeNngCwbBgEAxbVFgwiDaD8N/0BEVYXIsDX5wfzDCjpbrBkWjnA16XK4UrSHWDwhWLZKb1G2iCEIBUN1jX1A80QbgPUA257dDFCQCfx3M/oKKQv4HS8wHmPe0GClccA963OwC57WwDXZww9cMmkJkWY1UzVvVyB5lpUXo+bSQBaCM5A20kKVxBE4SMVQ1A6flLQM019QNtJOeDWVcXJ/PsJ/6FvfkCxwFl51kLjdoAAAAASUVORK5CYII=',
	    },{
	        name : '天猫',
		    url : 'https://www.tmall.com',
			iconbase64 : 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAQElEQVQ4jWNgYGBg2MzA8J8czADTvIOB4f9+EvEOmCGbydAMwxgGEAtoZwA6RtdA0AujBgxLA4hOyhRlJkqzMwCOOAUjv7eE+gAAAABJRU5ErkJggg==',
	    },{
	        name : '一号店',
		    url : 'http://www.yhd.com',
			iconbase64 : 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAA4UlEQVQ4jaWTMQqEMBBF03iAxcLCzspTCJ5B8AYWsnfYYi+gVxFyh1SKIKQTCw/gkiYWwt/KoCZmA/shTSbzBn7+kMUP0T8C42HEQ/8IIGmDdZ5OtcUPsfghiK15yDNI3gIAJG2M7zTAPnWuKxwlaaNqtwBGPHRpoqbu2oRwA1ynHjXX1T2AR7EySvIWmxAa4PN62wE8itWlCTAWpbsHJg155gYYi9II6NLEDXBnZJcmv3PAiAdJG615E+LkkTVI1wwA0GJsBazzpAEkb90Adz9gBezbyIgHUTydAWob/wV8ARTCpDZEwN5jAAAAAElFTkSuQmCC',
	    },{
	        name : '亚马逊',
		    url : 'https://www.amazon.cn',
			iconbase64 : 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAABdElEQVQ4jZWTP0vDQBTAD2z6BRw1H0Cnmt1Js4uYfAPr7pAPIKJQEJQGVyGLXVoLLoKtu3qDg0LiYoc0BQctqTo49OdwMfZfaH3wOO7de7/35+4EkAeOgJDZJUxi8gI4HD0NggDHcdiyLCzbxvO8LFBJAJ1Bi5SSOU0jN6KO40wCdATQHbQUd3bIaRrrponv++l+UdcnAbpjgCiKkFLSbDa5qNexbDutYiZAEAQUDGOshZkBvxkLhkEURZRd93+AX+f9gwMAtovF1BbH8XRAYWUlDVg3zaEbKbtuBuAzSi1SShZ0nZymsaDrlF2XLdtmzTTpvXXo+x7c7SpNAZfL8O5P6nFYbjZV4MMenIsBQLsBFQG3u9CLsgEfbXipqmTV+ZEZtGoKUhFwtaqyPB3D4zE8ncDNhsraqkG7oc4TwN9Tfr1XjhWhnM8F/WTlcgnCa+X3HStNnnJprNR3H57P/ioIG1lNlQTqO58CX9OnmMpXEpP/AWTQTUDpCM9IAAAAAElFTkSuQmCC',
	    },{
	        name : '当当',
		    url : 'http://www.dangdang.com/',
			iconbase64 : 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAABvElEQVQ4jXWTW3LbMAxFwTr7jCgvIBOLrLsW8yHLXUJNenMhTj8oyfFMqxkMKfDidQHIWBbGOmPrjL1fGWtmKDdsXbAldakLQ7kx1oy9X7F1ZqwzY1mQY5mBRkMBoPH/r22HAo1jmRFbF5rCIThMdEicdqREh0S3W0ucMNFxCI6mYOuCDCUDYILHBI/E8+qgIReHXNzzP553HMBQMmIfERQkOCR177qmacIZE840FKVnKckhwYGCfURkKNceQUE3JhqgYOIJE0+sHlE6ZgMN5YqMdYamSPZImJDo+RF/IfFj50Dix6pbMdlDU8Y6I7ZkFJA4IXEj0iHphMRzl3R6fYsTCtiSO4lKT/lrPZXnfesugKoi+YREj25tHGpa6+3eTfC8XXoUSe4fWXlMOIPyjQMFyacOTL6D0k/Mbtx52R1lj+oXtnOQ9tniNeOuV93nAAWJn0jyvY0lrYOkIKlHM+nZDYl+12+lHMI2rSuJdishfvb0guNtM44euXReTOrOJE1ImFYOcm8jCvqN8W1ZdJX+/loctF7CtrZjWXi/J94ffVXt/crx/puxLNiSsY+MLZmhZMY/N8Z7xtaFv8NE6qo6FMGyAAAAAElFTkSuQmCC',
	    },{
	        name : '苏宁',
		    url : 'http://www.suning.com/',
			iconbase64 : 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAABAUlEQVQ4ja2TQUoDQRBFf/AQMWToVcipXLgVLxLIXsg6o6RaXBgwojdQMCeIjoIeIC4kzIjPRXTMpHtiEAtqU1XvF1XVLdUYQ7XwmuB1yVCturo4PFIXU4YXeIEpY6TuZsjUw5SXUJ2bcky9UMCr+BX+8SImsC0MXqzDndWkcy4AIrHOEk6V4PUQLR7vwrgZFzBlpEqE1/V6t8VJA2ZHwAcA3A9YHDdiC70IBU534HafwG72lrmqyOR7hMcy+HIOgHOu4gA8n63CT6RKwiW+v5VNKzBA8RouMTjj3QHk83CEfA7Tw/gZ/+chmfpbihSY+pv/xV8+U2SkNl5XX96uq/sETOjoW4+PySEAAAAASUVORK5CYII=',
	    }]
    },{
        menu : '音乐',
		detail : [{
	        name : '网易',
		    url : 'http://music.163.com/#',
			iconbase64 : 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAB9ElEQVQ4jZ2TvUsjQRjGt1gmMTYS7VIEtEhpF8E+2PgnCAqCqNj4J2ghOauzsTMqSBBREAW1UbGwERuxUDtRWHW/jJvkNpvMzu+K5TzzIRw3MNXM+5tn3vd5tB1NE4aur7zoumMKwb/sF113DV1f2dE0ob3q+s9vLycS/FpdRVUqyMdHvOnpZpAQea3Ty6XRUWr7+3izswAEx8c0bm5QpRJmPP5ViaM1FXd34xcKACjHobq0BICTyWDG41h9fW0qmwB/iv31daxkksriYqTg8BBvchKrp+d7wHsuB0CtWMQUAjudpnWFz8+42WxnQG1vD+X72KkUphAER0cgJcHZGapc5mNsjNC2Ua6L3d/fDgjf3ghOTzGFwOrtBaXwNzcpz88D8J7L4Q4Pg5T4hUI7AKWobW9H8lOpqBdra5RGRgDwZmYwhaB+cUFoWR0UGAb1y8vPg8b1NTQaNG5vQUqcwcHoq7u7EIbtAH9jA6TEHhjAFAInk4kaZ5p4ExNRQSyGvLtDPjy0A9xsFsKQ4OQEs6sr6kXL2D7GxwGoLCx09kE1n49GeXCAnU43Gaw8NwdBgLy/x0om/wKarByLUV1eBqVQvo98eqJWLBIaBgCNq6vPMX9auVOY3KEh/K2tyNKuS/38HG9qCjORaA3TD+1LnN3/ifNveGyHQ3euJwIAAAAASUVORK5CYII=',
	    },{
	        name : '百度',
		    url : 'http://music.baidu.com/',
			iconbase64 : 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAACoklEQVQ4jZ2T6UuUURSHzz9QRhCpJJVZERUFmVmp7bZYZiUttpiEVliEtCctJtGHPgQGEm1EUbQHUlCBWSI1NbagJfheX3XG1LSmhWL0NTtPH6ZmEulLF86XcznPPb/7O0eksAYprEEK3iKHqpED1Uj+a2TvK2TXC2SHG8lzIVufILkVyKZyJLsMySpF1t1HpLCG/z2ScQ+Rgre9LqzaTj1S0K7VVR0KYKxOtY2jvQAr7iBysLpH0nGUPTvaGBVTp5kZzWobh2mTGzVljldt4/QEpJcgsr8qmPj8qRuAXXltTB7fQE5mC26Xn7hx9cyd4cHt8vcEpN1GZN9rADyNXWxY26y5Oa1668ZXcjJbKC7yAVBc5KO4yIfb5cfr6QoBFt1EZPdLAK5d+sKQgZYmxjUogG0cOjtCsm3jsGrZO1YuadLWlh8BwPxriOysBOC5y09CbANLFzZxt+QbtnHYvKGFvC2t2M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oHzGvcooQQkjUkdvI+5UQA+n88alRamqE33U4rZf0KhG1MQxZcmS38d4ciL50pt1qvB4pRQN3GsK2XtKjwIKNVZPYCHuOd2dD9GzhcRSimjsPeU/Lf4wt+GA7muJJOtnV2U8kg0RtDLPiYCTJxUJysZh2KqHpaQJtvJJChbEe4rpHdLGIf2b8m1uI2+i3opOB5GTwxFIK+v3lNGRdeszbsyA5GQgOBjGrvH1zQLTvQEFiSBYT7TSemksgMzSncaLrDEQ7DdFOI26lgv6XZH/KMcUGM8+uDFHLszYWxYZ6UN16UAY9qG49ct9dxLBZBWmEQtxKfVu0HNTueM4zZur40kCG69cgg0cfi3HLUImHxhJ8t7DgBzP+Lg5kvvnRT9hdH4oQQgK98vIpTv5gpk/26mc/9XyKo+9+MTG6nbz/AHjn3458b9yuAAAAAElFTkSuQmCC',
	    }]
    },{
        menu : '视频',
		detail : [{
	        name : '腾讯',
		    url : 'https://v.qq.com/',
			iconbase64 : 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAClUlEQVQ4jZWTa0wNABiGv6Vh5YRVNrSwMazaGpbcT/RDLiuTkVXujLWFzC2jRYWiUzkVSgnZSQpb05KOKV0cXZycOF1cckSNUsyhxeOHH5Qhz89v3/v8eb9PpA8eJhb0nfUbNxPP3Jtgjgk8O6n3bOFAv4JUKMqoG6nbaUhlka4JpxpwM8LsF6Bs5/OyFiL+HNY47CFTKCsSEvRCRqVwusqVrZU5uOhhSj3MbIaF7XStbSHgd8HZ0XkkW1OYO4jd+UJ0gTORhcLFaiHHYM/OmktM0sO0BnB/CSHdlPYWJDnoODGUkxds8c8QnrbpaO00EVmoIL7cnhyDPdmPJxJQVYLzI5jaBJu6+LajjYU/BHEjmjg8hLUpk/FWCwaTFgC+QVbVNmJLhMu14yloFCIqN+NaBTOMPcx/DdOf4C09x4a/N++xYoXaEa8Y4W7dVT5+6aL7qxmAksYkYouFlAd2ZNcJG0vTmKUzo6wz4/GUYvkQZtPRum0Qy1S2LIgSNFo1D421PH/1goZXtRy84UhY/gCOai05WyH45l9nbmEbnjVmlAZCpCPU+k3jGgt8Y62Zd1i4di+dhkYTWbdPsTpZCM4UQnOFqHxhqSadKZde4pHXjFctKhER6Thk9cwQKKxSDUZ5RNDqNaTfCsM7WtiQKASfE9alKnFKKMXljBH3TCMztOz92YJKUVYfJKyPt8RHZcnio4LPMWFNrLAyZhzO4Wewi9Az4eR9nJKqPzlcQdm7xjyLC837hRi14JcmBCQKSyLnMzYkHtlezLB9BYwKL2JM6vPyv1yjnC+/E1Q6MDgO8c9CAm8gW3Kx2nUTRWjRWxsNfv/8BxERC/W7T9bRj1Ec12OT1lE9JIugfgV/ZWg2y/9n/zulXrmAHYkbbQAAAABJRU5ErkJggg==',
	    },{
	        name : '优酷',
		    url : 'http://www.youku.com/',
			iconbase64 : 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAACVklEQVQ4jY2TvUvrUBjGz+TgKLh6OztaFR0UFCnoJFbBj1vEdusgxSKICu0syeQqFOw/4GxVFC2pEFvaQqOmESdBaWJiE9OenOS5Q8WPXr3cB57pPO/vfL0vIW1KyggkFPCJKoSkAj2pQE9UISQU8EkZgfb8uzYk27cpu9y27FlbsofvvC171qbschuS7ftSHCvYvrUKS8clhuQtowePLiTTQ50BdQZIpoeDRxfJW0bjEsNahaVjhU+QaJFy0TLFTtVhRcPFTyoaLnaqDouWKaJFyhFCCFkWzcDKlW2tlho0r78VPz39CMnrLlZLDbpyZVvLohkgQeGFn82ZSN03P1IdHUAoBFxefgtJ3TcxmzMRFF540ndYE/wZFdka/UgQAiwuAj09wOAgsL8PND82yNYo/BkVfYc1gfgzqu4/UqE1va+AeLzlhQWgtxfo7ga2tgAAWtOD/0iFP6PqpP9Y0wdONGi0DTAz0/LYGODzAV1dwPp6C0A9DJxo6D/WdDJ0qgvDZzoE1fkK+PUL6OxsXWFvD3h9fV8WVAfDZzqGTnWBjJwb/OiFgd07+78fcffOxuiFgZFzgyfjWT0wkatbc6JJs9rbKf7xjVnNwZxo0olc3RrP6q3WnhRNbkq0EJNsJjyzH4uFZ4aYZLMp0cKkaHLvnThdsH3Bkp0OlhuIVJo09eAgX3dhOB4Mx0O+7iL14CBSadJguYFgyU5PF9rmYV6yfUs3lAtdO9bvGwffOXTtWEs3lJtvH6bPCstOIKw4fKTKhIji6hHF1SNVJoQVhw/Lzl/j/AeclNf9ZQfBmwAAAABJRU5ErkJggg==',
	    },{
	        name : '爱奇艺',
		    url : 'http://www.iqiyi.com/',
			iconbase64 : 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAlUlEQVQ4jaWTwQ2AIAxFO7JeODKNhiU46w4ketclvgetlkYMRZKGBsLrawCKycMFaoqYPKj1MAe5QFj3Gdax7vMDAIBuIFMAeADdYFfnM7eBbIX15F5pJr0o9aoBrKM3mwxKADbTxaoBpTwDLNt037MJwFr9eOYM0lf8lpMmS9DXO8gMpHrtWDbxlLmiJfrxauHvdz4AIpql4O+0qScAAAAASUVORK5CYII=',
	    },{
	        name : '搜狐',
		    url : 'http://tv.sohu.com/',
			iconbase64 : 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAACvElEQVQ4jX2SXUhTYRjHnznnojbUOUVteWaMEA1Wos2PKNBEiUjDwgrKQCMwP8oktZmFYhOiYQzENsTIIHaK7vKiqNCi5QgpUoccOULunG1nubkdm7qbp4vY2kf0wHv1/v+/5xMgJjZpmvCN6QfXblye+nm98b27+YTNfe2s1f/koW5rdVkVqw8HSZLCjXFjJz860r+9tJQX+Rdcmlf7Hg3rXQ2lvM+oM5AkKYwz/7g3PGgcGOhva201aLt7ddPT02WxSbaphQJ3S63N03dpJgry9u7AYE5yikcEAhSBAI+WH56hKEoR+Pi5JK5Fliac549wPqPOAAAAqwvLqnRhYjBkVhFK2uPxJG+srGQyIEOXpsqy9dW2LxLy69XzZlfdAQwuzavhjvb2YMgsAgGazeZ6AIDNRZpgQIZMUiayyoOb/gejnaGyKYoSu2qLeJ9RZ4CSoiJryJwikfIhURgAMmR2ZKEjKx+54kprcHZODQDg1ba+5FpOfQcVoaQjyw/3GgmIeKxEwQMA+EaG9M4adRBUhJLOhgQUgQAz5enc/wCsRMH7xx43AQB4etufOSsKEC4UHbL2wU48A2IsgES0WCyF/wK4q09PbS7SRGjtrorSVfe54zZ409V9n4ZUNIMUbZCKL6rrpqIAyYRnY3zyYuQWeNP4VUdeLq4PaU2wtbCssgvlwchs3o4ePUmSwnXdSHeAsiui7uD1u0oHoeIdebkY+PZFAwAA3tabBkaQhkxiRhji0lRZ+KdkQ4CyK/wsKw9Mfypba2yZsCelB9mMbPR0dUyGqRRFibnymhlWmoNsSi4ygrS46f9daTpyJ2tnOI6TRJ0oRVFib1uPwbl7P3LFx9C5txDZXXuQEWUgkyD/YxbIcO1K20ScOTKCs3Nqb/stk7u63ubILkBWmoPO/FKbt6ndFPhg0cTqfwM5yZtCxh4ojAAAAABJRU5ErkJggg==',
	    },{
	        name : '乐视',
		    url : 'http://www.le.com/',
			iconbase64 : 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAA2UlEQVQ4jdVS2w2DMAxkhI5g2UKK/ZURGKEjMEJHYANGYARGYAQrzgCMwAjpB4XySFF/sXQ/sXOX3Lko7l+GMkWSFEmSIY+5GYXSB5QmEg+G0hm5em0ulxecBbg9zszgQQEelwQB+bW+jrhXKL0CPAylW0guCQx5jCQpouj8FQeG3K7nJOkngYKDrzcyRRTdzhnyaOTqK4Lq2DOUyVA6hdL/ZeJBsT2nkzHRiPuA0gSUxoj7nfomPoXSZ03ckQE/t3tyFnN1MavwkIOCg31sH6CogqtyS3fDegMr9/IOiWjN0wAAAABJRU5ErkJggg==',
	    },{
	        name : '土豆',
		    url : 'http://www.tudou.com/',
			iconbase64 : 'data:image/png;base64,iVBORw0KGgoAAAANSU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w1ODtW62GOaQnNlCY05QGK5m2STjxTTFImVHjQmH4n2JTSWaV6rcfG6cZQEvROlw70Y2l3qlPQ6t6QZVUmtVSXV+D9f8kiqUZX0Ore8VOaUxoFQ6G8mgv8mEbwfmwAAAABJRU5ErkJggg==',
	    },{
	        name : 'B站',
		    url : 'http://www.bilibili.com/index.html',
			iconbase64 : 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAABnElEQVRYhe2WQU7CUBCGfzd4BQwngo3RqNFoNB4AuAJnYMeGN3MIewUWklAj/5zAQBRdwUIjRheV0FKxPgONRieZTd/M/F/nvfYN8GNNuQfhA5S3cNe736rh+odQG0FthDa3fVI3oHYPtdd3n0J44CXe7p9BbRqrMfDKh9hdLNkPQvqnC+KvELvxA4jaN01BOO5/mqc8+TBPr3f8AABAeA6xl2QxPkO5tyT++ENx6R9lizVYgLAGsQ6U44UiK3COIdaBsIYGCwttC0sQ9lYvusSFPWhYir95fuLzjoRoBpuAYzV/8Xd3rCLa80R7ArS6W/4nNsNa3S0Ig4VPswMonxIP1yEeh0gCPCLVlnVbSu/HAyjLUBtEznK2QEa8P4ANYuvZF0pW/DcA/LbIu94/wC8AmB8q4fALAJ/HewM4q0A4hNgNnFUyAbLif9+PaP0AOV5GjsUkAMfp61h5AcfiysU1LEF5kdAS6wDCWqotebmwBjSDTSjD/MXtKhrJZu3JdS5kOB9KZ9ZgAWp1qF1COVmD6CSqbfX0WP6X7Q1Vaa0XbRVK+wAAAABJRU5ErkJggg==',
	    }]
    },
    ];
	navigation(menuInfo);
	function navigation(menuInfo){
		if (self.frameElement && self.frameElement.tagName == "IFRAME") {
		    return;
		}
		if (window.frames.length != parent.frames.length) { 
        return; 
    }       
    if (self != top) {
        return;
    }    
		var div = '<div class="magx-main"><div class="magx-box"></div></div>';
		$(document.body).append(div);
		var menuSize = menuInfo.length;
		//console.log(menuSize);
		var html = '<div class="magx"><ul class="magx-ul">';
		for(var i = 0; i < menuSize; i++){
			var menu_i = menuInfo[i];
			html += '<li><a href="#" class="home"><span>' + menu_i.menu + '</span></a></li>';
		}
		html += '</ul></div>';
		$('.magx-box').append(html);
		html = '';
		html += '<div class="magx-slide">';
		for(var i = 0; i < menuSize; i++){
			var menu_i = menuInfo[i];
			html += '<div class="magx-slide-o"><ul>';
			var detailSize = menuInfo[i].detail.length;
			//console.log(detailSize);
			for(var j = 0; j < detailSize; j++){
				html += '<li><a href="' + menuInfo[i].detail[j].url + '" target="_Blank"><img src="' + menuInfo[i].detail[j].iconbase64 + '"/><span>' + menuInfo[i].detail[j].name + '</span></a></li>';
			}
			html += '</ul></div>';
		}
		$('.magx').after(html);
	}
	var Top = (window.screen.height - $('.magx-main').height())/2 - 100;
	//console.log(Top);
	$(window).scroll(function(){
		var offset = Top + $(window).scrollTop()+'px';
		//console.log(offset);
		$('.magx-main').animate({top:offset},
		{	duration: 600,
     		queue: false
     	});
	});
	var thisTime;
	$('.magx-ul li').mouseleave(function(even){
			thisTime	=	setTimeout(thisMouseOut,1000);
	})

	$('.magx-ul li').mouseenter(function(){
		clearTimeout(thisTime);
		var thisUB	=	$('.magx-ul li').index($(this));
		if($.trim($('.magx-slide-o').eq(thisUB).html()) != "")
		{
			$('.magx-slide').addClass('hover');
			$('.magx-slide-o').hide();
			$('.magx-slide-o').eq(thisUB).show();
		}
		else{
			$('.magx-slide').removeClass('hover');
		}
		
	})
	
	function thisMouseOut(){
		$('.magx-slide').removeClass('hover');
	}
	 
	$('.magx-slide').mouseenter(function(){
		clearTimeout(thisTime);
		$('.magx-slide').addClass('hover');
	})
	$('.magx-slide').mouseleave(function(){
		$('.magx-slide').removeClass('hover');
	})
	//功能2vip解析
	vip();
	function vip(){
	    var vqq = /qq/i;
	    var videoUrl = window.location.href;
	    var vipButton = '<a id="vipButton" style="cursor:pointer;text-decoration:none;color:red;padding:0 5px;border:1px solid red;">vip在线解析</a>';
	    if (vqq.test(videoUrl)) {
            var qqTitle = $('.video_title');
            //var qqTitle = $('#vmm_moe');
            qqTitle.eq(0).after(vipButton);
			$('#vipButton').css({
				'font-size': '24px',
				'display': 'inline-block',
				'height': '36px',
				'line-height': '36px',
				'margin': '0 5px'
			});
		}
		$('#vipButton').on('click', function () {
			window.location.href = 'http://vip.ifkdy.com/?url=' + videoUrl;
		});
	}
}) ();

    目前并不是所有的地址都兼容此脚本,本人还在测试中,如有问题请联系本人。

// ==UserScript==
// @name        鼠标美化
// @namespace   鼠标美化
// @version     1
// @grant       GM_addStyle
// ==/UserScript==
GM_addStyle("body{cursor:url('http://bbs.acg-moe.com/source/plugin/wz_shub/template/img/34.cur'), url(http://bbs.acg-moe.com/source/plugin/wz_shub/template/img/34.cur), auto;} a {CURSOR: url('http://bbs.acg-moe.com/source/plugin/wz_shub/template/img/34_1.cur'), url(http://bbs.acg-moe.com/source/plugin/wz_shub/template/img/34_1.cur), auto;} ");
(function () {
}) ();


  • 5
    点赞
  • 0
    评论
  • 7
    收藏
  • 打赏
    打赏
  • 扫一扫,分享海报

©️2022 CSDN 皮肤主题:大白 设计师:CSDN官方博客 返回首页

打赏作者

xiangzi7758258

你的鼓励将是我创作的最大动力

¥2 ¥4 ¥6 ¥10 ¥20
输入1-500的整数
余额支付 (余额:-- )
扫码支付
扫码支付:¥2
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、C币套餐、付费专栏及课程。

余额充值