// ==UserScript== // @name 网易邮箱净化-标签页 // @namespace https://greasyfork.org/users/158180 // @version 0.1 // @description 由于天翼云表单name值的问题导致Lastpass自动填写出现问题,启用本脚本修复 // @author Shiyunjin // @match http*://mail.163.com/js6/main.jsp* // @match http*://mail.126.com/js6/main.jsp* // @match http*://mail.yeah.net/js6/main.jsp* // @grant none // @run-at document-start // @downloadURL none // ==/UserScript== $G.set = function(a,b,c){ if(a=="multiTabConf"){ b = [ {"tabid":"t0","nonClose":true,"module":"welcome.WelcomeModule","param":{},"name":"home","text":"首页","def":true,"display":1}, {"tabid":"t1","module":"contact.ContactModule","display":1,"param":{},"nonClose":true,"text":"通讯录","name":"address","icon":"address"}, {"name":"recommend_app","tabid":"t2","text":"应用中心","display":1,"group":"appMoudle","nonClose":true,"icon":"app","fullScreen":true}, {"tabid":"t3","nonClose":true,"module":"mbox.ListModule","param":{"fid":1},"def":false,"display":1,"text":"收件箱","icon":"inbox","name":"inbox","group":"mbox.ListModule"} ] } this._conf[a] = c ? b: $.Object.isArray(b) ? $.Array.union(this._conf[a] || [], b) : $.Object.extend(this._conf[a], b) } $.Object.extend = function(a, b, c) { a = a || {}, b = b || {}; for (var d in b){ if(a[d]) return; "prototype" !== d && (c && a.hasOwnProperty(d) || (a[d] = b[d])); } try { c || b.toString === b.constructor.prototype.toString || (a.toString = b.toString) } catch(e) {} return a } (function() { 'use strict'; // close tab $G._conf["multiTabConf"] = []; $G.set("multiTabConf",[ {"tabid":"t0","nonClose":true,"module":"welcome.WelcomeModule","param":{},"name":"home","text":"首页","def":true,"display":1}, {"tabid":"t1","module":"contact.ContactModule","display":1,"param":{},"nonClose":true,"text":"通讯录","name":"address","icon":"address"}, {"name":"recommend_app","tabid":"t2","text":"应用中心","display":1,"group":"appMoudle","nonClose":true,"icon":"app","fullScreen":true}, {"tabid":"t3","nonClose":true,"module":"mbox.ListModule","param":{"fid":1},"def":false,"display":1,"text":"收件箱","icon":"inbox","name":"inbox","group":"mbox.ListModule"} ]) })();