mirror of
https://github.com/torappinfo/uweb.git
synced 2024-08-14 23:54:59 +00:00
blog update
This commit is contained in:
parent
18956983e0
commit
70898d0042
13 changed files with 344 additions and 28 deletions
|
@ -105,7 +105,22 @@
|
|||
<a href="{{ post.url }}" title="{{ post.title }}">{{ post.title }}</a>
|
||||
</li> -->
|
||||
<li>
|
||||
<span>04-04</span>
|
||||
<span>04-10</span>
|
||||
<i class="fa fa-angle-double-right" aria-hidden="true"></i>
|
||||
<a href="/uWeb/sitejs/">
|
||||
<span>
|
||||
执行特定网址用户脚本
|
||||
</span>
|
||||
</a>
|
||||
<!-- <p class="post-meta">{{ post.date | date:"%Y-%m-%d" }}</p> -->
|
||||
</li>
|
||||
|
||||
<!-- <li class="listing-item">
|
||||
<time datetime="{{ post.date | date:"%Y-%m-%d" }}">{{ post.date | date:"%Y-%m-%d" }}</time>
|
||||
<a href="{{ post.url }}" title="{{ post.title }}">{{ post.title }}</a>
|
||||
</li> -->
|
||||
<li>
|
||||
<span>04-10</span>
|
||||
<i class="fa fa-angle-double-right" aria-hidden="true"></i>
|
||||
<a href="/uWeb/pccopy/">
|
||||
<span>
|
||||
|
|
|
@ -105,7 +105,22 @@
|
|||
<a href="{{ post.url }}" title="{{ post.title }}">{{ post.title }}</a>
|
||||
</li> -->
|
||||
<li>
|
||||
<span>04-04</span>
|
||||
<span>04-10</span>
|
||||
<i class="fa fa-angle-double-right" aria-hidden="true"></i>
|
||||
<a href="/uWeb/sitejs/">
|
||||
<span>
|
||||
执行特定网址用户脚本
|
||||
</span>
|
||||
</a>
|
||||
<!-- <p class="post-meta">{{ post.date | date:"%Y-%m-%d" }}</p> -->
|
||||
</li>
|
||||
|
||||
<!-- <li class="listing-item">
|
||||
<time datetime="{{ post.date | date:"%Y-%m-%d" }}">{{ post.date | date:"%Y-%m-%d" }}</time>
|
||||
<a href="{{ post.url }}" title="{{ post.title }}">{{ post.title }}</a>
|
||||
</li> -->
|
||||
<li>
|
||||
<span>04-10</span>
|
||||
<i class="fa fa-angle-double-right" aria-hidden="true"></i>
|
||||
<a href="/uWeb/pccopy/">
|
||||
<span>
|
||||
|
|
|
@ -105,7 +105,22 @@
|
|||
<a href="{{ post.url }}" title="{{ post.title }}">{{ post.title }}</a>
|
||||
</li> -->
|
||||
<li>
|
||||
<span>04-04</span>
|
||||
<span>04-10</span>
|
||||
<i class="fa fa-angle-double-right" aria-hidden="true"></i>
|
||||
<a href="/uWeb/sitejs/">
|
||||
<span>
|
||||
执行特定网址用户脚本
|
||||
</span>
|
||||
</a>
|
||||
<!-- <p class="post-meta">{{ post.date | date:"%Y-%m-%d" }}</p> -->
|
||||
</li>
|
||||
|
||||
<!-- <li class="listing-item">
|
||||
<time datetime="{{ post.date | date:"%Y-%m-%d" }}">{{ post.date | date:"%Y-%m-%d" }}</time>
|
||||
<a href="{{ post.url }}" title="{{ post.title }}">{{ post.title }}</a>
|
||||
</li> -->
|
||||
<li>
|
||||
<span>04-10</span>
|
||||
<i class="fa fa-angle-double-right" aria-hidden="true"></i>
|
||||
<a href="/uWeb/pccopy/">
|
||||
<span>
|
||||
|
|
|
@ -105,7 +105,22 @@
|
|||
<a href="{{ post.url }}" title="{{ post.title }}">{{ post.title }}</a>
|
||||
</li> -->
|
||||
<li>
|
||||
<span>04-04</span>
|
||||
<span>04-10</span>
|
||||
<i class="fa fa-angle-double-right" aria-hidden="true"></i>
|
||||
<a href="/uWeb/sitejs/">
|
||||
<span>
|
||||
执行特定网址用户脚本
|
||||
</span>
|
||||
</a>
|
||||
<!-- <p class="post-meta">{{ post.date | date:"%Y-%m-%d" }}</p> -->
|
||||
</li>
|
||||
|
||||
<!-- <li class="listing-item">
|
||||
<time datetime="{{ post.date | date:"%Y-%m-%d" }}">{{ post.date | date:"%Y-%m-%d" }}</time>
|
||||
<a href="{{ post.url }}" title="{{ post.title }}">{{ post.title }}</a>
|
||||
</li> -->
|
||||
<li>
|
||||
<span>04-10</span>
|
||||
<i class="fa fa-angle-double-right" aria-hidden="true"></i>
|
||||
<a href="/uWeb/pccopy/">
|
||||
<span>
|
||||
|
|
|
@ -105,7 +105,22 @@
|
|||
<a href="{{ post.url }}" title="{{ post.title }}">{{ post.title }}</a>
|
||||
</li> -->
|
||||
<li>
|
||||
<span>04-04</span>
|
||||
<span>04-10</span>
|
||||
<i class="fa fa-angle-double-right" aria-hidden="true"></i>
|
||||
<a href="/uWeb/sitejs/">
|
||||
<span>
|
||||
执行特定网址用户脚本
|
||||
</span>
|
||||
</a>
|
||||
<!-- <p class="post-meta">{{ post.date | date:"%Y-%m-%d" }}</p> -->
|
||||
</li>
|
||||
|
||||
<!-- <li class="listing-item">
|
||||
<time datetime="{{ post.date | date:"%Y-%m-%d" }}">{{ post.date | date:"%Y-%m-%d" }}</time>
|
||||
<a href="{{ post.url }}" title="{{ post.title }}">{{ post.title }}</a>
|
||||
</li> -->
|
||||
<li>
|
||||
<span>04-10</span>
|
||||
<i class="fa fa-angle-double-right" aria-hidden="true"></i>
|
||||
<a href="/uWeb/pccopy/">
|
||||
<span>
|
||||
|
|
|
@ -105,7 +105,22 @@
|
|||
<a href="{{ post.url }}" title="{{ post.title }}">{{ post.title }}</a>
|
||||
</li> -->
|
||||
<li>
|
||||
<span>04-04</span>
|
||||
<span>04-10</span>
|
||||
<i class="fa fa-angle-double-right" aria-hidden="true"></i>
|
||||
<a href="/uWeb/sitejs/">
|
||||
<span>
|
||||
执行特定网址用户脚本
|
||||
</span>
|
||||
</a>
|
||||
<!-- <p class="post-meta">{{ post.date | date:"%Y-%m-%d" }}</p> -->
|
||||
</li>
|
||||
|
||||
<!-- <li class="listing-item">
|
||||
<time datetime="{{ post.date | date:"%Y-%m-%d" }}">{{ post.date | date:"%Y-%m-%d" }}</time>
|
||||
<a href="{{ post.url }}" title="{{ post.title }}">{{ post.title }}</a>
|
||||
</li> -->
|
||||
<li>
|
||||
<span>04-10</span>
|
||||
<i class="fa fa-angle-double-right" aria-hidden="true"></i>
|
||||
<a href="/uWeb/pccopy/">
|
||||
<span>
|
||||
|
|
|
@ -105,7 +105,22 @@
|
|||
<a href="{{ post.url }}" title="{{ post.title }}">{{ post.title }}</a>
|
||||
</li> -->
|
||||
<li>
|
||||
<span>04-04</span>
|
||||
<span>04-10</span>
|
||||
<i class="fa fa-angle-double-right" aria-hidden="true"></i>
|
||||
<a href="/uWeb/sitejs/">
|
||||
<span>
|
||||
执行特定网址用户脚本
|
||||
</span>
|
||||
</a>
|
||||
<!-- <p class="post-meta">{{ post.date | date:"%Y-%m-%d" }}</p> -->
|
||||
</li>
|
||||
|
||||
<!-- <li class="listing-item">
|
||||
<time datetime="{{ post.date | date:"%Y-%m-%d" }}">{{ post.date | date:"%Y-%m-%d" }}</time>
|
||||
<a href="{{ post.url }}" title="{{ post.title }}">{{ post.title }}</a>
|
||||
</li> -->
|
||||
<li>
|
||||
<span>04-10</span>
|
||||
<i class="fa fa-angle-double-right" aria-hidden="true"></i>
|
||||
<a href="/uWeb/pccopy/">
|
||||
<span>
|
||||
|
|
|
@ -105,7 +105,22 @@
|
|||
<a href="{{ post.url }}" title="{{ post.title }}">{{ post.title }}</a>
|
||||
</li> -->
|
||||
<li>
|
||||
<span>04-04</span>
|
||||
<span>04-10</span>
|
||||
<i class="fa fa-angle-double-right" aria-hidden="true"></i>
|
||||
<a href="/uWeb/sitejs/">
|
||||
<span>
|
||||
执行特定网址用户脚本
|
||||
</span>
|
||||
</a>
|
||||
<!-- <p class="post-meta">{{ post.date | date:"%Y-%m-%d" }}</p> -->
|
||||
</li>
|
||||
|
||||
<!-- <li class="listing-item">
|
||||
<time datetime="{{ post.date | date:"%Y-%m-%d" }}">{{ post.date | date:"%Y-%m-%d" }}</time>
|
||||
<a href="{{ post.url }}" title="{{ post.title }}">{{ post.title }}</a>
|
||||
</li> -->
|
||||
<li>
|
||||
<span>04-10</span>
|
||||
<i class="fa fa-angle-double-right" aria-hidden="true"></i>
|
||||
<a href="/uWeb/pccopy/">
|
||||
<span>
|
||||
|
|
|
@ -105,7 +105,22 @@
|
|||
<a href="{{ post.url }}" title="{{ post.title }}">{{ post.title }}</a>
|
||||
</li> -->
|
||||
<li>
|
||||
<span>04-04</span>
|
||||
<span>04-10</span>
|
||||
<i class="fa fa-angle-double-right" aria-hidden="true"></i>
|
||||
<a href="/uWeb/sitejs/">
|
||||
<span>
|
||||
执行特定网址用户脚本
|
||||
</span>
|
||||
</a>
|
||||
<!-- <p class="post-meta">{{ post.date | date:"%Y-%m-%d" }}</p> -->
|
||||
</li>
|
||||
|
||||
<!-- <li class="listing-item">
|
||||
<time datetime="{{ post.date | date:"%Y-%m-%d" }}">{{ post.date | date:"%Y-%m-%d" }}</time>
|
||||
<a href="{{ post.url }}" title="{{ post.title }}">{{ post.title }}</a>
|
||||
</li> -->
|
||||
<li>
|
||||
<span>04-10</span>
|
||||
<i class="fa fa-angle-double-right" aria-hidden="true"></i>
|
||||
<a href="/uWeb/pccopy/">
|
||||
<span>
|
||||
|
|
30
index.html
30
index.html
|
@ -99,7 +99,21 @@
|
|||
</div>
|
||||
|
||||
<div class="post-preview">
|
||||
<div class="post-time">2019-04-04</div>
|
||||
<div class="post-time">2019-04-10</div>
|
||||
<div class="post-info">
|
||||
<a href="/uWeb/sitejs/">
|
||||
<h3>
|
||||
执行特定网址用户脚本
|
||||
</h3>
|
||||
</a>
|
||||
<p>
|
||||
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="post-preview">
|
||||
<div class="post-time">2019-04-10</div>
|
||||
<div class="post-info">
|
||||
<a href="/uWeb/pccopy/">
|
||||
<h3>
|
||||
|
@ -224,20 +238,6 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<div class="post-preview">
|
||||
<div class="post-time">2018-12-11</div>
|
||||
<div class="post-info">
|
||||
<a href="/uWeb/redirect/">
|
||||
<h3>
|
||||
重定向国外网址至国内镜像
|
||||
</h3>
|
||||
</a>
|
||||
<p>
|
||||
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<ul class="pager">
|
||||
|
||||
|
|
|
@ -98,6 +98,20 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<div class="post-preview">
|
||||
<div class="post-time">2018-12-11</div>
|
||||
<div class="post-info">
|
||||
<a href="/uWeb/redirect/">
|
||||
<h3>
|
||||
重定向国外网址至国内镜像
|
||||
</h3>
|
||||
</a>
|
||||
<p>
|
||||
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="post-preview">
|
||||
<div class="post-time">2018-12-10</div>
|
||||
<div class="post-info">
|
||||
|
|
|
@ -100,7 +100,7 @@
|
|||
</div>
|
||||
|
||||
<div class="post-meta">
|
||||
<span class="attr">Post:<span>2019-04-04 20:36:20</span></span>
|
||||
<span class="attr">Post:<span>2019-04-10 09:38:39</span></span>
|
||||
|
||||
|
||||
|
||||
|
@ -109,10 +109,11 @@
|
|||
<div class="post-content ">
|
||||
<p>技巧等级:笔记(中级) PC剪贴板(高级)</p>
|
||||
<p>手机需安装uweb定制Termux。如使用剪贴板功能,termux还需安装openssl。</p>
|
||||
<p>配置/sdcard/uweb/selection.txt如下:<br><code>笔记::(cat;echo;echo;)>>notes.txt<br>富文本笔记:html:(cat;echo ‘<p></p>’;echo;)>>notes.html<br>复制至PC剪贴板::ssh [user:password]@192.168.2.102 “DISPLAY=:0 xsel -i”<br>复制富文本至PC剪贴板:html:ssh [user:password]@192.168.2.102 “DISPLAY=:0 xsel -i”</code></p>
|
||||
<p>此处假定远程PC的IP地址为192.168.2.102,PC已经开通了ssh服务。建议用户配置ssh服务为免密码登录,此时用户无需将密码写入文件selection.txt。用户PC上安装有xsel剪贴板工具。使用其它工具请酌情修改。</p>
|
||||
<p>配置/sdcard/uweb/selection.txt如下:<br><code>笔记::(cat;echo;echo;)>>notes.txt<br>富文本笔记:html:(cat;echo ‘<p></p>’;echo;)>>notes.html<br>命名笔记:(cat;echo;echo;)>>%s<br>复制至PC剪贴板::ssh [user:password]@192.168.2.102 “DISPLAY=:0 xsel -i”<br>复制富文本至PC剪贴板:html:ssh [user:password]@192.168.2.102 “DISPLAY=:0 xsel -i”</code></p>
|
||||
<p>此处假定远程PC的IP地址为192.168.2.102,PC已经开通了ssh服务。建议用户配置ssh服务为免密码登录,此时用户无需将密码写入文件selection.txt。用户PC上安装有xsel剪贴板工具。使用其它工具请酌情修改。顾虑密码安全的朋友请配置ssh免密码登录。</p>
|
||||
<p>重启浏览器,长按“书签”按钮,将弹出菜单。若用户当前窗口并无选中文本,则选取整个页面作相应操作,否则以选中文本为准。</p>
|
||||
<p>采用以上配置,笔记将储存在/sdcard/uweb目录下文件note.txt或note.html中(富文本)。</p>
|
||||
<p>采用以上配置,笔记将储存在/sdcard/uweb目录下文件note.txt或note.html中(富文本)。命名笔记储存文件则由用户在地址栏输入框内指定。</p>
|
||||
<p>手机其它应用中的文本可选中后分享给超微浏览器,再由超微浏览器作笔记或进一步分享给PC。</p>
|
||||
|
||||
<br>
|
||||
<div id="comment-container">
|
||||
|
|
166
sitejs/index.html
Normal file
166
sitejs/index.html
Normal file
|
@ -0,0 +1,166 @@
|
|||
<!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>
|
||||
|
||||
执行特定网址用户脚本
|
||||
|
||||
</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>
|
||||
<span>HOME</span>
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/uWeb/tags">
|
||||
<i class="iconfont icon-biaoqian1"></i>
|
||||
<span>TAGS</span>
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="/uWeb/archives">
|
||||
<i class="iconfont icon-guidang2"></i>
|
||||
<span>ARCHIVES</span>
|
||||
</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">
|
||||
<span id="begin-search">search</span>
|
||||
</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">
|
||||
执行特定网址用户脚本
|
||||
</div>
|
||||
|
||||
<div class="post-meta">
|
||||
<span class="attr">Post:<span>2019-04-10 09:38:49</span></span>
|
||||
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
<div class="post-content ">
|
||||
<p>技巧等级:中级</p>
|
||||
<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>
|
||||
<li>目前支持两段、三段及少数四段域名。所以脚本请不要以很长的域名来命名。</li>
|
||||
</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>
|
||||
|
||||
|
||||
|
||||
|
||||
</html>
|
Loading…
Reference in a new issue