2019-04-10 03:25:57 +00:00
|
|
|
|
<!DOCTYPE html>
|
|
|
|
|
<html lang="en">
|
|
|
|
|
<head><meta name="generator" content="Hexo 3.8.0">
|
|
|
|
|
<meta charset="utf-8">
|
|
|
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
|
|
|
<meta name="google-site-verification" content="xBT4GhYoi5qRD5tr338pgPM5OWHHIDR6mNg1a3euekI">
|
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
|
|
|
<meta name="description" content="">
|
|
|
|
|
<meta name="keyword" content="">
|
|
|
|
|
<link rel="shortcut icon" href="/uWeb/img/favicon.ico">
|
|
|
|
|
|
|
|
|
|
<title>
|
|
|
|
|
|
2019-05-25 12:28:50 +00:00
|
|
|
|
特定网址用户脚本及样式
|
2019-04-10 03:25:57 +00:00
|
|
|
|
|
|
|
|
|
</title>
|
|
|
|
|
|
|
|
|
|
<!-- Custom CSS -->
|
|
|
|
|
<link rel="stylesheet" href="/uWeb/css/aircloud.css">
|
|
|
|
|
<link href="//at.alicdn.com/t/font_620856_pl6z7sid89qkt9.css" rel="stylesheet" type="text/css">
|
|
|
|
|
<!-- ga & ba script hoook -->
|
|
|
|
|
<script></script>
|
|
|
|
|
</head>
|
|
|
|
|
|
|
|
|
|
<body>
|
|
|
|
|
|
|
|
|
|
<div class="site-nav-toggle" id="site-nav-toggle">
|
|
|
|
|
<button>
|
|
|
|
|
<span class="btn-bar"></span>
|
|
|
|
|
<span class="btn-bar"></span>
|
|
|
|
|
<span class="btn-bar"></span>
|
|
|
|
|
</button>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="index-about">
|
|
|
|
|
<i> </i>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="index-container">
|
|
|
|
|
|
|
|
|
|
<div class="index-left">
|
|
|
|
|
|
|
|
|
|
<div class="nav" id="nav">
|
|
|
|
|
<div class="contents" id="nav-content">
|
|
|
|
|
<ul>
|
|
|
|
|
<li>
|
|
|
|
|
<a href="/uWeb/">
|
|
|
|
|
<i class="iconfont icon-shouye1"></i>
|
2019-06-16 02:38:15 +00:00
|
|
|
|
<span>HOME</span>
|
2019-04-10 03:25:57 +00:00
|
|
|
|
</a>
|
|
|
|
|
</li>
|
|
|
|
|
<li>
|
|
|
|
|
<a href="/uWeb/tags">
|
|
|
|
|
<i class="iconfont icon-biaoqian1"></i>
|
2019-06-16 02:38:15 +00:00
|
|
|
|
<span>TAGS</span>
|
2019-04-10 03:25:57 +00:00
|
|
|
|
</a>
|
|
|
|
|
</li>
|
|
|
|
|
<li>
|
|
|
|
|
<a href="/uWeb/archives">
|
|
|
|
|
<i class="iconfont icon-guidang2"></i>
|
2019-06-16 02:38:15 +00:00
|
|
|
|
<span>ARCHIVES</span>
|
2019-04-10 03:25:57 +00:00
|
|
|
|
</a>
|
|
|
|
|
</li>
|
|
|
|
|
|
|
|
|
|
</ul>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div id="toc" class="toc-article">
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="search-field" id="search-field">
|
|
|
|
|
<div class="search-container">
|
|
|
|
|
<div class="search-input">
|
|
|
|
|
<span id="esc-search"> <i class="icon-fanhui iconfont"></i></span>
|
|
|
|
|
<input id="search-input">
|
2019-06-16 02:38:15 +00:00
|
|
|
|
<span id="begin-search">search</span>
|
2019-04-10 03:25:57 +00:00
|
|
|
|
</div>
|
|
|
|
|
<div class="search-result-container" id="search-result-container">
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="index-about-mobile">
|
|
|
|
|
<i> </i>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="index-middle">
|
|
|
|
|
<!-- Main Content -->
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="post-container">
|
|
|
|
|
<div class="post-title">
|
2019-05-25 12:28:50 +00:00
|
|
|
|
特定网址用户脚本及样式
|
2019-04-10 03:25:57 +00:00
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="post-meta">
|
2019-06-16 02:38:15 +00:00
|
|
|
|
<span class="attr">Post:<span>2019-06-05 17:55:34</span></span>
|
2019-04-10 03:25:57 +00:00
|
|
|
|
|
2019-06-16 02:38:15 +00:00
|
|
|
|
<span class="attr">Tags:/
|
2019-04-10 03:25:57 +00:00
|
|
|
|
|
2019-06-15 06:03:55 +00:00
|
|
|
|
<a class="tag" href="/uWeb/tags/#css" title="css">css</a>
|
2019-04-10 09:32:52 +00:00
|
|
|
|
<span>/</span>
|
|
|
|
|
|
2019-06-15 06:03:55 +00:00
|
|
|
|
<a class="tag" href="/uWeb/tags/#javascript" title="javascript">javascript</a>
|
2019-05-25 12:28:50 +00:00
|
|
|
|
<span>/</span>
|
|
|
|
|
|
2019-04-10 09:32:52 +00:00
|
|
|
|
|
|
|
|
|
</span>
|
2019-04-10 03:25:57 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
<div class="post-content ">
|
|
|
|
|
<p>技巧等级:中级</p>
|
2019-05-25 12:33:00 +00:00
|
|
|
|
<p>脚本</p>
|
2019-04-10 03:25:57 +00:00
|
|
|
|
<ul>
|
|
|
|
|
<li>脚本需命名为 “[根域名].js”,譬如baidu.com.js 或tieba.baidu.com.js 。此脚本将自动作用于所有相同根域名的网址上。如有多个脚本满足条件,以最长文件名为准。</li>
|
|
|
|
|
<li>这些脚本需放到/sdcard/uweb/sitejs或/data/data/info.torapp.uweb/files/sitejs目录下,数量没有限制,上百万都不成问题。如果内部目录下sitejs存在,则/sdcard/uweb/sitejs不起任何作用。</li>
|
|
|
|
|
<li>长按窗口按钮,勾选“执行网址用户脚本”。</li>
|
|
|
|
|
<li>脚本执行对浏览器无性能影响,即使有百万脚本存在。</li>
|
2019-05-25 12:33:00 +00:00
|
|
|
|
<li>目前支持两段、三段及少数四段域名。所以脚本请不要以很长的域名来命名。</li>
|
|
|
|
|
</ul>
|
|
|
|
|
<p>样式</p>
|
|
|
|
|
<ul>
|
|
|
|
|
<li>与此类似,用户样式需命名为 “[根域名].css”,譬如baidu.com.css 或tieba.baidu.com.css。</li>
|
2019-05-25 12:28:50 +00:00
|
|
|
|
<li>样式文件需放到/sdcard/uweb/sitecss目录下。</li>
|
|
|
|
|
<li>长按窗口按钮,勾选“使用网址用户样式”。</li>
|
2019-04-10 03:25:57 +00:00
|
|
|
|
</ul>
|
|
|
|
|
|
|
|
|
|
<br>
|
|
|
|
|
<div id="comment-container">
|
|
|
|
|
</div>
|
|
|
|
|
<div id="disqus_thread"></div>
|
|
|
|
|
|
|
|
|
|
<div id="lv-container">
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<footer class="footer">
|
|
|
|
|
<ul class="list-inline text-center">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</ul>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</footer>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</body>
|
|
|
|
|
|
|
|
|
|
<script>
|
|
|
|
|
// We expose some of the variables needed by the front end
|
|
|
|
|
window.hexo_search_path = ""
|
|
|
|
|
window.hexo_root = "/uWeb/"
|
|
|
|
|
window.isPost = true
|
|
|
|
|
</script>
|
2019-04-10 11:52:33 +00:00
|
|
|
|
<script src="/uWeb/js/index.js"></script>
|
2019-04-10 03:25:57 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</html>
|