add css/nojscopy.js to disable webpage clipboard copy

master
James Feng Cao 2 months ago
parent 3a6f6b546b
commit d3e36ae437

@ -6,8 +6,15 @@
<description>Recent content in _Posts on uweb browser: unlimited power</description>
<generator>Hugo</generator>
<language>en</language>
<lastBuildDate>Tue, 27 Aug 2024 10:07:34 +0800</lastBuildDate>
<lastBuildDate>Sun, 13 Oct 2024 16:43:18 +0800</lastBuildDate>
<atom:link href="/en/_posts/index.xml" rel="self" type="application/rss+xml" />
<item>
<title>CSS styles</title>
<link>/en/globalcss/</link>
<pubDate>Sun, 13 Oct 2024 00:00:00 +0000</pubDate>
<guid>/en/globalcss/</guid>
<description>&lt;p&gt;&lt;a href=&#34;../index.html#&#34;&gt;Uweb browser&lt;/a&gt; loads all &amp;quot;.css&amp;quot; files under the folder &amp;quot;css&amp;quot; as global css. Click the following links to install global css files:&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&#34;i:0hcss/clearfont.css:../../zh/searchurl/txt/clearfont.css&#34;&gt;Clearing font settings&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;The file &amp;quot;night.css&amp;quot; is used as night mode, click the following links to install one:&lt;br&gt;&#xA;&lt;a href=&#34;i:0hnight.css:../../zh/searchurl/txt/night.css&#34;&gt;webview 81+ night mode&lt;/a&gt;&lt;br&gt;&#xA;&lt;a href=&#34;i:0hnight.css:../../zh/searchurl/txt/night_old.css&#34;&gt;webview 80- night mode&lt;/a&gt;&lt;/p&gt;&#xA;&lt;h4 id=&#34;earliest-loaded-global-js&#34;&gt;Earliest loaded global js&lt;/h4&gt;&#xA;&lt;p&gt;The &amp;quot;.js&amp;quot; files under the folder &amp;quot;css&amp;quot; are loaded as earlier as possible on the page.&lt;/p&gt;&#xA;&lt;p&gt;Click the following links to install early loaded global js:&lt;br&gt;&#xA;&lt;a href=&#34;i:0hcss/nojscopy.js::document.addEventListener(%22copy%22,(e)=&gt;{e.preventDefault()})&#34;&gt;No webpage clipboard copy&lt;/a&gt;&lt;/p&gt;</description>
</item>
<item>
<title>Text selection/processing</title>
<link>/en/textprocess/</link>
@ -113,13 +120,6 @@
<guid>/en/bookmarklet/</guid>
<description>&lt;p&gt;With &lt;a href=&#34;../index.html#&#34;&gt;uweb browser&lt;/a&gt;, long pressing any bookmarklet link, click &amp;quot;Open in new tab&amp;quot;, the bookmarklet will be run on the last other tab.&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&#34;javascript:{let es=document.getElementsByTagName(&#39;script&#39;);let urls=&#39;&#39;;for(let i=0;i&lt;es.length;i++){if(es[i].src)urls+=es[i].src+&#39;&lt;br&gt;&#39;;}let w=window.open(&#39;&#39;),s=w.document;s.write(urls);s.close();w.location.href=&#39;i:631:&#39;;}&#34;&gt;List all script urls&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;&lt;a target=&#34;_self&#34; href=&#34;javascript:alert(navigator.userAgent)&#34;&gt;User agent&lt;/a&gt;&lt;br&gt;&#xA;&lt;a href=&#34;javascript:(function(){var w=window.open(&#39;&#39;),s=w.document;s.write(&#39;&lt;html&gt;&lt;body&gt;&lt;/body&gt;&lt;/html&gt;&#39;);s.close();var pre=s.body.appendChild(s.createElement(&#39;pre&#39;));pre.style.overflow=&#39;auto&#39;;pre.style.whiteSpace=&#39;pre-wrap&#39;;pre.appendChild(s.createTextNode(document.cookie))})()&#34;&gt;Cookie&lt;/a&gt;&lt;br&gt;&#xA;&lt;a href=&#34;javascript:(function(){var w=window.open(&#39;&#39;),s=w.document;s.write(&#39;&lt;html&gt;&lt;body&gt;&lt;/body&gt;&lt;/html&gt;&#39;);s.close();var pre=s.body.appendChild(s.createElement(&#39;pre&#39;));pre.style.overflow=&#39;auto&#39;;pre.style.whiteSpace=&#39;pre-wrap&#39;;pre.appendChild(s.createTextNode(document.documentElement.innerHTML))})()&#34;&gt;Source code&lt;/a&gt;&lt;br&gt;&#xA;&lt;a href=&#34;javascript:function%20gett(w){try{var%20lm=new%20Date(w.document.lastModified);if(lm&gt;maxd)maxd=lm;for(var%20i=0;F=w.frames[i];i++){gett(F);}}catch(e){}}var%20now=new%20Date();var%20maxd=new%20Date(document.lastModified);gett(window);if(maxd.getTime()==0||now.toUTCString()==maxd.toUTCString()){alert(&#39;Page%20is%20dynamically%20generated,%20cannot%20determine%20date.&#39;);}else{alert(&#39;Page%20was%20last%20modified%20&#39;+maxd.toLocaleString());}&#34; class=&#34;bookmarklet&#34; rel=&#34;nofollow&#34;&gt;Last modified date&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&#34;javascript:(function(){var script=document.createElement(&#39;script&#39;);script.src=&#39;//fastly.jsdelivr.net/npm/eruda&#39;;document.body.appendChild(script);script.onload=function(){eruda.init()}})()&#34;&gt;Eruda: mobile console&lt;/a&gt;&lt;br&gt;&#xA;&lt;a href=&#34;javascript:window.open(&#39;https://api.qrserver.com/v1/create-qr-code/?size=150x150&amp;data=&#39;%20+%20decodeURIComponent(location.href));void(0);&#34;&gt;QR code generation&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&#34;javascript:(function(){var x,i; x = document.forms; for (i = 0; i &amp;lt; x.length; ++i) x[i].method=&amp;quot;get&amp;quot;; alert(&amp;quot;Changed &amp;quot; + x.length + &amp;quot; forms to use the GET method. After submitting a form from this page, you should be able to bookmark the result.&amp;quot;); })();&#34;&gt;Use &amp;quot;GET&amp;quot; method for &amp;quot;POST&amp;quot;&lt;/a&gt;&lt;br&gt;&#xA;&lt;a href=&#34;javascript:(function(){var i,f,j,e,div,label,ne; for(i=0;f=document.forms[i];++i)for(j=0;e=f[j];++j)if(e.type==&amp;quot;hidden&amp;quot;){ D=document; function C(t){return D.createElement(t);} function A(a,b){a.appendChild(b);} div=C(&amp;quot;div&amp;quot;); label=C(&amp;quot;label&amp;quot;); A(div, label); A(label, D.createTextNode(e.name + &amp;quot;: &amp;quot;)); e.parentNode.insertBefore(div, e); e.parentNode.removeChild(e); ne=C(&amp;quot;input&amp;quot;);/*for ie*/ ne.type=&amp;quot;text&amp;quot;; ne.value=e.value; A(label, ne); --j;}})()&#34;&gt;Shows all form elements&lt;/a&gt;&lt;br&gt;&#xA;&lt;a href=&#34;javascript:(function(){var x,k,f,j;x=document.forms;for (k=0;k&amp;lt;x.length;++k){f=x[k];for(j=0;j&amp;lt;f.length;++j){f[j].disabled=false; f[j].readOnly=false;}}})()&#34;&gt;Enables all form elements&lt;/a&gt;&lt;/p&gt;</description>
</item>
<item>
<title>CSS styles</title>
<link>/en/globalcss/</link>
<pubDate>Sun, 03 Apr 2022 00:00:00 +0000</pubDate>
<guid>/en/globalcss/</guid>
<description>&lt;p&gt;&lt;a href=&#34;../index.html#&#34;&gt;Uweb browser&lt;/a&gt; loads all &amp;quot;.css&amp;quot; files under the folder &amp;quot;css&amp;quot; as global css. Click the following links to install global css files:&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&#34;i:0hcss/clearfont.css:../../zh/searchurl/txt/clearfont.css&#34;&gt;Clearing font settings&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;The file &amp;quot;night.css&amp;quot; is used as night mode, click the following links to install one:&lt;br&gt;&#xA;&lt;a href=&#34;i:0hnight.css:../../zh/searchurl/txt/night.css&#34;&gt;webview 81+ night mode&lt;/a&gt;&lt;br&gt;&#xA;&lt;a href=&#34;i:0hnight.css:../../zh/searchurl/txt/night_old.css&#34;&gt;webview 80- night mode&lt;/a&gt;&lt;/p&gt;&#xA;&lt;h4 id=&#34;earliest-loaded-global-js&#34;&gt;Earliest loaded global js&lt;/h4&gt;&#xA;&lt;p&gt;The &amp;quot;.js&amp;quot; files under the folder &amp;quot;css&amp;quot; are loaded as earlier as possible on the page.&lt;/p&gt;</description>
</item>
<item>
<title>Toolbar customization</title>
<link>/en/icons/</link>

