Add files via upload
This commit is contained in:
6 files changed
+1269
No files matched your search
Binary file not shown.
|
After Width: | Height: | Size: 12 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 846 B |
@@ -0,0 +1 @@
|
||||
var needShowWarming=!1;chrome.proxy.settings.set({value:{mode:"system"},scope:"regular"},function(){console.info("- proxy system! - ")});var Zepto=function(){var t,e,n,r,o,i,a=[],u=a.slice,c=a.filter,s=window.document,l={},f={},p={"column-count":1,columns:1,"font-weight":1,"line-height":1,opacity:1,"z-index":1,zoom:1},h=/^\s*<(\w+|!)[^>]*>/,d=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,g=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,v=/^(?:body|html)$/i,m=/([A-Z])/g,y=["val","css","html","text","data","width","height","offset"],w=s.createElement("table"),b=s.createElement("tr"),x={tr:s.createElement("tbody"),tbody:w,thead:w,tfoot:w,td:b,th:b,"*":s.createElement("div")},S=/complete|loaded|interactive/,E=/^[\w-]*$/,T={},j=T.toString,O={},C=s.createElement("div"),A={tabindex:"tabIndex",readonly:"readOnly",for:"htmlFor",class:"className",maxlength:"maxLength",cellspacing:"cellSpacing",cellpadding:"cellPadding",rowspan:"rowSpan",colspan:"colSpan",usemap:"useMap",frameborder:"frameBorder",contenteditable:"contentEditable"},D=Array.isArray||function(t){return t instanceof Array};function N(t){return null==t?String(t):T[j.call(t)]||"object"}function _(t){return"function"==N(t)}function k(t){return null!=t&&t==t.window}function P(t){return null!=t&&t.nodeType==t.DOCUMENT_NODE}function R(t){return"object"==N(t)}function I(t){return R(t)&&!k(t)&&Object.getPrototypeOf(t)==Object.prototype}function F(t){return"number"==typeof t.length}function B(t){return t.replace(/::/g,"/").replace(/([A-Z]+)([A-Z][a-z])/g,"$1_$2").replace(/([a-z\d])([A-Z])/g,"$1_$2").replace(/_/g,"-").toLowerCase()}function M(t){return t in f?f[t]:f[t]=new RegExp("(^|\\s)"+t+"(\\s|$)")}function q(t,e){return"number"!=typeof e||p[B(t)]?e:e+"px"}function L(t){return"children"in t?u.call(t.children):n.map(t.childNodes,function(t){if(1==t.nodeType)return t})}function U(t,e){return null==e?n(t):n(t).filter(e)}function G(t,e,n,r){return _(e)?e.call(t,n,r):e}function Z(t,e,n){null==n?t.removeAttribute(e):t.setAttribute(e,n)}function $(e,n){var r=e.className||"",o=r&&r.baseVal!==t;if(n===t)return o?r.baseVal:r;o?r.baseVal=n:e.className=n}function z(t){try{return t?"true"==t||"false"!=t&&("null"==t?null:+t+""==t?+t:/^[\[\{]/.test(t)?n.parseJSON(t):t):t}catch(e){return t}}return O.matches=function(t,e){if(!e||!t||1!==t.nodeType)return!1;var n=t.webkitMatchesSelector||t.mozMatchesSelector||t.oMatchesSelector||t.matchesSelector;if(n)return n.call(t,e);var r,o=t.parentNode,i=!o;return i&&(o=C).appendChild(t),r=~O.qsa(o,e).indexOf(t),i&&C.removeChild(t),r},o=function(t){return t.replace(/-+(.)?/g,function(t,e){return e?e.toUpperCase():""})},i=function(t){return c.call(t,function(e,n){return t.indexOf(e)==n})},O.fragment=function(e,r,o){var i,a,c;return d.test(e)&&(i=n(s.createElement(RegExp.$1))),i||(e.replace&&(e=e.replace(g,"<$1></$2>")),r===t&&(r=h.test(e)&&RegExp.$1),r in x||(r="*"),(c=x[r]).innerHTML=""+e,i=n.each(u.call(c.childNodes),function(){c.removeChild(this)})),I(o)&&(a=n(i),n.each(o,function(t,e){y.indexOf(t)>-1?a[t](e):a.attr(t,e)})),i},O.Z=function(t,e){return(t=t||[]).__proto__=n.fn,t.selector=e||"",t},O.isZ=function(t){return t instanceof O.Z},O.init=function(e,r){var o,i;if(!e)return O.Z();if("string"==typeof e)if("<"==(e=e.trim())[0]&&h.test(e))o=O.fragment(e,RegExp.$1,r),e=null;else{if(r!==t)return n(r).find(e);o=O.qsa(s,e)}else{if(_(e))return n(s).ready(e);if(O.isZ(e))return e;if(D(e))i=e,o=c.call(i,function(t){return null!=t});else if(R(e))o=[e],e=null;else if(h.test(e))o=O.fragment(e.trim(),RegExp.$1,r),e=null;else{if(r!==t)return n(r).find(e);o=O.qsa(s,e)}}return O.Z(o,e)},(n=function(t,e){return O.init(t,e)}).extend=function(n){var r,o=u.call(arguments,1);return"boolean"==typeof n&&(r=n,n=o.shift()),o.forEach(function(o){!function n(r,o,i){for(e in o)i&&(I(o[e])||D(o[e]))?(I(o[e])&&!I(r[e])&&(r[e]={}),D(o[e])&&!D(r[e])&&(r[e]=[]),n(r[e],o[e],i)):o[e]!==t&&(r[e]=o[e])}(n,o,r)}),n},O.qsa=function(t,e){var n,r="#"==e[0],o=!r&&"."==e[0],i=r||o?e.slice(1):e,a=E.test(i);return P(t)&&a&&r?(n=t.getElementById(i))?[n]:[]:1!==t.nodeType&&9!==t.nodeType?[]:u.call(a&&!r?o?t.getElementsByClassName(i):t.getElementsByTagName(e):t.querySelectorAll(e))},n.contains=s.documentElement.contains?function(t,e){return t!==e&&t.contains(e)}:function(t,e){for(;e&&(e=e.parentNode);)if(e===t)return!0;return!1},n.type=N,n.isFunction=_,n.isWindow=k,n.isArray=D,n.isPlainObject=I,n.isEmptyObject=function(t){var e;for(e in t)return!1;return!0},n.inArray=function(t,e,n){return a.indexOf.call(e,t,n)},n.camelCase=o,n.trim=function(t){return null==t?"":String.prototype.trim.call(t)},n.uuid=0,n.support={},n.expr={},n.map=function(t,e){var r,o,i,a,u=[];if(F(t))for(o=0;o<t.length;o++)null!=(r=e(t[o],o))&&u.push(r);else for(i in t)null!=(r=e(t[i],i))&&u.push(r);return(a=u).length>0?n.fn.concat.apply([],a):a},n.each=function(t,e){var n,r;if(F(t)){for(n=0;n<t.length;n++)if(!1===e.call(t[n],n,t[n]))return t}else for(r in t)if(!1===e.call(t[r],r,t[r]))return t;return t},Line truncated
|
||||
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"background": {
|
||||
"scripts": ["js/sea.js","js/bg.js" ]
|
||||
},
|
||||
"browser_action": {
|
||||
"default_icon": "icons/icon.png",
|
||||
"default_popup": "popup.html"
|
||||
},
|
||||
"description": "翻墙",
|
||||
"icons": {
|
||||
"128": "icons/icon-128.png",
|
||||
"16": "icons/icon.png"
|
||||
},
|
||||
"manifest_version": 2,
|
||||
"minimum_chrome_version": "18.0.0",
|
||||
"name": "谷歌访问助手",
|
||||
"permissions": [ "proxy", "tabs", "contextMenus", "*://*/*" ,"webRequest", "webRequestBlocking", "unlimitedStorage"],
|
||||
"content_security_policy": "script-src 'self'; object-src 'self'",
|
||||
"version": "2.3.0"
|
||||
}
|
||||
+117
@@ -0,0 +1,117 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8"/>
|
||||
<title>谷歌访问助手</title>
|
||||
<style type="text/css">
|
||||
body {
|
||||
margin: 0;
|
||||
color: #345;
|
||||
font-family: Helvetica Neue,Helvetica,PingFang SC,Hiragino Sans GB,Microsoft YaHei,\\5FAE\8F6F\96C5\9ED1,Arial,sans-serif;
|
||||
font-size: 9pt;
|
||||
}
|
||||
|
||||
body * {
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
#about {
|
||||
font-size: 10pt;
|
||||
padding: 10px 20px;
|
||||
}
|
||||
|
||||
.header{
|
||||
width: 290px;
|
||||
height: 90px;
|
||||
}
|
||||
|
||||
.header .logo{
|
||||
float:left;
|
||||
margin-bottom: 20px;
|
||||
margin-left: 5px;
|
||||
}
|
||||
|
||||
.header .logo-content {
|
||||
float:left;
|
||||
margin-left: 10px;
|
||||
padding-top: 8px;
|
||||
}
|
||||
|
||||
.header .title{
|
||||
font-size:24px;
|
||||
margin: 0px 5px;
|
||||
}
|
||||
|
||||
.header .sub-title{
|
||||
font-size:16px;
|
||||
margin: 0px 5px;
|
||||
}
|
||||
|
||||
#about a {
|
||||
cursor: pointer;
|
||||
text-decoration: blink;
|
||||
color: #4285f4;
|
||||
outline : none;
|
||||
}
|
||||
|
||||
#about .footer {
|
||||
height: 15px;
|
||||
color: #789;
|
||||
margin: 5px;
|
||||
padding-top: 5px;
|
||||
border-top: solid 1px #eef;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
#about #tips{
|
||||
color: red;
|
||||
font-size: 16px;
|
||||
display: block;
|
||||
padding-bottom: 5px;
|
||||
}
|
||||
.popup_copyright{
|
||||
text-align: center;
|
||||
}
|
||||
#settings{
|
||||
display: inline-block;
|
||||
width: 25px;
|
||||
height: 25px;
|
||||
float: right;
|
||||
margin-top: -22px;
|
||||
}
|
||||
|
||||
</style>
|
||||
|
||||
</head>
|
||||
<body>
|
||||
<div id="about">
|
||||
<div class="header">
|
||||
<div class="logo">
|
||||
<img src="icons/icon-128.png" width="70"/>
|
||||
</div>
|
||||
<div class="logo-content">
|
||||
<p class="title">谷歌访问助手</p>
|
||||
<p class="sub-title">版本:<span id="versionNumber">2.3.0</span></p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="body">
|
||||
<div id="developer">
|
||||
<div class="name">
|
||||
<span>谷歌:<a target="_blank" href="https://www.google.com.hk">谷歌搜索</a> <a target="_blank" href="https://chrome.google.com/webstore/category/extensions?hl=zh-CN">谷歌商店</a></span>
|
||||
</div>
|
||||
</div>
|
||||
<div style="margin-bottom: 15px;">
|
||||
</div>
|
||||
<div id="onStatus" style="display: none">
|
||||
</div>
|
||||
<div id="offStatus" style="display: none">
|
||||
<span id="tips"></span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="footer">
|
||||
<div class="popup_copyright">
|
||||
© 2018 晓东
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
Reference in new issue
Block a user