add css/nojscopy.js to disable webpage clipboard copy
This commit is contained in:
parent
3a6f6b546b
commit d3e36ae437
13 changed files with 76 additions and 74 deletions
|
@ -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><p><a href="../index.html#">Uweb browser</a> loads all &quot;.css&quot; files under the folder &quot;css&quot; as global css. Click the following links to install global css files:</p>
<p><a href="i:0hcss/clearfont.css:../../zh/searchurl/txt/clearfont.css">Clearing font settings</a></p>
<p>The file &quot;night.css&quot; is used as night mode, click the following links to install one:<br>
<a href="i:0hnight.css:../../zh/searchurl/txt/night.css">webview 81+ night mode</a><br>
<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></description> |
||||
</item> |
||||
<item> |
||||
<title>Text selection/processing</title> |
||||
<link>/en/textprocess/</link> |
||||
|
@ -113,13 +120,6 @@ |
|||
<guid>/en/bookmarklet/</guid> |
||||
<description><p>With <a href="../index.html#">uweb browser</a>, long pressing any bookmarklet link, click &quot;Open in new tab&quot;, the bookmarklet will be run on the last other tab.</p>
<p><a href="javascript:{let es=document.getElementsByTagName('script');let urls='';for(let i=0;i<es.length;i++){if(es[i].src)urls+=es[i].src+'<br>';}let w=window.open(''),s=w.document;s.write(urls);s.close();w.location.href='i:631:';}">List all script urls</a></p>
<p><a target="_self" href="javascript:alert(navigator.userAgent)">User agent</a><br>
<a href="javascript:(function(){var w=window.open(''),s=w.document;s.write('<html><body></body></html>');s.close();var pre=s.body.append*****(s.createElement('pre'));pre.style.overflow='auto';pre.style.whiteSpace='pre-wrap';pre.append*****(s.createTextNode(document.cookie))})()">Cookie</a><br>
<a href="javascript:(function(){var w=window.open(''),s=w.document;s.write('<html><body></body></html>');s.close();var pre=s.body.append*****(s.createElement('pre'));pre.style.overflow='auto';pre.style.whiteSpace='pre-wrap';pre.append*****(s.createTextNode(document.documentElement.innerHTML))})()">Source code</a><br>
<a href="javascript:function%20gett(w){try{var%20lm=new%20Date(w.document.lastModified);if(lm>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('Page%20is%20dynamically%20generated,%20cannot%20determine%20date.');}else{alert('Page%20was%20last%20modified%20'+maxd.toLocaleString());}" class="bookmarklet" rel="nofollow">Last modified date</a></p>
<p><a href="javascript:(function(){var script=document.createElement('script');script.src='//fastly.jsdelivr.net/npm/eruda';document.body.append*****(script);script.onload=function(){eruda.init()}})()">Eruda: mobile console</a><br>
<a href="javascript:window.open('https://api.qrserver.com/v1/create-qr-code/?size=150x150&data='%20+%20decodeURIComponent(location.href));void(0);">QR code generation</a></p>
<p><a href="javascript:(function(){var x,i; x = document.forms; for (i = 0; i &lt; x.length; ++i) x[i].method=&quot;get&quot;; alert(&quot;Changed &quot; + x.length + &quot; forms to use the GET method. After submitting a form from this page, you should be able to bookmark the result.&quot;); })();">Use &quot;GET&quot; method for &quot;POST&quot;</a><br>
<a href="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==&quot;hidden&quot;){ D=document; function C(t){return D.createElement(t);} function A(a,b){a.append*****(b);} div=C(&quot;div&quot;); label=C(&quot;label&quot;); A(div, label); A(label, D.createTextNode(e.name + &quot;: &quot;)); e.parentNode.insertBefore(div, e); e.parentNode.remove*****(e); ne=C(&quot;input&quot;);/*for ie*/ ne.type=&quot;text&quot;; ne.value=e.value; A(label, ne); --j;}})()">Shows all form elements</a><br>
<a href="javascript:(function(){var x,k,f,j;x=document.forms;for (k=0;k&lt;x.length;++k){f=x[k];for(j=0;j&lt;f.length;++j){f[j].disabled=false; f[j].readOnly=false;}}})()">Enables all form elements</a></p></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><p><a href="../index.html#">Uweb browser</a> loads all &quot;.css&quot; files under the folder &quot;css&quot; as global css. Click the following links to install global css files:</p>
<p><a href="i:0hcss/clearfont.css:../../zh/searchurl/txt/clearfont.css">Clearing font settings</a></p>
<p>The file &quot;night.css&quot; is used as night mode, click the following links to install one:<br>
<a href="i:0hnight.css:../../zh/searchurl/txt/night.css">webview 81+ night mode</a><br>
<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></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 "bookmark" menu by clicking corresponding link in the <a href="../urls/index.html#">url services</a> page, then long press the bookmark link => "open in new tab" => "Commands" => "bookmark" to save the bookmark.</p> |
||||
<p><a href="d::mkdir -p /sdcard/Download/uweb;cd /data/data/info.torapp.uweb;***** -r files /sdcard/Download/uweb;rm -rf files;ln -s /sdcard/Download/uweb files:">symbolic link configuration folder to "/sdcard/Download/uweb"</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 "/sdcard/Download/mdict" 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">"novel.html": auto reader's mode</a></p> |
||||
|
||||
</div> |
||||
<p>Last Modified: 19 August 2024<br> |
||||
add mimetype 'q' 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 ".js" files under the folder "css" 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> |
||||
|
|
16
en/index.xml
16
en/index.xml
|
@ -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><p><a href="../index.html#">Uweb browser</a> loads all &quot;.css&quot; files under the folder &quot;css&quot; as global css. Click the following links to install global css files:</p>
<p><a href="i:0hcss/clearfont.css:../../zh/searchurl/txt/clearfont.css">Clearing font settings</a></p>
<p>The file &quot;night.css&quot; is used as night mode, click the following links to install one:<br>
<a href="i:0hnight.css:../../zh/searchurl/txt/night.css">webview 81+ night mode</a><br>
<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></description> |
||||
</item> |
||||
<item> |
||||
<title>Text selection</title> |
||||
<link>/en/ebrowser/eb_select/</link> |
||||
|
@ -162,13 +169,6 @@ |
|||
<guid>/en/rjs/</guid> |
||||
<description><p><a href="../sitejs/index.html#">javascript for domains</a><br>
<a href="../globalcss/index.html#">Earliest loaded global javascript</a> files locates in the subfolder &quot;css&quot; of app private folder.</p>
<p><b>Global javascript</b> files locates in the subfolder &quot;js&quot; of app private folder. Long press button [☰] to configure. Click the following links to install:<br>
<a target="_self" href="i:0hjs/savePassword.js:../../zh/searchurl/txt/passwdsave.js">Save password</a><br>
<a target="_self" href="i:0hjs/instantPage.js:https://fastly.jsdelivr.net/npm/instant.page">Instant page</a></p>
<p><b>large size javascript code</b> can be installed to the folder &quot;bookmarklet&quot; (long pressing button &quot;js&quot; to popup menu):<br>
<a target="_self" href="i:0hbookmarklet/!googleTranslate.js:https://translate.google.com/translate_a/element.js?cb=googleTranslateElementInit:%0A{let d=document,b=d.body,v=d.createElement('div');v.id='google_translate_element';v.style='position:fixed;bottom:10px;right:10px;cursor:pointer;z-index:9999';b.insertBefore(v,b.first*****);function googleTranslateElementInit(){new google.translate.TranslateElement({layout:google.translate.TranslateElement.InlineLayout.SIMPLE,multilanguagePage:true,pageLanguage:'auto',includedLanguages:'zh-CN,zh-TW,en,ko,ja'},'google_translate_element');}}">google translation</a></p>
<p><a target="_self" href='i:0hbookmarklet/eruda.js:https://fastly.jsdelivr.net/npm/eruda:%0Aeruda.init()'>Eruda</a><br>
<a target="_self" href="i:0hbookmarklet/performance.js:https://fastly.jsdelivr.net/gh/micmro/performance-bookmarklet/dist/performanceBookmarklet.min.js">Performance</a></p>
<p>Note: Bookmarklets whose names begin with &quot;!&quot; are allowed to load remote js on CSP (Content Security Policy) sites.</p></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><p><a href="../index.html#">Uweb browser</a> loads all &quot;.css&quot; files under the folder &quot;css&quot; as global css. Click the following links to install global css files:</p>
<p><a href="i:0hcss/clearfont.css:../../zh/searchurl/txt/clearfont.css">Clearing font settings</a></p>
<p>The file &quot;night.css&quot; is used as night mode, click the following links to install one:<br>
<a href="i:0hnight.css:../../zh/searchurl/txt/night.css">webview 81+ night mode</a><br>
<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></description> |
||||
</item> |
||||
<item> |
||||
<title>Toolbar customization</title> |
||||
<link>/en/icons/</link> |
||||
|
|
|
@ -2,14 +2,34 @@ |
|||
<urlset xmlns="https://www.sitemaps.org/schemas/sitemap/0.9" |
||||
xmlns:xhtml="https://www.w3.org/1999/xhtml"> |
||||
<url> |
||||
<loc>/en/ebrowser/</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/ebrowser/eb_select/</loc> |
||||
<lastmod>2024-07-12T10:48:12+08:00</lastmod> |
||||
<loc>/en/globalcss/</loc> |
||||
<lastmod>2024-10-13T16:43:18+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/</loc> |
||||
<lastmod>2024-10-03T22:10:01+08:00</lastmod> |
||||
<lastmod>2024-10-13T16:43:18+08:00</lastmod> |
||||
<xhtml:link |
||||
rel="alternate" |
||||
hreflang="zh" |
||||
|
@ -21,18 +41,11 @@ |
|||
href="/en/" |
||||
/> |
||||
</url><url> |
||||
<loc>/en/_posts/</loc> |
||||
<lastmod>2024-08-27T10:07:34+08:00</lastmod> |
||||
<xhtml:link |
||||
rel="alternate" |
||||
hreflang="zh" |
||||
href="/zh/_posts/" |
||||
/> |
||||
<xhtml:link |
||||
rel="alternate" |
||||
hreflang="en" |
||||
href="/en/_posts/" |
||||
/> |
||||
<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><p><a href="..">超微浏览器</a>如果闪退,会生成出错文件&quot;error.log&quot;。</p>
<p>如果超微或安卓系统或任何应用出现问题,则可利用超微浏览器进行诊断,方法如下:</p>
<ul>
<li>访问<a href="../cmds/index.html#">常用命令网页</a>,点击安装logcat相关的两个命令。</li>
<li>清空后台并重启超微浏览器。</li>
<li>长按历史按钮,执行命令&quot;清空logcat&quot;。</li>
<li>触发有问题的功能。</li>
<li>长按历史按钮,执行命令&quot;输出logcat.log&quot;.</li>
<li>检查文件&quot;logcat.log&quot;内容。</li>
</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></description> |
||||
<description><p><a href="..">超微浏览器</a>如果闪退,会生成出错文件&quot;error.log&quot;。</p>
<p>如果超微或安卓系统或任何应用出现问题,则可利用超微浏览器进行诊断,方法如下:</p>
<ul>
<li>访问<a href="../cmds/index.html#">常用命令网页</a>,点击安装logcat相关的两个命令。</li>
<li>清空后台并重启超微浏览器。</li>
<li>长按历史按钮,执行命令&quot;清空logcat&quot;。</li>
<li>触发有问题的功能。</li>
<li>长按历史按钮,执行命令&quot;输出logcat.log&quot;.</li>
<li>检查文件&quot;logcat.log&quot;内容。</li>
</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: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></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><p><a href="..">超微浏览器</a>如果闪退,会生成出错文件&quot;error.log&quot;。</p>
<p>如果超微或安卓系统或任何应用出现问题,则可利用超微浏览器进行诊断,方法如下:</p>
<ul>
<li>访问<a href="../cmds/index.html#">常用命令网页</a>,点击安装logcat相关的两个命令。</li>
<li>清空后台并重启超微浏览器。</li>
<li>长按历史按钮,执行命令&quot;清空logcat&quot;。</li>
<li>触发有问题的功能。</li>
<li>长按历史按钮,执行命令&quot;输出logcat.log&quot;.</li>
<li>检查文件&quot;logcat.log&quot;内容。</li>
</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></description> |
||||
<description><p><a href="..">超微浏览器</a>如果闪退,会生成出错文件&quot;error.log&quot;。</p>
<p>如果超微或安卓系统或任何应用出现问题,则可利用超微浏览器进行诊断,方法如下:</p>
<ul>
<li>访问<a href="../cmds/index.html#">常用命令网页</a>,点击安装logcat相关的两个命令。</li>
<li>清空后台并重启超微浏览器。</li>
<li>长按历史按钮,执行命令&quot;清空logcat&quot;。</li>
<li>触发有问题的功能。</li>
<li>长按历史按钮,执行命令&quot;输出logcat.log&quot;.</li>
<li>检查文件&quot;logcat.log&quot;内容。</li>
</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: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></description> |
||||
</item> |
||||
<item> |
||||
<title>离线下载</title> |
||||
|
|
|
@ -55,12 +55,12 @@ |
|||
</ul> |
||||
<p>超微浏览器是手机上调试javascript脚本的最佳工具,无需打包就可有多种方式运行javascript代码。webview dev版自带devtools,运行此工具,打开flag "webview-log-js-console-messages"以后所有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="https://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…
Reference in a new issue