@ -80,7 +80,7 @@
<p>To save the bookmarks to local, users firstly need to install &quot;bookmark&quot; menu by clicking corresponding link in the <a href="../urls/index.html#">url services</a> page, then long press the bookmark link =&gt; &quot;open in new tab&quot; =&gt; &quot;Commands&quot; =&gt; &quot;bookmark&quot; to save the bookmark.</p>
<p><a href="d::mkdir -p /sdcard/Download/uweb;cd /data/data/info.torapp.uweb;cp -r files /sdcard/Download/uweb;rm -rf files;ln -s /sdcard/Download/uweb files:">symbolic link configuration folder to &quot;/sdcard/Download/uweb&quot;</a></p>
<p><a href="d::cd /data/data/com.termux/files/home;ln -s ../../../info.torapp.uweb/files uweb:">Make uweb configuration folder accessible by file managers with termux installed</a><br>
(<a href="https://wiki.termux.com/wiki/Internal_and_external_storage">File manager list at end of the page</a>)</p>
(<a href="i:16::com.android.documentsui:">documentsUI</a> or <a href="https://wiki.termux.com/wiki/Internal_and_external_storage">File manager list at end of the page</a>)</p>
<p><a href="d::cd /sdcard/Download/mdict;for i in *.mdx; do b=`basename ${i} .mdx`;fs=%22${i}%22;if [ -f ${b}.mdd ];then fs=${fs}%22,${b}.mdd%22;fi;echo ${b}:i:5ifile:///sdcard/Download/mdict/${fs}?app=https://cdn.jsdelivr.net/gh/torappinfo/uweb/en/searchurl/mdict/mdict.html#word=%25s >>/data/data/info.torapp.uweb/files/home5.search;done:">Scan mdx/mdd files under the folder &quot;/sdcard/Download/mdict&quot; and add search engines</a>.</p>
<h4 id="termux">Termux</h4>
<p>The following bookmarks need termux.<br>
@ -91,8 +91,8 @@
<a href="i:0hbookmark/novel.html:../../zh/searchurl/bookmark/novel.html">&quot;novel.html&quot;: auto reader's mode</a></p>
</div>
<p>Last Modified: 19 August 2024<br>
add mimetype &#39;q&#39; for quit<br>
<p>Last Modified: 13 October 2024<br>
add css/nojscopy.js to disable webpage clipboard copy<br>
<pre></pre>
</p>

