Compare commits

...

3 Commits

Author SHA1 Message Date
James Feng Cao 287897b960 preprocessing before rendering with siteextra 2023-01-28 09:52:52 +08:00
James Feng Cao 612af3a880 preprocessing before rendering with siteextra 2023-01-28 09:41:12 +08:00
James Feng Cao 349e7e629d fix errors for siteextra 2023-01-28 08:40:29 +08:00
44 changed files with 349 additions and 329 deletions

View File

@ -5,7 +5,16 @@
<link>/en/_posts/</link>
<description>Recent content in _posts on uweb browser</description>
<generator>Hugo -- gohugo.io</generator>
<lastBuildDate>Mon, 16 Jan 2023 00:00:00 +0000</lastBuildDate><atom:link href="/en/_posts/index.xml" rel="self" type="application/rss+xml" />
<lastBuildDate>Sat, 28 Jan 2023 00:00:00 +0000</lastBuildDate><atom:link href="/en/_posts/index.xml" rel="self" type="application/rss+xml" />
<item>
<title>JS/CSS/HTML/preprocessing for domains</title>
<link>/en/sitejs/</link>
<pubDate>Sat, 28 Jan 2023 00:00:00 +0000</pubDate>
<guid>/en/sitejs/</guid>
<description>Javascript (load when page completes, earliest loaded JS should use sitecss). Need to be named as &amp;quot;[domain root].js&amp;quot;, such as &amp;quot;yahoo.com.js&amp;quot; or &amp;quot;finance.yahoo.com.js&amp;quot;. The script will be loaded on the whole domain tree sites. If several files matches the domain, then the script with longest file name is loaded. Script must be put under the folder &amp;quot;sitejs&amp;quot; or &amp;quot;/data/data/info.torapp.uweb/files/sitejs&amp;quot;. The later folder has the priority. Long press the button &amp;quot;settings&amp;quot;, check the option &amp;quot;Run user scripts&amp;quot;.</description>
</item>
<item>
<title>Tips</title>
<link>/en/tips/</link>
@ -319,14 +328,5 @@ Swiping on the top part of content window (near the top address bar by default)
Each line of the hosts file has the following format:</description>
</item>
<item>
<title>Javascript and CSS for domains</title>
<link>/en/sitejs/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
<guid>/en/sitejs/</guid>
<description>Javascript (load when page completes, earliest loaded JS should use sitecss). Need to be named as &amp;quot;[domain root].js&amp;quot;, such as &amp;quot;yahoo.com.js&amp;quot; or &amp;quot;finance.yahoo.com.js&amp;quot;. The script will be loaded on the whole domain tree sites. If several files matches the domain, then the script with longest file name is loaded. Script must be put under the folder &amp;quot;sitejs&amp;quot; or &amp;quot;/data/data/info.torapp.uweb/files/sitejs&amp;quot;. The later folder has the priority. Long press the button &amp;quot;settings&amp;quot;, check the option &amp;quot;Run user scripts&amp;quot;.</description>
</item>
</channel>
</rss>

View File

@ -49,7 +49,8 @@
<p><a href="https://releases.pagure.org/uweb/">pagure</a></p>
<p><a href="https://sourceforge.net/projects/uwebbrowser/files/v1/">sourceforge</a></p>
<h4 id="change-logs">Change logs</h4>
<p>961: webdav/http file upload support with <a href="../links/index.html">&quot;i:0u&quot; links</a>.<br>
<p>964: site source html preprocessing before rendering with user <a href="../sitejs/index.html">site extra html</a>.<br>
961: webdav/http file upload support with <a href="../links/index.html">&quot;i:0u&quot; links</a>.<br>
956: Search engines (.search file) to apply same folder &quot;home.css&quot;. Use POST type search engine as bookmark for auto login.<br>
955: Address bar: <a href="../acmd/index.html">&quot;:!&quot; or &quot;!&quot;</a> for command line support (.js/.sh files as executables).<br>
953: hardware keyboard: &quot;:&quot;, &quot;!&quot; to set focus on address bar<br>

View File

@ -84,6 +84,12 @@
<li class="post">
<a href="sitejs/index.html">
<span>JS/CSS/HTML/preprocessing for domains</span>
</a>
</li>
<li class="post">
<a href="tips/index.html">
<span>Tips</span>
@ -210,12 +216,6 @@
</a>
</li>
<li class="post">
<a href="sitejs/index.html">
<span>Javascript and CSS for domains</span>
</a>
</li>
<li class="post">

View File

@ -5,7 +5,16 @@
<link>/en/</link>
<description>Recent content on uweb browser</description>
<generator>Hugo -- gohugo.io</generator>
<lastBuildDate>Mon, 16 Jan 2023 00:00:00 +0000</lastBuildDate><atom:link href="/en/index.xml" rel="self" type="application/rss+xml" />
<lastBuildDate>Sat, 28 Jan 2023 00:00:00 +0000</lastBuildDate><atom:link href="/en/index.xml" rel="self" type="application/rss+xml" />
<item>
<title>JS/CSS/HTML/preprocessing for domains</title>
<link>/en/sitejs/</link>
<pubDate>Sat, 28 Jan 2023 00:00:00 +0000</pubDate>
<guid>/en/sitejs/</guid>
<description>Javascript (load when page completes, earliest loaded JS should use sitecss). Need to be named as &amp;quot;[domain root].js&amp;quot;, such as &amp;quot;yahoo.com.js&amp;quot; or &amp;quot;finance.yahoo.com.js&amp;quot;. The script will be loaded on the whole domain tree sites. If several files matches the domain, then the script with longest file name is loaded. Script must be put under the folder &amp;quot;sitejs&amp;quot; or &amp;quot;/data/data/info.torapp.uweb/files/sitejs&amp;quot;. The later folder has the priority. Long press the button &amp;quot;settings&amp;quot;, check the option &amp;quot;Run user scripts&amp;quot;.</description>
</item>
<item>
<title>Tips</title>
<link>/en/tips/</link>
@ -84,11 +93,11 @@ uweb, termux &amp;amp; history versions
github
pagure
sourceforge
Change logs 961: webdav/http file upload support with &amp;quot;i:0u&amp;quot; links.
Change logs 964: site source html preprocessing before rendering with user site extra html.
961: webdav/http file upload support with &amp;quot;i:0u&amp;quot; links.
956: Search engines (.search file) to apply same folder &amp;quot;home.css&amp;quot;. Use POST type search engine as bookmark for auto login.
955: Address bar: &amp;quot;:!&amp;quot; or &amp;quot;!&amp;quot; for command line support (.js/.sh files as executables).
953: hardware keyboard: &amp;quot;:&amp;quot;, &amp;quot;!&amp;quot; to set focus on address bar
949: Address bar: &amp;quot;:p [width in milliInch]x[height]&amp;quot; to generate PDF in custom size</description>
953: hardware keyboard: &amp;quot;:&amp;quot;, &amp;quot;!</description>
</item>
<item>
@ -450,14 +459,5 @@ Swiping on the top part of content window (near the top address bar by default)
Each line of the hosts file has the following format:</description>
</item>
<item>
<title>Javascript and CSS for domains</title>
<link>/en/sitejs/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
<guid>/en/sitejs/</guid>
<description>Javascript (load when page completes, earliest loaded JS should use sitecss). Need to be named as &amp;quot;[domain root].js&amp;quot;, such as &amp;quot;yahoo.com.js&amp;quot; or &amp;quot;finance.yahoo.com.js&amp;quot;. The script will be loaded on the whole domain tree sites. If several files matches the domain, then the script with longest file name is loaded. Script must be put under the folder &amp;quot;sitejs&amp;quot; or &amp;quot;/data/data/info.torapp.uweb/files/sitejs&amp;quot;. The later folder has the priority. Long press the button &amp;quot;settings&amp;quot;, check the option &amp;quot;Run user scripts&amp;quot;.</description>
</item>
</channel>
</rss>

View File