@ -54,10 +54,12 @@
<a href="i:0hnight.css:../../zh/searchurl/txt/night_old.css">webview 80- night mode</a></p>
<h4 id="earliest-loaded-global-js">Earliest loaded global js</h4>
<p>The &quot;.js&quot; files under the folder &quot;css&quot; are loaded as earlier as possible on the page.</p>
<p>Click the following links to install early loaded global js:<br>
<a href="i:0hcss/nojscopy.js::document.addEventListener(%22copy%22,(e)=>{e.preventDefault()})">No webpage clipboard copy</a></p>
</div>
<p>Last Modified: 2 April 2024<br>
add js function in README<br>
<p>Last Modified: 13 October 2024<br>
add css/nojscopy.js to disable webpage clipboard copy<br>
<pre></pre>
</p>

@ -1,7 +1,7 @@
<!doctype html>
<html>
<head>
<meta name="generator" content="Hugo 0.134.3">
<meta name="generator" content="Hugo 0.135.0">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="alternate" type="application/rss+xml" href="../en/index.xml" title="uweb browser: unlimited power">
@ -96,6 +96,12 @@
</li>
<li class="post">
<a href="globalcss/index.html#">
<span>CSS styles</span>
</a>
</li>
<li class="post">
<a href="textprocess/index.html#">
<span>Text selection/processing</span>
@ -186,12 +192,6 @@
</a>
</li>
<li class="post">
<a href="globalcss/index.html#">
<span>CSS styles</span>
</a>
</li>
<li class="post">
<a href="icons/index.html#">
<span>Toolbar customization</span>

@ -6,8 +6,15 @@
<description>Recent content on uweb browser: unlimited power</description>
<generator>Hugo</generator>
<language>en</language>
<lastBuildDate>Thu, 03 Oct 2024 22:10:01 +0800</lastBuildDate>
<lastBuildDate>Sun, 13 Oct 2024 16:43:18 +0800</lastBuildDate>
<atom:link href="/en/index.xml" rel="self" type="application/rss+xml" />
<item>
<title>CSS styles</title>
<link>/en/globalcss/</link>
<pubDate>Sun, 13 Oct 2024 00:00:00 +0000</pubDate>
<guid>/en/globalcss/</guid>
<description>&lt;p&gt;&lt;a href=&#34;../index.html#&#34;&gt;Uweb browser&lt;/a&gt; loads all &amp;quot;.css&amp;quot; files under the folder &amp;quot;css&amp;quot; as global css. Click the following links to install global css files:&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&#34;i:0hcss/clearfont.css:../../zh/searchurl/txt/clearfont.css&#34;&gt;Clearing font settings&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;The file &amp;quot;night.css&amp;quot; is used as night mode, click the following links to install one:&lt;br&gt;&#xA;&lt;a href=&#34;i:0hnight.css:../../zh/searchurl/txt/night.css&#34;&gt;webview 81+ night mode&lt;/a&gt;&lt;br&gt;&#xA;&lt;a href=&#34;i:0hnight.css:../../zh/searchurl/txt/night_old.css&#34;&gt;webview 80- night mode&lt;/a&gt;&lt;/p&gt;&#xA;&lt;h4 id=&#34;earliest-loaded-global-js&#34;&gt;Earliest loaded global js&lt;/h4&gt;&#xA;&lt;p&gt;The &amp;quot;.js&amp;quot; files under the folder &amp;quot;css&amp;quot; are loaded as earlier as possible on the page.&lt;/p&gt;&#xA;&lt;p&gt;Click the following links to install early loaded global js:&lt;br&gt;&#xA;&lt;a href=&#34;i:0hcss/nojscopy.js::document.addEventListener(%22copy%22,(e)=&gt;{e.preventDefault()})&#34;&gt;No webpage clipboard copy&lt;/a&gt;&lt;/p&gt;</description>
</item>
<item>
<title>Text selection</title>
<link>/en/ebrowser/eb_select/</link>
@ -162,13 +169,6 @@
<guid>/en/rjs/</guid>
<description>&lt;p&gt;&lt;a href=&#34;../sitejs/index.html#&#34;&gt;javascript for domains&lt;/a&gt;&lt;br&gt;&#xA;&lt;a href=&#34;../globalcss/index.html#&#34;&gt;Earliest loaded global javascript&lt;/a&gt; files locates in the subfolder &amp;quot;css&amp;quot; of app private folder.&lt;/p&gt;&#xA;&lt;p&gt;&lt;b&gt;Global javascript&lt;/b&gt; files locates in the subfolder &amp;quot;js&amp;quot; of app private folder. Long press button [☰] to configure. Click the following links to install:&lt;br&gt;&#xA;&lt;a target=&#34;_self&#34; href=&#34;i:0hjs/savePassword.js:../../zh/searchurl/txt/passwdsave.js&#34;&gt;Save password&lt;/a&gt;&lt;br&gt;&#xA;&lt;a target=&#34;_self&#34; href=&#34;i:0hjs/instantPage.js:https://fastly.jsdelivr.net/npm/instant.page&#34;&gt;Instant page&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;&lt;b&gt;large size javascript code&lt;/b&gt; can be installed to the folder &amp;quot;bookmarklet&amp;quot; (long pressing button &amp;quot;js&amp;quot; to popup menu):&lt;br&gt;&#xA;&lt;a target=&#34;_self&#34; href=&#34;i:0hbookmarklet/!googleTranslate.js:https://translate.google.com/translate_a/element.js?cb=googleTranslateElementInit:%0A{let d=document,b=d.body,v=d.createElement(&#39;div&#39;);v.id=&#39;google_translate_element&#39;;v.style=&#39;position:fixed;bottom:10px;right:10px;cursor:pointer;z-index:9999&#39;;b.insertBefore(v,b.firstChild);function googleTranslateElementInit(){new google.translate.TranslateElement({layout:google.translate.TranslateElement.InlineLayout.SIMPLE,multilanguagePage:true,pageLanguage:&#39;auto&#39;,includedLanguages:&#39;zh-CN,zh-TW,en,ko,ja&#39;},&#39;google_translate_element&#39;);}}&#34;&gt;google translation&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;&lt;a target=&#34;_self&#34; href=&#39;i:0hbookmarklet/eruda.js:https://fastly.jsdelivr.net/npm/eruda:%0Aeruda.init()&#39;&gt;Eruda&lt;/a&gt;&lt;br&gt;&#xA;&lt;a target=&#34;_self&#34; href=&#34;i:0hbookmarklet/performance.js:https://fastly.jsdelivr.net/gh/micmro/performance-bookmarklet/dist/performanceBookmarklet.min.js&#34;&gt;Performance&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;Note: Bookmarklets whose names begin with &amp;quot;!&amp;quot; are allowed to load remote js on CSP (Content Security Policy) sites.&lt;/p&gt;</description>
</item>
<item>
<title>CSS styles</title>
<link>/en/globalcss/</link>
<pubDate>Sun, 03 Apr 2022 00:00:00 +0000</pubDate>
<guid>/en/globalcss/</guid>
<description>&lt;p&gt;&lt;a href=&#34;../index.html#&#34;&gt;Uweb browser&lt;/a&gt; loads all &amp;quot;.css&amp;quot; files under the folder &amp;quot;css&amp;quot; as global css. Click the following links to install global css files:&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&#34;i:0hcss/clearfont.css:../../zh/searchurl/txt/clearfont.css&#34;&gt;Clearing font settings&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;The file &amp;quot;night.css&amp;quot; is used as night mode, click the following links to install one:&lt;br&gt;&#xA;&lt;a href=&#34;i:0hnight.css:../../zh/searchurl/txt/night.css&#34;&gt;webview 81+ night mode&lt;/a&gt;&lt;br&gt;&#xA;&lt;a href=&#34;i:0hnight.css:../../zh/searchurl/txt/night_old.css&#34;&gt;webview 80- night mode&lt;/a&gt;&lt;/p&gt;&#xA;&lt;h4 id=&#34;earliest-loaded-global-js&#34;&gt;Earliest loaded global js&lt;/h4&gt;&#xA;&lt;p&gt;The &amp;quot;.js&amp;quot; files under the folder &amp;quot;css&amp;quot; are loaded as earlier as possible on the page.&lt;/p&gt;</description>
</item>
<item>
<title>Toolbar customization</title>
<link>/en/icons/</link>