@ -5,7 +5,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="stylesheet" href="../style.css" type="text/css" />
<title>Javascript and CSS for domains</title>
<title>JS/CSS/HTML/preprocessing for domains</title>
<script type="text/javascript">
function findLang(){
let href = location.href;
@ -40,7 +40,7 @@
<br />
<div class="container">
<h1 class="title">Javascript and CSS for domains
<h1 class="title">JS/CSS/HTML/preprocessing for domains
<br>
<span class="subtitle"></span>
</h1>
@ -65,14 +65,14 @@
<li>&quot;[domain root].js&quot; is loaded at the earlieat time.</li>
<li>Long press the button &quot;settings&quot;, check the option &quot;Apply user styles&quot;.</li>
</ul>
<p>If file &quot;default.css&quot; exists, the style will be applied to all sites without matching [domain root].css.</p>
<h3 id="extra-html">Extra html</h3>
<p>If file &quot;default.css&quot; exists, the style will be applied to all sites not matching [domain root].css.</p>
<h3 id="extra-html-and-preprocessing">Extra html and preprocessing</h3>
<ul>
<li>Need to be named as &quot;[domain].html&quot;. Notice: the file name here is &quot;[full domain]&quot; not &quot;[domain root]&quot;.</li>
<li>Need to be named as &quot;[domain].html&quot;. Notice: the file name stem here is &quot;[full domain]&quot; not &quot;[domain root]&quot;.</li>
<li>Under folder &quot;siteextra&quot;.</li>
<li>Long press the button &quot;settings&quot;, check the option &quot;Apply user extra&quot;.</li>
</ul>
<p>The extra html could be placed before the site source html (uweb uses an algorithm to merge the extra html with the site source html automatically). Ex. when the extra html ends with &quot;<textarea>&quot;, the site source html appears as the value of the textarea element, thus the extra html can further process the the site source html before rendering. For sites with textarea elements, &quot;<div><textarea>&quot; could be used.</p>
<p>The extra html could be placed before the site source html (uweb merges the extra html with the site source html intelligently). Ex. when the extra html ends with &quot;&lt;textarea&gt;&quot;, the site source html appears as the value of the textarea element, thus the extra html can further process the the site source html before rendering. For sites with textarea elements, &quot;&lt;div&gt;&lt;textarea&gt;&quot; could be used.</p>
<p>&quot;sitejs/.js&quot;, &quot;sitecss/.css&quot;, &quot;sitecss/.js&quot; and &quot;siteextra/.html&quot; are applied to all non-http urls (file urls etc.).</p>
</div>

View File

@ -3,7 +3,7 @@
xmlns:xhtml="http://www.w3.org/1999/xhtml">
<url>
<loc>/en/_posts/</loc>
<lastmod>2023-01-16T00:00:00+00:00</lastmod>
<lastmod>2023-01-28T00:00:00+00:00</lastmod>
<xhtml:link
rel="alternate"
hreflang="zh"
@ -14,6 +14,71 @@
hreflang="en"
href="/en/_posts/"
/>
</url><url>
<loc>/en/tags/css/</loc>
<lastmod>2023-01-28T00:00:00+00:00</lastmod>
<xhtml:link
rel="alternate"
hreflang="zh"
href="/zh/tags/css/"
/>
<xhtml:link
rel="alternate"
hreflang="en"
href="/en/tags/css/"
/>
</url><url>
<loc>/en/tags/javascript/</loc>
<lastmod>2023-01-28T00:00:00+00:00</lastmod>
<xhtml:link
rel="alternate"
hreflang="zh"
href="/zh/tags/javascript/"
/>
<xhtml:link
rel="alternate"
hreflang="en"
href="/en/tags/javascript/"
/>
</url><url>
<loc>/en/sitejs/</loc>
<lastmod>2023-01-28T00:00:00+00:00</lastmod>
<xhtml:link
rel="alternate"
hreflang="zh"
href="/zh/sitejs/"
/>
<xhtml:link
rel="alternate"
hreflang="en"
href="/en/sitejs/"
/>
</url><url>
<loc>/en/tags/</loc>
<lastmod>2023-01-28T00:00:00+00:00</lastmod>
<xhtml:link
rel="alternate"
hreflang="zh"
href="/zh/tags/"
/>
<xhtml:link
rel="alternate"
hreflang="en"
href="/en/tags/"
/>
</url><url>
<loc>/en/</loc>
<lastmod>2023-01-28T00:00:00+00:00</lastmod>
<xhtml:link
rel="alternate"
hreflang="zh"
href="/zh/"
/>
<xhtml:link
rel="alternate"
hreflang="en"
href="/en/"
/>
</url><url>
<loc>/en/tips/</loc>
<lastmod>2023-01-16T00:00:00+00:00</lastmod>
@ -27,19 +92,6 @@
hreflang="en"
href="/en/tips/"
/>
</url><url>
<loc>/en/</loc>
<lastmod>2023-01-16T00:00:00+00:00</lastmod>
<xhtml:link
rel="alternate"
hreflang="zh"
href="/zh/"
/>
<xhtml:link
rel="alternate"
hreflang="en"
href="/en/"
/>
</url><url>
<loc>/en/acmd/</loc>
<lastmod>2023-01-08T00:00:00+00:00</lastmod>
@ -166,32 +218,6 @@
hreflang="en"
href="/en/bookmarklet/"
/>
</url><url>
<loc>/en/tags/javascript/</loc>
<lastmod>2022-06-24T00:00:00+00:00</lastmod>
<xhtml:link
rel="alternate"
hreflang="zh"
href="/zh/tags/javascript/"
/>
<xhtml:link
rel="alternate"
hreflang="en"
href="/en/tags/javascript/"
/>
</url><url>
<loc>/en/tags/</loc>
<lastmod>2022-06-24T00:00:00+00:00</lastmod>
<xhtml:link
rel="alternate"
hreflang="zh"
href="/zh/tags/"
/>
<xhtml:link
rel="alternate"
hreflang="en"
href="/en/tags/"
/>
</url><url>
<loc>/en/urls/</loc>
<lastmod>2022-06-10T00:00:00+00:00</lastmod>
@ -490,29 +516,5 @@
hreflang="en"
href="/en/categories/"
/>
</url><url>
<loc>/en/tags/css/</loc>
<xhtml:link
rel="alternate"
hreflang="zh"
href="/zh/tags/css/"
/>
<xhtml:link
rel="alternate"
hreflang="en"
href="/en/tags/css/"
/>
</url><url>
<loc>/en/sitejs/</loc>
<xhtml:link
rel="alternate"
hreflang="zh"
href="/zh/sitejs/"
/>
<xhtml:link
rel="alternate"
hreflang="en"
href="/en/sitejs/"
/>
</url>
</urlset>

View File

@ -45,7 +45,7 @@
<li class="post">
<a href="../../sitejs">
<span>Javascript and CSS for domains</span>
<span>JS/CSS/HTML/preprocessing for domains</span>
</a>
</li>

View File

@ -4,11 +4,12 @@
<title>css on uweb browser</title>
<link>/en/tags/css/</link>
<description>Recent content in css on uweb browser</description>
<generator>Hugo -- gohugo.io</generator><atom:link href="/en/tags/css/index.xml" rel="self" type="application/rss+xml" />
<generator>Hugo -- gohugo.io</generator>
<lastBuildDate>Sat, 28 Jan 2023 00:00:00 +0000</lastBuildDate><atom:link href="/en/tags/css/index.xml" rel="self" type="application/rss+xml" />
<item>
<title>Javascript and CSS for domains</title>
<title>JS/CSS/HTML/preprocessing for domains</title>
<link>/en/sitejs/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
<pubDate>Sat, 28 Jan 2023 00:00:00 +0000</pubDate>
<guid>/en/sitejs/</guid>
<description>Javascript (load when page completes, earliest loaded JS should use sitecss). Need to be named as &amp;quot;[domain root].js&amp;quot;, such as &amp;quot;yahoo.com.js&amp;quot; or &amp;quot;finance.yahoo.com.js&amp;quot;. The script will be loaded on the whole domain tree sites. If several files matches the domain, then the script with longest file name is loaded. Script must be put under the folder &amp;quot;sitejs&amp;quot; or &amp;quot;/data/data/info.torapp.uweb/files/sitejs&amp;quot;. The later folder has the priority. Long press the button &amp;quot;settings&amp;quot;, check the option &amp;quot;Run user scripts&amp;quot;.</description>

View File

@ -5,11 +5,20 @@
<link>/en/tags/</link>
<description>Recent content in Tags on uweb browser</description>
<generator>Hugo -- gohugo.io</generator>
<lastBuildDate>Fri, 24 Jun 2022 00:00:00 +0000</lastBuildDate><atom:link href="/en/tags/index.xml" rel="self" type="application/rss+xml" />
<lastBuildDate>Sat, 28 Jan 2023 00:00:00 +0000</lastBuildDate><atom:link href="/en/tags/index.xml" rel="self" type="application/rss+xml" />
<item>
<title>css</title>
<link>/en/tags/css/</link>
<pubDate>Sat, 28 Jan 2023 00:00:00 +0000</pubDate>
<guid>/en/tags/css/</guid>
<description></description>
</item>
<item>
<title>javascript</title>
<link>/en/tags/javascript/</link>
<pubDate>Fri, 24 Jun 2022 00:00:00 +0000</pubDate>
<pubDate>Sat, 28 Jan 2023 00:00:00 +0000</pubDate>
<guid>/en/tags/javascript/</guid>
<description></description>
@ -114,14 +123,5 @@
<description></description>
</item>
<item>
<title>css</title>
<link>/en/tags/css/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
<guid>/en/tags/css/</guid>
<description></description>
</item>
</channel>
</rss>

View File

@ -43,6 +43,12 @@
<h1 class="title">javascript</h1>
<ul class="posts">
<li class="post">
<a href="../../sitejs">
<span>JS/CSS/HTML/preprocessing for domains</span>
</a>
</li>
<li class="post">
<a href="../../bookmarklet">
<span>Bookmarklets</span>
@ -55,12 +61,6 @@
</a>
</li>
<li class="post">
<a href="../../sitejs">
<span>Javascript and CSS for domains</span>
</a>
</li>
</ul>
<ul>
</div>

View File

@ -5,7 +5,16 @@
<link>/en/tags/javascript/</link>
<description>Recent content in javascript on uweb browser</description>
<generator>Hugo -- gohugo.io</generator>
<lastBuildDate>Fri, 24 Jun 2022 00:00:00 +0000</lastBuildDate><atom:link href="/en/tags/javascript/index.xml" rel="self" type="application/rss+xml" />
<lastBuildDate>Sat, 28 Jan 2023 00:00:00 +0000</lastBuildDate><atom:link href="/en/tags/javascript/index.xml" rel="self" type="application/rss+xml" />
<item>
<title>JS/CSS/HTML/preprocessing for domains</title>
<link>/en/sitejs/</link>
<pubDate>Sat, 28 Jan 2023 00:00:00 +0000</pubDate>
<guid>/en/sitejs/</guid>
<description>Javascript (load when page completes, earliest loaded JS should use sitecss). Need to be named as &amp;quot;[domain root].js&amp;quot;, such as &amp;quot;yahoo.com.js&amp;quot; or &amp;quot;finance.yahoo.com.js&amp;quot;. The script will be loaded on the whole domain tree sites. If several files matches the domain, then the script with longest file name is loaded. Script must be put under the folder &amp;quot;sitejs&amp;quot; or &amp;quot;/data/data/info.torapp.uweb/files/sitejs&amp;quot;. The later folder has the priority. Long press the button &amp;quot;settings&amp;quot;, check the option &amp;quot;Run user scripts&amp;quot;.</description>
</item>
<item>
<title>Bookmarklets</title>
<link>/en/bookmarklet/</link>
@ -44,14 +53,5 @@ These javascript files are in the following format:
The very first line can begin with &amp;quot;//&amp;quot; followed by website url that can have &amp;quot;%u&amp;quot; (current url), &amp;quot;%t&amp;quot; (title) etc.</description>
</item>
<item>
<title>Javascript and CSS for domains</title>
<link>/en/sitejs/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
<guid>/en/sitejs/</guid>
<description>Javascript (load when page completes, earliest loaded JS should use sitecss). Need to be named as &amp;quot;[domain root].js&amp;quot;, such as &amp;quot;yahoo.com.js&amp;quot; or &amp;quot;finance.yahoo.com.js&amp;quot;. The script will be loaded on the whole domain tree sites. If several files matches the domain, then the script with longest file name is loaded. Script must be put under the folder &amp;quot;sitejs&amp;quot; or &amp;quot;/data/data/info.torapp.uweb/files/sitejs&amp;quot;. The later folder has the priority. Long press the button &amp;quot;settings&amp;quot;, check the option &amp;quot;Run user scripts&amp;quot;.</description>
</item>
</channel>
</rss>

View File

@ -17,11 +17,11 @@ uweb, termux &amp;amp; history versions
github
pagure
sourceforge
Change logs 961: webdav/http file upload support with &amp;quot;i:0u&amp;quot; links.
Change logs 964: site source html preprocessing before rendering with user site extra html.
961: webdav/http file upload support with &amp;quot;i:0u&amp;quot; links.
956: Search engines (.search file) to apply same folder &amp;quot;home.css&amp;quot;. Use POST type search engine as bookmark for auto login.
955: Address bar: &amp;quot;:!&amp;quot; or &amp;quot;!&amp;quot; for command line support (.js/.sh files as executables).
953: hardware keyboard: &amp;quot;:&amp;quot;, &amp;quot;!&amp;quot; to set focus on address bar
949: Address bar: &amp;quot;:p [width in milliInch]x[height]&amp;quot; to generate PDF in custom size</description>
953: hardware keyboard: &amp;quot;:&amp;quot;, &amp;quot;!</description>
</item>
<item>

View File

@ -1 +1,10 @@
<meta http-equiv="refresh" content="0; url=en/index.html">
<!DOCTYPE html>
<html lang="en">
<head>
<title>en/</title>
<link rel="canonical" href="en/">
<meta name="robots" content="noindex">
<meta charset="utf-8">
<meta http-equiv="refresh" content="0; url=en/">
</head>
</html>

View File

@ -4,14 +4,14 @@
<sitemap>
<loc>en/sitemap.xml</loc>
<lastmod>2023-01-16T00:00:00+00:00</lastmod>
<lastmod>2023-01-28T00:00:00+00:00</lastmod>
</sitemap>
<sitemap>
<loc>zh/sitemap.xml</loc>
<lastmod>2022-07-28T00:00:00+00:00</lastmod>
<lastmod>2023-01-28T00:00:00+00:00</lastmod>
</sitemap>

View File

@ -5,7 +5,18 @@
<link>/zh/_posts/</link>
<description>Recent content in _posts on 超微浏览器</description>
<generator>Hugo -- gohugo.io</generator>
<lastBuildDate>Wed, 27 Jul 2022 00:00:00 +0000</lastBuildDate><atom:link href="/zh/_posts/index.xml" rel="self" type="application/rss+xml" />
<lastBuildDate>Sat, 28 Jan 2023 00:00:00 +0000</lastBuildDate><atom:link href="/zh/_posts/index.xml" rel="self" type="application/rss+xml" />
<item>
<title>特定网址脚本、样式、额外html及预处理</title>
<link>/zh/sitejs/</link>
<pubDate>Sat, 28 Jan 2023 00:00:00 +0000</pubDate>
<guid>/zh/sitejs/</guid>
<description>技巧等级:中级
脚本 (第一时间装载js脚本见下面sitecss条目) 脚本需命名为 &amp;quot;[根域名].js&amp;quot;譬如baidu.com.js 或tieba.baidu.com.js 。此脚本将自动作用于所有相同根域名的网址上。如有多个脚本满足条件,以最长文件名为准。 这些脚本需放到/data/data/info.torapp.uweb/files/sitejs目录下数量没有限制上百万都不成问题。 长按窗口按钮,勾选“执行网址用户脚本”。 脚本执行对浏览器无性能影响,即使有百万脚本存在。 目前支持两段、三段及少数四段域名最后两段不超过6字如com.cn的域名可取四段。所以脚本请不要以很长的域名来命名。 样式及第一时间装载js脚本 与此类似,用户样式需命名为 &amp;quot;[根域名].css&amp;quot;譬如baidu.com.css 或tieba.baidu.com.css。 样式文件需放到sitecss目录下。 sitecss目录下&amp;quot;[根域名].js&amp;quot;文件会在第一时间装载。 长按窗口按钮,勾选“使用网址用户样式”。 如果文件“default.css”存在访问网址时如果没有与域名匹配的css文件则使用此默认样式文件。 default.css可作为夜间模式来使用此时default.css为夜间模式css而黑色主题类网址对应的域名为空文件。此种设定情况下仅白色主题网页会使用夜间模式css。 额外html及预处理 需命名为 &amp;quot;[域名].html&amp;quot;譬如baidu.com.html。注意此处与sitejs, sitecss不同不再是&amp;quot;[根域名]&amp;quot;。 文件需放到siteextra目录下。 长按窗口按钮,勾选“网址附加内容”。 额外html可以以&amp;quot;&amp;lt;textarea&amp;gt;&amp;quot;或&amp;quot;&amp;lt;div&amp;gt;&amp;lt;textarea&amp;gt;&amp;quot;等结尾此时超微算法自动判定用户欲对网址html源代码进行处理并将网址html源码附加在用户html后面从而成为textarea元素的内容供用户进行预处理。
文件&amp;quot;sitejs/.js&amp;quot;,&amp;quot;sitecss/.css&amp;quot;,&amp;quot;sitecss/.js&amp;quot;和&amp;quot;siteextra/.html&amp;quot;可作用于一切非http url本地文件浏览器界面等</description>
</item>
<item>
<title>html5应用</title>
<link>/zh/html5/</link>
@ -208,7 +219,7 @@ c[cssFlag]: For example, &amp;quot;c12&amp;quot; will apply the third and fourth
</item>
<item>
<title>重定向国外网址至国内镜像(附编辑本地文件)</title>
<title>重定向网址至国内镜像</title>
<link>/zh/redirect/</link>
<pubDate>Mon, 25 Apr 2022 00:00:00 +0000</pubDate>
@ -570,7 +581,7 @@ oed索引
</item>
<item>
<title>利用文件预处理预览/查看/播放一切可下载资源</title>
<title>利用文件预处理预览/查看/播放可下载资源</title>
<link>/zh/filecap/</link>
<pubDate>Mon, 24 Aug 2020 00:00:00 +0000</pubDate>
@ -607,7 +618,7 @@ back2:javascript:history.go(-2)</description>
</item>
<item>
<title>一键执行任意预定义命令附手机PC剪贴板互通</title>
<title>一键执行预定义命令</title>
<link>/zh/cmd/</link>
<pubDate>Sat, 20 Jan 2018 00:00:00 +0000</pubDate>
@ -802,7 +813,7 @@ gnuplot -e &#39;set term svg;set output; plot x&#39;
</item>
<item>
<title>浏览器一键控制台式机/服务器下载资源</title>
<title>浏览器控制服务器下载资源</title>
<link>/zh/pcdown/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@ -825,16 +836,6 @@ PCdown:/data/data/com.termux/files/usr/bin/pcdownload
可能大家有疑问,台式机无法登录,为什么手机可以登录?这是因为手机上应用多哈。</description>
</item>
<item>
<title>特定网址用户脚本及样式</title>
<link>/zh/sitejs/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
<guid>/zh/sitejs/</guid>
<description>技巧等级:中级
脚本 (第一时间装载js脚本见下面sitecss条目) 脚本需命名为 &amp;quot;[根域名].js&amp;quot;譬如baidu.com.js 或tieba.baidu.com.js 。此脚本将自动作用于所有相同根域名的网址上。如有多个脚本满足条件,以最长文件名为准。 这些脚本需放到sitejs或/data/data/info.torapp.uweb/files/sitejs目录下数量没有限制上百万都不成问题。如果内部目录下sitejs存在则sitejs不起任何作用。内部sitejs目录的存在同时也影响一切对安全敏感的资源包括网站离线资源等的配置一旦内部sitejs目录存在则这些资源必须位于内部目录才会生效。 长按窗口按钮,勾选“执行网址用户脚本”。 脚本执行对浏览器无性能影响,即使有百万脚本存在。 目前支持两段、三段及少数四段域名最后两段不超过6字如com.cn的域名可取四段。所以脚本请不要以很长的域名来命名。 样式及第一时间装载js脚本 与此类似,用户样式需命名为 &amp;quot;[根域名].css&amp;quot;譬如baidu.com.css 或tieba.baidu.com.css。 样式文件需放到sitecss目录下。 sitecss目录下&amp;quot;[根域名].js&amp;quot;文件会在第一时间装载。 长按窗口按钮,勾选“使用网址用户样式”。 如果文件“default.css”存在访问网址时如果没有与域名匹配的css文件则使用此默认样式文件。 default.css可作为夜间模式来使用此时default.css为夜间模式css而黑色主题类网址对应的域名为空文件。此种设定情况下仅白色主题网页会使用夜间模式css。 额外html 需命名为 &amp;quot;[域名].html&amp;quot;譬如baidu.com.html。注意此处与sitejs, sitecss不同不再是&amp;quot;[根域名]&amp;quot;。 文件需放到siteextra目录下。 文件&amp;quot;sitejs/.js&amp;quot;,&amp;quot;sitecss/.css&amp;quot;,&amp;quot;sitecss/.js&amp;quot;和&amp;quot;siteextra/.html&amp;quot;可作用于一切非http url本地文件浏览器界面等</description>
</item>
<item>
<title>装载网站离线资源</title>
<link>/zh/offlinecache/</link>

View File

@ -5,7 +5,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="stylesheet" href="../style.css" type="text/css" />
<title>一键执行任意预定义命令附手机PC剪贴板互通</title>
<title>一键执行预定义命令</title>
<script type="text/javascript">
function findLang(){
let href = location.href;
@ -36,7 +36,7 @@
<br />
<div class="container">
<h1 class="title">一键执行任意预定义命令附手机PC剪贴板互通
<h1 class="title">一键执行预定义命令
<br>
<span class="subtitle"></span>
</h1>

View File

@ -5,7 +5,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="stylesheet" href="../style.css" type="text/css" />
<title>利用文件预处理预览/查看/播放一切可下载资源</title>
<title>利用文件预处理预览/查看/播放可下载资源</title>
<script type="text/javascript">
function findLang(){
let href = location.href;
@ -40,7 +40,7 @@
<br />
<div class="container">
<h1 class="title">利用文件预处理预览/查看/播放一切可下载资源
<h1 class="title">利用文件预处理预览/查看/播放可下载资源
<br>
<span class="subtitle"></span>
</h1>

View File

@ -88,6 +88,12 @@
<li class="post">
<a href="sitejs/index.html">
<span>特定网址脚本、样式、额外html及预处理</span>
</a>
</li>
<li class="post">
<a href="html5/index.html">
<span>html5应用</span>
@ -132,7 +138,7 @@
<li class="post">
<a href="redirect/index.html">
<span>重定向国外网址至国内镜像(附编辑本地文件)</span>
<span>重定向网址至国内镜像</span>
</a>
</li>
@ -216,7 +222,7 @@
<li class="post">
<a href="filecap/index.html">
<span>利用文件预处理预览/查看/播放一切可下载资源</span>
<span>利用文件预处理预览/查看/播放可下载资源</span>
</a>
</li>
@ -228,7 +234,7 @@
<li class="post">
<a href="cmd/index.html">
<span>一键执行任意预定义命令附手机PC剪贴板互通</span>
<span>一键执行预定义命令</span>
</a>
</li>
@ -270,13 +276,7 @@
<li class="post">
<a href="pcdown/index.html">
<span>浏览器一键控制台式机/服务器下载资源</span>
</a>
</li>
<li class="post">
<a href="sitejs/index.html">
<span>特定网址用户脚本及样式</span>
<span>浏览器控制服务器下载资源</span>
</a>
</li>

View File

@ -5,7 +5,18 @@
<link>/zh/</link>
<description>Recent content on 超微浏览器</description>
<generator>Hugo -- gohugo.io</generator>
<lastBuildDate>Thu, 28 Jul 2022 00:00:00 +0000</lastBuildDate><atom:link href="/zh/index.xml" rel="self" type="application/rss+xml" />
<lastBuildDate>Sat, 28 Jan 2023 00:00:00 +0000</lastBuildDate><atom:link href="/zh/index.xml" rel="self" type="application/rss+xml" />
<item>
<title>特定网址脚本、样式、额外html及预处理</title>
<link>/zh/sitejs/</link>
<pubDate>Sat, 28 Jan 2023 00:00:00 +0000</pubDate>
<guid>/zh/sitejs/</guid>
<description>技巧等级:中级
脚本 (第一时间装载js脚本见下面sitecss条目) 脚本需命名为 &amp;quot;[根域名].js&amp;quot;譬如baidu.com.js 或tieba.baidu.com.js 。此脚本将自动作用于所有相同根域名的网址上。如有多个脚本满足条件,以最长文件名为准。 这些脚本需放到/data/data/info.torapp.uweb/files/sitejs目录下数量没有限制上百万都不成问题。 长按窗口按钮,勾选“执行网址用户脚本”。 脚本执行对浏览器无性能影响,即使有百万脚本存在。 目前支持两段、三段及少数四段域名最后两段不超过6字如com.cn的域名可取四段。所以脚本请不要以很长的域名来命名。 样式及第一时间装载js脚本 与此类似,用户样式需命名为 &amp;quot;[根域名].css&amp;quot;譬如baidu.com.css 或tieba.baidu.com.css。 样式文件需放到sitecss目录下。 sitecss目录下&amp;quot;[根域名].js&amp;quot;文件会在第一时间装载。 长按窗口按钮,勾选“使用网址用户样式”。 如果文件“default.css”存在访问网址时如果没有与域名匹配的css文件则使用此默认样式文件。 default.css可作为夜间模式来使用此时default.css为夜间模式css而黑色主题类网址对应的域名为空文件。此种设定情况下仅白色主题网页会使用夜间模式css。 额外html及预处理 需命名为 &amp;quot;[域名].html&amp;quot;譬如baidu.com.html。注意此处与sitejs, sitecss不同不再是&amp;quot;[根域名]&amp;quot;。 文件需放到siteextra目录下。 长按窗口按钮,勾选“网址附加内容”。 额外html可以以&amp;quot;&amp;lt;textarea&amp;gt;&amp;quot;或&amp;quot;&amp;lt;div&amp;gt;&amp;lt;textarea&amp;gt;&amp;quot;等结尾此时超微算法自动判定用户欲对网址html源代码进行处理并将网址html源码附加在用户html后面从而成为textarea元素的内容供用户进行预处理。
文件&amp;quot;sitejs/.js&amp;quot;,&amp;quot;sitecss/.css&amp;quot;,&amp;quot;sitecss/.js&amp;quot;和&amp;quot;siteextra/.html&amp;quot;可作用于一切非http url本地文件浏览器界面等</description>
</item>
<item>
<title>浏览器多搜索引擎一键直达</title>
<link>/zh/search/</link>
@ -420,7 +431,7 @@ Selection to paragraph:;let g=&#39;paragraph&#39;;getSelection().modify(&#39;mov
</item>
<item>
<title>重定向国外网址至国内镜像(附编辑本地文件)</title>
<title>重定向网址至国内镜像</title>
<link>/zh/redirect/</link>
<pubDate>Mon, 25 Apr 2022 00:00:00 +0000</pubDate>
@ -782,7 +793,7 @@ oed索引
</item>
<item>
<title>利用文件预处理预览/查看/播放一切可下载资源</title>
<title>利用文件预处理预览/查看/播放可下载资源</title>
<link>/zh/filecap/</link>
<pubDate>Mon, 24 Aug 2020 00:00:00 +0000</pubDate>
@ -819,7 +830,7 @@ back2:javascript:history.go(-2)</description>
</item>
<item>
<title>一键执行任意预定义命令附手机PC剪贴板互通</title>
<title>一键执行预定义命令</title>
<link>/zh/cmd/</link>
<pubDate>Sat, 20 Jan 2018 00:00:00 +0000</pubDate>
@ -1014,7 +1025,7 @@ gnuplot -e &#39;set term svg;set output; plot x&#39;
</item>
<item>
<title>浏览器一键控制台式机/服务器下载资源</title>
<title>浏览器控制服务器下载资源</title>
<link>/zh/pcdown/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
@ -1037,16 +1048,6 @@ PCdown:/data/data/com.termux/files/usr/bin/pcdownload
可能大家有疑问,台式机无法登录,为什么手机可以登录?这是因为手机上应用多哈。</description>
</item>
<item>
<title>特定网址用户脚本及样式</title>
<link>/zh/sitejs/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
<guid>/zh/sitejs/</guid>
<description>技巧等级:中级
脚本 (第一时间装载js脚本见下面sitecss条目) 脚本需命名为 &amp;quot;[根域名].js&amp;quot;譬如baidu.com.js 或tieba.baidu.com.js 。此脚本将自动作用于所有相同根域名的网址上。如有多个脚本满足条件,以最长文件名为准。 这些脚本需放到sitejs或/data/data/info.torapp.uweb/files/sitejs目录下数量没有限制上百万都不成问题。如果内部目录下sitejs存在则sitejs不起任何作用。内部sitejs目录的存在同时也影响一切对安全敏感的资源包括网站离线资源等的配置一旦内部sitejs目录存在则这些资源必须位于内部目录才会生效。 长按窗口按钮,勾选“执行网址用户脚本”。 脚本执行对浏览器无性能影响,即使有百万脚本存在。 目前支持两段、三段及少数四段域名最后两段不超过6字如com.cn的域名可取四段。所以脚本请不要以很长的域名来命名。 样式及第一时间装载js脚本 与此类似,用户样式需命名为 &amp;quot;[根域名].css&amp;quot;譬如baidu.com.css 或tieba.baidu.com.css。 样式文件需放到sitecss目录下。 sitecss目录下&amp;quot;[根域名].js&amp;quot;文件会在第一时间装载。 长按窗口按钮,勾选“使用网址用户样式”。 如果文件“default.css”存在访问网址时如果没有与域名匹配的css文件则使用此默认样式文件。 default.css可作为夜间模式来使用此时default.css为夜间模式css而黑色主题类网址对应的域名为空文件。此种设定情况下仅白色主题网页会使用夜间模式css。 额外html 需命名为 &amp;quot;[域名].html&amp;quot;譬如baidu.com.html。注意此处与sitejs, sitecss不同不再是&amp;quot;[根域名]&amp;quot;。 文件需放到siteextra目录下。 文件&amp;quot;sitejs/.js&amp;quot;,&amp;quot;sitecss/.css&amp;quot;,&amp;quot;sitecss/.js&amp;quot;和&amp;quot;siteextra/.html&amp;quot;可作用于一切非http url本地文件浏览器界面等</description>
</item>
<item>
<title>装载网站离线资源</title>
<link>/zh/offlinecache/</link>

View File

@ -5,7 +5,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="stylesheet" href="../style.css" type="text/css" />
<title>浏览器一键控制台式机/服务器下载资源</title>
<title>浏览器控制服务器下载资源</title>
<script type="text/javascript">
function findLang(){
let href = location.href;
@ -36,7 +36,7 @@
<br />
<div class="container">
<h1 class="title">浏览器一键控制台式机/服务器下载资源
<h1 class="title">浏览器控制服务器下载资源
<br>
<span class="subtitle"></span>
</h1>

View File

@ -5,7 +5,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="stylesheet" href="../style.css" type="text/css" />
<title>重定向国外网址至国内镜像(附编辑本地文件)</title>
<title>重定向网址至国内镜像</title>
<script type="text/javascript">
function findLang(){
let href = location.href;
@ -40,7 +40,7 @@
<br />
<div class="container">
<h1 class="title">重定向国外网址至国内镜像(附编辑本地文件)
<h1 class="title">重定向网址至国内镜像
<br>
<span class="subtitle"></span>
</h1>

View File

@ -5,7 +5,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="stylesheet" href="../style.css" type="text/css" />
<title>特定网址用户脚本及样式</title>
<title>特定网址脚本、样式、额外html及预处理</title>
<script type="text/javascript">
function findLang(){
let href = location.href;
@ -40,7 +40,7 @@
<br />
<div class="container">
<h1 class="title">特定网址用户脚本及样式
<h1 class="title">特定网址脚本、样式、额外html及预处理
<br>
<span class="subtitle"></span>
</h1>
@ -55,7 +55,7 @@
<h3 id="脚本-第一时间装载js脚本见下面sitecss条目">脚本 (第一时间装载js脚本见下面sitecss条目)</h3>
<ul>
<li>脚本需命名为 &quot;[根域名].js&quot;譬如baidu.com.js 或tieba.baidu.com.js 。此脚本将自动作用于所有相同根域名的网址上。如有多个脚本满足条件,以最长文件名为准。</li>
<li>这些脚本需放到sitejs或/data/data/info.torapp.uweb/files/sitejs目录下数量没有限制上百万都不成问题。如果内部目录下sitejs存在则sitejs不起任何作用。内部sitejs目录的存在同时也影响一切对安全敏感的资源包括网站离线资源等的配置一旦内部sitejs目录存在则这些资源必须位于内部目录才会生效</li>
<li>这些脚本需放到/data/data/info.torapp.uweb/files/sitejs目录下数量没有限制上百万都不成问题。</li>
<li>长按窗口按钮,勾选“执行网址用户脚本”。</li>
<li>脚本执行对浏览器无性能影响,即使有百万脚本存在。</li>
<li>目前支持两段、三段及少数四段域名最后两段不超过6字如com.cn的域名可取四段。所以脚本请不要以很长的域名来命名。</li>
@ -69,11 +69,13 @@
<li>如果文件“default.css”存在访问网址时如果没有与域名匹配的css文件则使用此默认样式文件。</li>
<li>default.css可作为夜间模式来使用此时default.css为夜间模式css而黑色主题类网址对应的域名为空文件。此种设定情况下仅白色主题网页会使用夜间模式css。</li>
</ul>
<h3 id="额外html">额外html</h3>
<h3 id="额外html及预处理">额外html及预处理</h3>
<ul>
<li>需命名为 &quot;[域名].html&quot;譬如baidu.com.html。注意此处与sitejs, sitecss不同不再是&quot;[根域名]&quot;</li>
<li>文件需放到siteextra目录下。</li>
<li>长按窗口按钮,勾选“网址附加内容”。</li>
</ul>
<p>额外html可以以&quot;&lt;textarea&gt;&quot;&quot;&lt;div&gt;&lt;textarea&gt;&quot;等结尾此时超微算法自动判定用户欲对网址html源代码进行处理并将网址html源码附加在用户html后面从而成为textarea元素的内容供用户进行预处理。</p>
<p>文件&quot;sitejs/.js&quot;,&quot;sitecss/.css&quot;,&quot;sitecss/.js&quot;&quot;siteextra/.html&quot;可作用于一切非http url本地文件浏览器界面等</p>
</div>

View File

@ -2,6 +2,84 @@
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
xmlns:xhtml="http://www.w3.org/1999/xhtml">
<url>
<loc>/zh/_posts/</loc>
<lastmod>2023-01-28T00:00:00+00:00</lastmod>
<xhtml:link
rel="alternate"
hreflang="en"
href="/en/_posts/"
/>
<xhtml:link
rel="alternate"
hreflang="zh"
href="/zh/_posts/"
/>
</url><url>
<loc>/zh/tags/css/</loc>
<lastmod>2023-01-28T00:00:00+00:00</lastmod>
<xhtml:link
rel="alternate"
hreflang="en"
href="/en/tags/css/"
/>
<xhtml:link
rel="alternate"
hreflang="zh"
href="/zh/tags/css/"
/>
</url><url>
<loc>/zh/tags/javascript/</loc>
<lastmod>2023-01-28T00:00:00+00:00</lastmod>
<xhtml:link
rel="alternate"
hreflang="en"
href="/en/tags/javascript/"
/>
<xhtml:link
rel="alternate"
hreflang="zh"
href="/zh/tags/javascript/"
/>
</url><url>
<loc>/zh/tags/</loc>
<lastmod>2023-01-28T00:00:00+00:00</lastmod>
<xhtml:link
rel="alternate"
hreflang="en"
href="/en/tags/"
/>
<xhtml:link
rel="alternate"
hreflang="zh"
href="/zh/tags/"
/>
</url><url>
<loc>/zh/</loc>
<lastmod>2023-01-28T00:00:00+00:00</lastmod>
<xhtml:link
rel="alternate"
hreflang="en"
href="/en/"
/>
<xhtml:link
rel="alternate"
hreflang="zh"
href="/zh/"
/>
</url><url>
<loc>/zh/sitejs/</loc>
<lastmod>2023-01-28T00:00:00+00:00</lastmod>
<xhtml:link
rel="alternate"
hreflang="en"
href="/en/sitejs/"
/>
<xhtml:link
rel="alternate"
hreflang="zh"
href="/zh/sitejs/"
/>
</url><url>
<loc>/zh/topposts/</loc>
<lastmod>2022-07-28T00:00:00+00:00</lastmod>
<xhtml:link
@ -14,19 +92,6 @@
hreflang="zh"
href="/zh/topposts/"
/>
</url><url>
<loc>/zh/</loc>
<lastmod>2022-07-28T00:00:00+00:00</lastmod>
<xhtml:link
rel="alternate"
hreflang="en"
href="/en/"
/>
<xhtml:link
rel="alternate"
hreflang="zh"
href="/zh/"
/>
</url><url>
<loc>/zh/search/</loc>
<lastmod>2022-07-28T00:00:00+00:00</lastmod>
@ -40,19 +105,6 @@
hreflang="zh"
href="/zh/search/"
/>
</url><url>
<loc>/zh/_posts/</loc>
<lastmod>2022-07-27T00:00:00+00:00</lastmod>
<xhtml:link
rel="alternate"
hreflang="en"
href="/en/_posts/"
/>
<xhtml:link
rel="alternate"
hreflang="zh"
href="/zh/_posts/"
/>
</url><url>
<loc>/zh/html5/</loc>
<lastmod>2022-07-27T00:00:00+00:00</lastmod>
@ -105,32 +157,6 @@
hreflang="zh"
href="/zh/adblock/"
/>
</url><url>
<loc>/zh/tags/javascript/</loc>
<lastmod>2022-06-24T00:00:00+00:00</lastmod>
<xhtml:link
rel="alternate"
hreflang="en"
href="/en/tags/javascript/"
/>
<xhtml:link
rel="alternate"
hreflang="zh"
href="/zh/tags/javascript/"
/>
</url><url>
<loc>/zh/tags/</loc>
<lastmod>2022-06-24T00:00:00+00:00</lastmod>
<xhtml:link
rel="alternate"
hreflang="en"
href="/en/tags/"
/>
<xhtml:link
rel="alternate"
hreflang="zh"
href="/zh/tags/"
/>
</url><url>
<loc>/zh/bookmarklet/</loc>
<lastmod>2022-06-24T00:00:00+00:00</lastmod>
@ -160,19 +186,6 @@
</url><url>
<loc>/zh/androidtv/</loc>
<lastmod>2022-05-18T00:00:00+00:00</lastmod>
</url><url>
<loc>/zh/tags/css/</loc>
<lastmod>2022-05-18T00:00:00+00:00</lastmod>
<xhtml:link
rel="alternate"
hreflang="en"
href="/en/tags/css/"
/>
<xhtml:link
rel="alternate"
hreflang="zh"
href="/zh/tags/css/"
/>
</url><url>
<loc>/zh/tags/%E4%B8%8D%E8%89%AF%E4%BF%A1%E6%81%AF%E5%B1%8F%E8%94%BD/</loc>
<lastmod>2022-05-18T00:00:00+00:00</lastmod>
@ -529,18 +542,6 @@
<loc>/zh/gnuplot/</loc>
</url><url>
<loc>/zh/pcdown/</loc>
</url><url>
<loc>/zh/sitejs/</loc>
<xhtml:link
rel="alternate"
hreflang="en"
href="/en/sitejs/"
/>
<xhtml:link
rel="alternate"
hreflang="zh"
href="/zh/sitejs/"
/>
</url><url>
<loc>/zh/tags/%E4%B8%8B%E8%BD%BD/</loc>
</url><url>

View File

@ -44,14 +44,14 @@
<ul class="posts">
<li class="post">
<a href="../../adblock_css">
<span>利用用户自定义样式屏蔽不良信息</span>
<a href="../../sitejs">
<span>特定网址脚本、样式、额外html及预处理</span>
</a>
</li>
<li class="post">
<a href="../../sitejs">
<span>特定网址用户脚本及样式</span>
<a href="../../adblock_css">
<span>利用用户自定义样式屏蔽不良信息</span>
</a>
</li>

View File

@ -5,7 +5,18 @@
<link>/zh/tags/css/</link>
<description>Recent content in css on 超微浏览器</description>
<generator>Hugo -- gohugo.io</generator>
<lastBuildDate>Wed, 18 May 2022 00:00:00 +0000</lastBuildDate><atom:link href="/zh/tags/css/index.xml" rel="self" type="application/rss+xml" />
<lastBuildDate>Sat, 28 Jan 2023 00:00:00 +0000</lastBuildDate><atom:link href="/zh/tags/css/index.xml" rel="self" type="application/rss+xml" />
<item>
<title>特定网址脚本、样式、额外html及预处理</title>
<link>/zh/sitejs/</link>
<pubDate>Sat, 28 Jan 2023 00:00:00 +0000</pubDate>
<guid>/zh/sitejs/</guid>
<description>技巧等级:中级
脚本 (第一时间装载js脚本见下面sitecss条目) 脚本需命名为 &amp;quot;[根域名].js&amp;quot;譬如baidu.com.js 或tieba.baidu.com.js 。此脚本将自动作用于所有相同根域名的网址上。如有多个脚本满足条件,以最长文件名为准。 这些脚本需放到/data/data/info.torapp.uweb/files/sitejs目录下数量没有限制上百万都不成问题。 长按窗口按钮,勾选“执行网址用户脚本”。 脚本执行对浏览器无性能影响,即使有百万脚本存在。 目前支持两段、三段及少数四段域名最后两段不超过6字如com.cn的域名可取四段。所以脚本请不要以很长的域名来命名。 样式及第一时间装载js脚本 与此类似,用户样式需命名为 &amp;quot;[根域名].css&amp;quot;譬如baidu.com.css 或tieba.baidu.com.css。 样式文件需放到sitecss目录下。 sitecss目录下&amp;quot;[根域名].js&amp;quot;文件会在第一时间装载。 长按窗口按钮,勾选“使用网址用户样式”。 如果文件“default.css”存在访问网址时如果没有与域名匹配的css文件则使用此默认样式文件。 default.css可作为夜间模式来使用此时default.css为夜间模式css而黑色主题类网址对应的域名为空文件。此种设定情况下仅白色主题网页会使用夜间模式css。 额外html及预处理 需命名为 &amp;quot;[域名].html&amp;quot;譬如baidu.com.html。注意此处与sitejs, sitecss不同不再是&amp;quot;[根域名]&amp;quot;。 文件需放到siteextra目录下。 长按窗口按钮,勾选“网址附加内容”。 额外html可以以&amp;quot;&amp;lt;textarea&amp;gt;&amp;quot;或&amp;quot;&amp;lt;div&amp;gt;&amp;lt;textarea&amp;gt;&amp;quot;等结尾此时超微算法自动判定用户欲对网址html源代码进行处理并将网址html源码附加在用户html后面从而成为textarea元素的内容供用户进行预处理。
文件&amp;quot;sitejs/.js&amp;quot;,&amp;quot;sitecss/.css&amp;quot;,&amp;quot;sitecss/.js&amp;quot;和&amp;quot;siteextra/.html&amp;quot;可作用于一切非http url本地文件浏览器界面等</description>
</item>
<item>
<title>利用用户自定义样式屏蔽不良信息</title>
<link>/zh/adblock_css/</link>
@ -19,15 +30,5 @@ gozer 广告屏蔽样式
对这一部分不良信息而言,我们可以利用超微浏览器的自定义样式功能加以屏蔽。</description>
</item>
<item>
<title>特定网址用户脚本及样式</title>
<link>/zh/sitejs/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
<guid>/zh/sitejs/</guid>
<description>技巧等级:中级
脚本 (第一时间装载js脚本见下面sitecss条目) 脚本需命名为 &amp;quot;[根域名].js&amp;quot;譬如baidu.com.js 或tieba.baidu.com.js 。此脚本将自动作用于所有相同根域名的网址上。如有多个脚本满足条件,以最长文件名为准。 这些脚本需放到sitejs或/data/data/info.torapp.uweb/files/sitejs目录下数量没有限制上百万都不成问题。如果内部目录下sitejs存在则sitejs不起任何作用。内部sitejs目录的存在同时也影响一切对安全敏感的资源包括网站离线资源等的配置一旦内部sitejs目录存在则这些资源必须位于内部目录才会生效。 长按窗口按钮,勾选“执行网址用户脚本”。 脚本执行对浏览器无性能影响,即使有百万脚本存在。 目前支持两段、三段及少数四段域名最后两段不超过6字如com.cn的域名可取四段。所以脚本请不要以很长的域名来命名。 样式及第一时间装载js脚本 与此类似,用户样式需命名为 &amp;quot;[根域名].css&amp;quot;譬如baidu.com.css 或tieba.baidu.com.css。 样式文件需放到sitecss目录下。 sitecss目录下&amp;quot;[根域名].js&amp;quot;文件会在第一时间装载。 长按窗口按钮,勾选“使用网址用户样式”。 如果文件“default.css”存在访问网址时如果没有与域名匹配的css文件则使用此默认样式文件。 default.css可作为夜间模式来使用此时default.css为夜间模式css而黑色主题类网址对应的域名为空文件。此种设定情况下仅白色主题网页会使用夜间模式css。 额外html 需命名为 &amp;quot;[域名].html&amp;quot;譬如baidu.com.html。注意此处与sitejs, sitecss不同不再是&amp;quot;[根域名]&amp;quot;。 文件需放到siteextra目录下。 文件&amp;quot;sitejs/.js&amp;quot;,&amp;quot;sitecss/.css&amp;quot;,&amp;quot;sitecss/.js&amp;quot;和&amp;quot;siteextra/.html&amp;quot;可作用于一切非http url本地文件浏览器界面等</description>
</item>
</channel>
</rss>

View File

@ -45,7 +45,7 @@
<li class="post">
<a href="../../filecap">
<span>利用文件预处理预览/查看/播放一切可下载资源</span>
<span>利用文件预处理预览/查看/播放可下载资源</span>
</a>
</li>

View File

@ -7,7 +7,7 @@
<generator>Hugo -- gohugo.io</generator>
<lastBuildDate>Mon, 24 Aug 2020 00:00:00 +0000</lastBuildDate><atom:link href="/zh/tags/curl/index.xml" rel="self" type="application/rss+xml" />
<item>
<title>利用文件预处理预览/查看/播放一切可下载资源</title>
<title>利用文件预处理预览/查看/播放可下载资源</title>
<link>/zh/filecap/</link>
<pubDate>Mon, 24 Aug 2020 00:00:00 +0000</pubDate>

View File

@ -5,22 +5,22 @@
<link>/zh/tags/</link>
<description>Recent content in Tags on 超微浏览器</description>
<generator>Hugo -- gohugo.io</generator>
<lastBuildDate>Fri, 24 Jun 2022 00:00:00 +0000</lastBuildDate><atom:link href="/zh/tags/index.xml" rel="self" type="application/rss+xml" />
<lastBuildDate>Sat, 28 Jan 2023 00:00:00 +0000</lastBuildDate><atom:link href="/zh/tags/index.xml" rel="self" type="application/rss+xml" />
<item>
<title>javascript</title>
<link>/zh/tags/javascript/</link>
<pubDate>Fri, 24 Jun 2022 00:00:00 +0000</pubDate>
<title>css</title>
<link>/zh/tags/css/</link>
<pubDate>Sat, 28 Jan 2023 00:00:00 +0000</pubDate>
<guid>/zh/tags/javascript/</guid>
<guid>/zh/tags/css/</guid>
<description></description>
</item>
<item>
<title>css</title>
<link>/zh/tags/css/</link>
<pubDate>Wed, 18 May 2022 00:00:00 +0000</pubDate>
<title>javascript</title>
<link>/zh/tags/javascript/</link>
<pubDate>Sat, 28 Jan 2023 00:00:00 +0000</pubDate>
<guid>/zh/tags/css/</guid>
<guid>/zh/tags/javascript/</guid>
<description></description>
</item>

View File

@ -43,6 +43,12 @@
<h1 class="title">javascript</h1>
<ul class="posts">
<li class="post">
<a href="../../sitejs">
<span>特定网址脚本、样式、额外html及预处理</span>
</a>
</li>
<li class="post">
<a href="../../bookmarklet">
<span>小书签</span>
@ -55,12 +61,6 @@
</a>
</li>
<li class="post">
<a href="../../sitejs">
<span>特定网址用户脚本及样式</span>
</a>
</li>
</ul>
<ul>
</div>

View File

@ -5,7 +5,18 @@
<link>/zh/tags/javascript/</link>
<description>Recent content in javascript on 超微浏览器</description>
<generator>Hugo -- gohugo.io</generator>
<lastBuildDate>Fri, 24 Jun 2022 00:00:00 +0000</lastBuildDate><atom:link href="/zh/tags/javascript/index.xml" rel="self" type="application/rss+xml" />
<lastBuildDate>Sat, 28 Jan 2023 00:00:00 +0000</lastBuildDate><atom:link href="/zh/tags/javascript/index.xml" rel="self" type="application/rss+xml" />
<item>
<title>特定网址脚本、样式、额外html及预处理</title>
<link>/zh/sitejs/</link>
<pubDate>Sat, 28 Jan 2023 00:00:00 +0000</pubDate>
<guid>/zh/sitejs/</guid>
<description>技巧等级:中级
脚本 (第一时间装载js脚本见下面sitecss条目) 脚本需命名为 &amp;quot;[根域名].js&amp;quot;譬如baidu.com.js 或tieba.baidu.com.js 。此脚本将自动作用于所有相同根域名的网址上。如有多个脚本满足条件,以最长文件名为准。 这些脚本需放到/data/data/info.torapp.uweb/files/sitejs目录下数量没有限制上百万都不成问题。 长按窗口按钮,勾选“执行网址用户脚本”。 脚本执行对浏览器无性能影响,即使有百万脚本存在。 目前支持两段、三段及少数四段域名最后两段不超过6字如com.cn的域名可取四段。所以脚本请不要以很长的域名来命名。 样式及第一时间装载js脚本 与此类似,用户样式需命名为 &amp;quot;[根域名].css&amp;quot;譬如baidu.com.css 或tieba.baidu.com.css。 样式文件需放到sitecss目录下。 sitecss目录下&amp;quot;[根域名].js&amp;quot;文件会在第一时间装载。 长按窗口按钮,勾选“使用网址用户样式”。 如果文件“default.css”存在访问网址时如果没有与域名匹配的css文件则使用此默认样式文件。 default.css可作为夜间模式来使用此时default.css为夜间模式css而黑色主题类网址对应的域名为空文件。此种设定情况下仅白色主题网页会使用夜间模式css。 额外html及预处理 需命名为 &amp;quot;[域名].html&amp;quot;譬如baidu.com.html。注意此处与sitejs, sitecss不同不再是&amp;quot;[根域名]&amp;quot;。 文件需放到siteextra目录下。 长按窗口按钮,勾选“网址附加内容”。 额外html可以以&amp;quot;&amp;lt;textarea&amp;gt;&amp;quot;或&amp;quot;&amp;lt;div&amp;gt;&amp;lt;textarea&amp;gt;&amp;quot;等结尾此时超微算法自动判定用户欲对网址html源代码进行处理并将网址html源码附加在用户html后面从而成为textarea元素的内容供用户进行预处理。
文件&amp;quot;sitejs/.js&amp;quot;,&amp;quot;sitecss/.css&amp;quot;,&amp;quot;sitecss/.js&amp;quot;和&amp;quot;siteextra/.html&amp;quot;可作用于一切非http url本地文件浏览器界面等</description>
</item>
<item>
<title>小书签</title>
<link>/zh/bookmarklet/</link>
@ -48,15 +59,5 @@ js文件格式如下
首行可以&amp;quot;//&amp;quot;开头后面紧跟目标网页urlurl中可包含&amp;quot;%u&amp;quot;等,打开网页时会用长按的链接替换。 首行非&amp;quot;//&amp;quot;开头者,整个脚本作用于当前网页,不再打开新网页。 第二行开始为javascript代码代码中可用arguments来获取參数。其中arguments[1]为长按的链接; arguments[2]为长按链接的文字描述; arguments[0]为js文件名。 </description>
</item>
<item>
<title>特定网址用户脚本及样式</title>
<link>/zh/sitejs/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
<guid>/zh/sitejs/</guid>
<description>技巧等级:中级
脚本 (第一时间装载js脚本见下面sitecss条目) 脚本需命名为 &amp;quot;[根域名].js&amp;quot;譬如baidu.com.js 或tieba.baidu.com.js 。此脚本将自动作用于所有相同根域名的网址上。如有多个脚本满足条件,以最长文件名为准。 这些脚本需放到sitejs或/data/data/info.torapp.uweb/files/sitejs目录下数量没有限制上百万都不成问题。如果内部目录下sitejs存在则sitejs不起任何作用。内部sitejs目录的存在同时也影响一切对安全敏感的资源包括网站离线资源等的配置一旦内部sitejs目录存在则这些资源必须位于内部目录才会生效。 长按窗口按钮,勾选“执行网址用户脚本”。 脚本执行对浏览器无性能影响,即使有百万脚本存在。 目前支持两段、三段及少数四段域名最后两段不超过6字如com.cn的域名可取四段。所以脚本请不要以很长的域名来命名。 样式及第一时间装载js脚本 与此类似,用户样式需命名为 &amp;quot;[根域名].css&amp;quot;譬如baidu.com.css 或tieba.baidu.com.css。 样式文件需放到sitecss目录下。 sitecss目录下&amp;quot;[根域名].js&amp;quot;文件会在第一时间装载。 长按窗口按钮,勾选“使用网址用户样式”。 如果文件“default.css”存在访问网址时如果没有与域名匹配的css文件则使用此默认样式文件。 default.css可作为夜间模式来使用此时default.css为夜间模式css而黑色主题类网址对应的域名为空文件。此种设定情况下仅白色主题网页会使用夜间模式css。 额外html 需命名为 &amp;quot;[域名].html&amp;quot;譬如baidu.com.html。注意此处与sitejs, sitecss不同不再是&amp;quot;[根域名]&amp;quot;。 文件需放到siteextra目录下。 文件&amp;quot;sitejs/.js&amp;quot;,&amp;quot;sitecss/.css&amp;quot;,&amp;quot;sitecss/.js&amp;quot;和&amp;quot;siteextra/.html&amp;quot;可作用于一切非http url本地文件浏览器界面等</description>
</item>
</channel>
</rss>

View File

@ -51,7 +51,7 @@
<li class="post">
<a href="../../pcdown">
<span>浏览器一键控制台式机/服务器下载资源</span>
<span>浏览器控制服务器下载资源</span>
</a>
</li>

View File

@ -47,7 +47,7 @@ pclip</description>
</item>
<item>
<title>浏览器一键控制台式机/服务器下载资源</title>
<title>浏览器控制服务器下载资源</title>
<link>/zh/pcdown/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>

View File

@ -51,13 +51,13 @@
<li class="post">
<a href="../../cmd">
<span>一键执行任意预定义命令附手机PC剪贴板互通</span>
<span>一键执行预定义命令</span>
</a>
</li>
<li class="post">
<a href="../../pcdown">
<span>浏览器一键控制台式机/服务器下载资源</span>
<span>浏览器控制服务器下载资源</span>
</a>
</li>

View File

@ -47,7 +47,7 @@ pclip</description>
</item>
<item>
<title>一键执行任意预定义命令附手机PC剪贴板互通</title>
<title>一键执行预定义命令</title>
<link>/zh/cmd/</link>
<pubDate>Sat, 20 Jan 2018 00:00:00 +0000</pubDate>
@ -70,7 +70,7 @@ mimetype用来表示命令的输出类型。除了标准的mimetype之外
</item>
<item>
<title>浏览器一键控制台式机/服务器下载资源</title>
<title>浏览器控制服务器下载资源</title>
<link>/zh/pcdown/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>

View File

@ -63,13 +63,13 @@
<li class="post">
<a href="../../filecap">
<span>利用文件预处理预览/查看/播放一切可下载资源</span>
<span>利用文件预处理预览/查看/播放可下载资源</span>
</a>
</li>
<li class="post">
<a href="../../cmd">
<span>一键执行任意预定义命令附手机PC剪贴板互通</span>
<span>一键执行预定义命令</span>
</a>
</li>
@ -81,7 +81,7 @@
<li class="post">
<a href="../../pcdown">
<span>浏览器一键控制台式机/服务器下载资源</span>
<span>浏览器控制服务器下载资源</span>
</a>
</li>

View File

@ -104,7 +104,7 @@ oed索引
</item>
<item>
<title>利用文件预处理预览/查看/播放一切可下载资源</title>
<title>利用文件预处理预览/查看/播放可下载资源</title>
<link>/zh/filecap/</link>
<pubDate>Mon, 24 Aug 2020 00:00:00 +0000</pubDate>
@ -124,7 +124,7 @@ pdf:uweb:echo file:///data/data/info.torapp.uweb/files/app/pdf.js/web/viewer.htm
</item>
<item>
<title>一键执行任意预定义命令附手机PC剪贴板互通</title>
<title>一键执行预定义命令</title>
<link>/zh/cmd/</link>
<pubDate>Sat, 20 Jan 2018 00:00:00 +0000</pubDate>
@ -165,7 +165,7 @@ gnuplot -e &#39;set term svg;set output; plot x&#39;
</item>
<item>
<title>浏览器一键控制台式机/服务器下载资源</title>
<title>浏览器控制服务器下载资源</title>
<link>/zh/pcdown/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>

View File

@ -41,7 +41,7 @@
<li class="post">
<a href="../../pcdown">
<span>浏览器一键控制台式机/服务器下载资源</span>
<span>浏览器控制服务器下载资源</span>
</a>
</li>

View File

@ -6,7 +6,7 @@
<description>Recent content in 下载 on 超微浏览器</description>
<generator>Hugo -- gohugo.io</generator><atom:link href="/zh/tags/%E4%B8%8B%E8%BD%BD/index.xml" rel="self" type="application/rss+xml" />
<item>
<title>浏览器一键控制台式机/服务器下载资源</title>
<title>浏览器控制服务器下载资源</title>
<link>/zh/pcdown/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>

View File

@ -47,7 +47,7 @@
<li class="post">
<a href="../../cmd">
<span>一键执行任意预定义命令附手机PC剪贴板互通</span>
<span>一键执行预定义命令</span>
</a>
</li>

View File

@ -47,7 +47,7 @@ pclip</description>
</item>
<item>
<title>一键执行任意预定义命令附手机PC剪贴板互通</title>
<title>一键执行预定义命令</title>
<link>/zh/cmd/</link>
<pubDate>Sat, 20 Jan 2018 00:00:00 +0000</pubDate>

View File

@ -41,7 +41,7 @@
<li class="post">
<a href="../../redirect">
<span>重定向国外网址至国内镜像(附编辑本地文件)</span>
<span>重定向网址至国内镜像</span>
</a>
</li>

View File

@ -7,7 +7,7 @@
<generator>Hugo -- gohugo.io</generator>
<lastBuildDate>Mon, 25 Apr 2022 00:00:00 +0000</lastBuildDate><atom:link href="/zh/tags/%E5%9B%BD%E5%A4%96%E7%BD%91%E5%9D%80/index.xml" rel="self" type="application/rss+xml" />
<item>
<title>重定向国外网址至国内镜像(附编辑本地文件)</title>
<title>重定向网址至国内镜像</title>
<link>/zh/redirect/</link>
<pubDate>Mon, 25 Apr 2022 00:00:00 +0000</pubDate>

View File

@ -41,7 +41,7 @@
<li class="post">
<a href="../../redirect">
<span>重定向国外网址至国内镜像(附编辑本地文件)</span>
<span>重定向网址至国内镜像</span>
</a>
</li>

View File

@ -7,7 +7,7 @@
<generator>Hugo -- gohugo.io</generator>
<lastBuildDate>Mon, 25 Apr 2022 00:00:00 +0000</lastBuildDate><atom:link href="/zh/tags/%E9%87%8D%E5%AE%9A%E5%90%91/index.xml" rel="self" type="application/rss+xml" />
<item>
<title>重定向国外网址至国内镜像(附编辑本地文件)</title>
<title>重定向网址至国内镜像</title>
<link>/zh/redirect/</link>
<pubDate>Mon, 25 Apr 2022 00:00:00 +0000</pubDate>