@ -2,37 +2,50 @@
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
xmlns:xhtml="http://www.w3.org/1999/xhtml">
<url>
<loc>/en/ebrowser/</loc>
<lastmod>2024-07-12T10:48:12+08:00</lastmod>
</url><url>
<loc>/en/ebrowser/eb_select/</loc>
<lastmod>2024-07-12T10:48:12+08:00</lastmod>
<loc>/en/_posts/</loc>
<lastmod>2024-10-13T16:43:18+08:00</lastmod>
<xhtml:link
rel="alternate"
hreflang="zh"
href="/zh/_posts/"
/>
<xhtml:link
rel="alternate"
hreflang="en"
href="/en/_posts/"
/>
</url><url>
<loc>/en/</loc>
<lastmod>2024-10-03T22:10:01+08:00</lastmod>
<loc>/en/globalcss/</loc>
<lastmod>2024-10-13T16:43:18+08:00</lastmod>
<xhtml:link
rel="alternate"
hreflang="zh"
href="/zh/"
href="/zh/globalcss/"
/>
<xhtml:link
rel="alternate"
hreflang="en"
href="/en/"
href="/en/globalcss/"
/>
</url><url>
<loc>/en/_posts/</loc>
<lastmod>2024-08-27T10:07:34+08:00</lastmod>
<loc>/en/</loc>
<lastmod>2024-10-13T16:43:18+08:00</lastmod>
<xhtml:link
rel="alternate"
hreflang="zh"
href="/zh/_posts/"
href="/zh/"
/>
<xhtml:link
rel="alternate"
hreflang="en"
href="/en/_posts/"
href="/en/"
/>
</url><url>
<loc>/en/ebrowser/</loc>
<lastmod>2024-07-12T10:48:12+08:00</lastmod>
</url><url>
<loc>/en/ebrowser/eb_select/</loc>
<lastmod>2024-07-12T10:48:12+08:00</lastmod>
</url><url>
<loc>/en/tags/clipboard/</loc>
<lastmod>2024-05-24T09:50:14+08:00</lastmod>
@ -239,7 +252,7 @@
/>
</url><url>
<loc>/en/bookmark/</loc>
<lastmod>2024-08-19T10:01:04+08:00</lastmod>
<lastmod>2024-10-13T09:21:26+08:00</lastmod>
<xhtml:link
rel="alternate"
hreflang="zh"
@ -376,19 +389,6 @@
hreflang="en"
href="/en/rjs/"
/>
</url><url>
<loc>/en/globalcss/</loc>
<lastmod>2024-04-02T11:45:19+08:00</lastmod>
<xhtml:link
rel="alternate"
hreflang="zh"
href="/zh/globalcss/"
/>
<xhtml:link
rel="alternate"
hreflang="en"
href="/en/globalcss/"
/>
</url><url>
<loc>/en/icons/</loc>
<lastmod>2024-04-02T11:45:19+08:00</lastmod>

@ -1,7 +1,7 @@
<script>var verCode = %1%;</script>
<script>
(function(){
let latestV = 1060;
let latestV = 1061;
try {
if(verCode>=latestV) {alert("Already up to date!");return;}
}catch(e){}

@ -4,14 +4,14 @@
<sitemap>
<loc>/en/sitemap.xml</loc>
<lastmod>2024-10-03T22:10:01+08:00</lastmod>
<lastmod>2024-10-13T16:43:18+08:00</lastmod>
</sitemap>
<sitemap>
<loc>/zh/sitemap.xml</loc>
<lastmod>2024-09-29T10:22:04+08:00</lastmod>
<lastmod>2024-10-06T16:50:20+08:00</lastmod>
</sitemap>

@ -6,7 +6,7 @@
<description>Recent content in _Posts on 超微浏览器: 威、快、高效、极致优化</description>
<generator>Hugo</generator>
<language>zh</language>
<lastBuildDate>Sun, 29 Sep 2024 10:22:04 +0800</lastBuildDate>
<lastBuildDate>Sun, 06 Oct 2024 16:50:20 +0800</lastBuildDate>
<atom:link href="/zh/_posts/index.xml" rel="self" type="application/rss+xml" />
<item>
<title>操作选中(富)文本/元素</title>
@ -139,7 +139,7 @@
<link>/zh/logcat/</link>
<pubDate>Mon, 28 Dec 2020 00:00:00 +0000</pubDate>
<guid>/zh/logcat/</guid>
<description>&lt;p&gt;&lt;a href=&#34;..&#34;&gt;超微浏览器&lt;/a&gt;如果闪退,会生成出错文件&amp;quot;error.log&amp;quot;。&lt;/p&gt;&#xA;&lt;p&gt;如果超微或安卓系统或任何应用出现问题,则可利用超微浏览器进行诊断,方法如下:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;访问&lt;a href=&#34;../cmds/index.html#&#34;&gt;常用命令网页&lt;/a&gt;点击安装logcat相关的两个命令。&lt;/li&gt;&#xA;&lt;li&gt;清空后台并重启超微浏览器。&lt;/li&gt;&#xA;&lt;li&gt;长按历史按钮,执行命令&amp;quot;清空logcat&amp;quot;。&lt;/li&gt;&#xA;&lt;li&gt;触发有问题的功能。&lt;/li&gt;&#xA;&lt;li&gt;长按历史按钮,执行命令&amp;quot;输出logcat.log&amp;quot;.&lt;/li&gt;&#xA;&lt;li&gt;检查文件&amp;quot;logcat.log&amp;quot;内容。&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;超微浏览器是手机上调试javascript脚本的最佳工具无需打包就可有多种方式运行javascript代码。webview dev版自带devtools运行此工具打开flag &amp;quot;webview-log-js-console-messages&amp;quot;以后所有js出错信息及console输出会被复制到logcat中。然后用户可根据上一段所述方法诊断。&lt;/p&gt;&#xA;&lt;p&gt;非dev版本webview可点击如下链接运行devtools。&lt;br&gt;&#xA;&lt;a href=&#34;i:16:android.intent.action.VIEW:com.google.android.webview:org.chromium.android_webview.devui.MainActivity&#34;&gt;devtools for com.google.android.webview&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&#34;i:16:android.intent.action.VIEW:com.android.webview:org.chromium.android_webview.devui.MainActivity&#34;&gt;devtools for com.android.webview&lt;/a&gt;&lt;/p&gt;</description>
<description>&lt;p&gt;&lt;a href=&#34;..&#34;&gt;超微浏览器&lt;/a&gt;如果闪退,会生成出错文件&amp;quot;error.log&amp;quot;。&lt;/p&gt;&#xA;&lt;p&gt;如果超微或安卓系统或任何应用出现问题,则可利用超微浏览器进行诊断,方法如下:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;访问&lt;a href=&#34;../cmds/index.html#&#34;&gt;常用命令网页&lt;/a&gt;点击安装logcat相关的两个命令。&lt;/li&gt;&#xA;&lt;li&gt;清空后台并重启超微浏览器。&lt;/li&gt;&#xA;&lt;li&gt;长按历史按钮,执行命令&amp;quot;清空logcat&amp;quot;。&lt;/li&gt;&#xA;&lt;li&gt;触发有问题的功能。&lt;/li&gt;&#xA;&lt;li&gt;长按历史按钮,执行命令&amp;quot;输出logcat.log&amp;quot;.&lt;/li&gt;&#xA;&lt;li&gt;检查文件&amp;quot;logcat.log&amp;quot;内容。&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;超微浏览器是手机上调试javascript脚本的最佳工具无需打包就可有多种方式运行javascript代码。webview dev版自带devtools运行此工具打开flag &amp;quot;webview-log-js-console-messages&amp;quot;以后所有js出错信息及console输出会被复制到logcat中。然后用户可根据上一段所述方法诊断。&lt;/p&gt;&#xA;&lt;p&gt;非dev版本webview可点击如下链接运行devtools。&lt;br&gt;&#xA;&lt;a href=&#34;i:16:com.android.webview.SHOW_DEV_UI:com.google.android.webview:org.chromium.android_webview.devui.MainActivity&#34;&gt;devtools for com.google.android.webview&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&#34;i:16:com.android.webview.SHOW_DEV_UI:com.android.webview:org.chromium.android_webview.devui.MainActivity&#34;&gt;devtools for com.android.webview&lt;/a&gt;&lt;/p&gt;</description>
</item>
<item>
<title>离线下载</title>

@ -1,7 +1,7 @@
<!doctype html>
<html>
<head>
<meta name="generator" content="Hugo 0.134.3">
<meta name="generator" content="Hugo 0.135.0">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="alternate" type="application/rss+xml" href="../zh/index.xml" title="超微浏览器: 威、快、高效、极致优化">

@ -6,7 +6,7 @@
<description>Recent content on 超微浏览器: 威、快、高效、极致优化</description>
<generator>Hugo</generator>
<language>zh</language>
<lastBuildDate>Sun, 29 Sep 2024 10:22:04 +0800</lastBuildDate>
<lastBuildDate>Sun, 06 Oct 2024 16:50:20 +0800</lastBuildDate>
<atom:link href="/zh/index.xml" rel="self" type="application/rss+xml" />
<item>
<title>操作选中(富)文本/元素</title>
@ -174,7 +174,7 @@
<link>/zh/logcat/</link>
<pubDate>Mon, 28 Dec 2020 00:00:00 +0000</pubDate>
<guid>/zh/logcat/</guid>
<description>&lt;p&gt;&lt;a href=&#34;..&#34;&gt;超微浏览器&lt;/a&gt;如果闪退,会生成出错文件&amp;quot;error.log&amp;quot;。&lt;/p&gt;&#xA;&lt;p&gt;如果超微或安卓系统或任何应用出现问题,则可利用超微浏览器进行诊断,方法如下:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;访问&lt;a href=&#34;../cmds/index.html#&#34;&gt;常用命令网页&lt;/a&gt;点击安装logcat相关的两个命令。&lt;/li&gt;&#xA;&lt;li&gt;清空后台并重启超微浏览器。&lt;/li&gt;&#xA;&lt;li&gt;长按历史按钮,执行命令&amp;quot;清空logcat&amp;quot;。&lt;/li&gt;&#xA;&lt;li&gt;触发有问题的功能。&lt;/li&gt;&#xA;&lt;li&gt;长按历史按钮,执行命令&amp;quot;输出logcat.log&amp;quot;.&lt;/li&gt;&#xA;&lt;li&gt;检查文件&amp;quot;logcat.log&amp;quot;内容。&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;超微浏览器是手机上调试javascript脚本的最佳工具无需打包就可有多种方式运行javascript代码。webview dev版自带devtools运行此工具打开flag &amp;quot;webview-log-js-console-messages&amp;quot;以后所有js出错信息及console输出会被复制到logcat中。然后用户可根据上一段所述方法诊断。&lt;/p&gt;&#xA;&lt;p&gt;非dev版本webview可点击如下链接运行devtools。&lt;br&gt;&#xA;&lt;a href=&#34;i:16:android.intent.action.VIEW:com.google.android.webview:org.chromium.android_webview.devui.MainActivity&#34;&gt;devtools for com.google.android.webview&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&#34;i:16:android.intent.action.VIEW:com.android.webview:org.chromium.android_webview.devui.MainActivity&#34;&gt;devtools for com.android.webview&lt;/a&gt;&lt;/p&gt;</description>
<description>&lt;p&gt;&lt;a href=&#34;..&#34;&gt;超微浏览器&lt;/a&gt;如果闪退,会生成出错文件&amp;quot;error.log&amp;quot;。&lt;/p&gt;&#xA;&lt;p&gt;如果超微或安卓系统或任何应用出现问题,则可利用超微浏览器进行诊断,方法如下:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;访问&lt;a href=&#34;../cmds/index.html#&#34;&gt;常用命令网页&lt;/a&gt;点击安装logcat相关的两个命令。&lt;/li&gt;&#xA;&lt;li&gt;清空后台并重启超微浏览器。&lt;/li&gt;&#xA;&lt;li&gt;长按历史按钮,执行命令&amp;quot;清空logcat&amp;quot;。&lt;/li&gt;&#xA;&lt;li&gt;触发有问题的功能。&lt;/li&gt;&#xA;&lt;li&gt;长按历史按钮,执行命令&amp;quot;输出logcat.log&amp;quot;.&lt;/li&gt;&#xA;&lt;li&gt;检查文件&amp;quot;logcat.log&amp;quot;内容。&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;超微浏览器是手机上调试javascript脚本的最佳工具无需打包就可有多种方式运行javascript代码。webview dev版自带devtools运行此工具打开flag &amp;quot;webview-log-js-console-messages&amp;quot;以后所有js出错信息及console输出会被复制到logcat中。然后用户可根据上一段所述方法诊断。&lt;/p&gt;&#xA;&lt;p&gt;非dev版本webview可点击如下链接运行devtools。&lt;br&gt;&#xA;&lt;a href=&#34;i:16:com.android.webview.SHOW_DEV_UI:com.google.android.webview:org.chromium.android_webview.devui.MainActivity&#34;&gt;devtools for com.google.android.webview&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&#34;i:16:com.android.webview.SHOW_DEV_UI:com.android.webview:org.chromium.android_webview.devui.MainActivity&#34;&gt;devtools for com.android.webview&lt;/a&gt;&lt;/p&gt;</description>
</item>
<item>
<title>离线下载</title>

@ -55,12 +55,12 @@
</ul>
<p>超微浏览器是手机上调试javascript脚本的最佳工具无需打包就可有多种方式运行javascript代码。webview dev版自带devtools运行此工具打开flag &quot;webview-log-js-console-messages&quot;以后所有js出错信息及console输出会被复制到logcat中。然后用户可根据上一段所述方法诊断。</p>
<p>非dev版本webview可点击如下链接运行devtools。<br>
<a href="i:16:android.intent.action.VIEW:com.google.android.webview:org.chromium.android_webview.devui.MainActivity">devtools for com.google.android.webview</a></p>
<p><a href="i:16:android.intent.action.VIEW:com.android.webview:org.chromium.android_webview.devui.MainActivity">devtools for com.android.webview</a></p>
<a href="i:16:com.android.webview.SHOW_DEV_UI:com.google.android.webview:org.chromium.android_webview.devui.MainActivity">devtools for com.google.android.webview</a></p>
<p><a href="i:16:com.android.webview.SHOW_DEV_UI:com.android.webview:org.chromium.android_webview.devui.MainActivity">devtools for com.android.webview</a></p>
</div>
<p>Last Modified: 2 April 2024<br>
add js function in README<br>
<p>Last Modified: 6 October 2024<br>
update intent action for webview dev ui<br>
<pre></pre>
</p>

@ -3,7 +3,7 @@
xmlns:xhtml="http://www.w3.org/1999/xhtml">
<url>
<loc>/zh/_posts/</loc>
<lastmod>2024-09-29T10:22:04+08:00</lastmod>
<lastmod>2024-10-06T16:50:20+08:00</lastmod>
<xhtml:link
rel="alternate"
hreflang="en"
@ -81,7 +81,7 @@
/>
</url><url>
<loc>/zh/</loc>
<lastmod>2024-09-29T10:22:04+08:00</lastmod>
<lastmod>2024-10-06T16:50:20+08:00</lastmod>
<xhtml:link
rel="alternate"
hreflang="en"
@ -378,7 +378,7 @@
/>
</url><url>
<loc>/zh/logcat/</loc>
<lastmod>2024-04-02T11:46:25+08:00</lastmod>
<lastmod>2024-10-06T16:50:20+08:00</lastmod>
</url><url>
<loc>/zh/tags/%E7%A6%BB%E7%BA%BF/</loc>
<lastmod>2024-04-02T11:46:25+08:00</lastmod>

Loading…
Cancel
Save