mirror of
https://github.com/torappinfo/uweb.git
synced 2024-08-14 23:54:59 +00:00
styling bookmark, markdown or other files
This commit is contained in:
parent
5838a014cf
commit
1ed0b0c7ca
12 changed files with 62 additions and 55 deletions
|
@ -15,6 +15,20 @@
|
|||
<description>Javascript (load when page completes, earliest loaded JS should use sitecss). Need to be named as &quot;[domain root].js&quot;, such as &quot;yahoo.com.js&quot; or &quot;finance.yahoo.com.js&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 &quot;sitejs&quot; or &quot;/data/data/info.torapp.uweb/files/sitejs&quot;. The later folder has the priority. Long press the button &quot;settings&quot;, check the option &quot;Run user scripts&quot;.</description>
|
||||
</item>
|
||||
|
||||
<item>
|
||||
<title>Bookmarks</title>
|
||||
<link>/en/bookmark/</link>
|
||||
<pubDate>Mon, 16 Jan 2023 00:00:00 +0000</pubDate>
|
||||
|
||||
<guid>/en/bookmark/</guid>
|
||||
<description>Wait for url from other devices
|
||||
berify: reverse image search for video
|
||||
Tips File handling and styling with home.css &quot;home.css&quot; styles bookmarks and search engines in the same folder or subfolders. The file is in html format instead of CSS, so it needs &quot;&lt;style&gt;&quot; tag for CSS.
|
||||
Markdeep for markdown files under the folder &quot;bookmark/md/&quot; Install markdeep styling
|
||||
Install link for markdown files
|
||||
Bookmarks with secrets (POST instead of GET) The search engine (&quot;.</description>
|
||||
</item>
|
||||
|
||||
<item>
|
||||
<title>Tips</title>
|
||||
<link>/en/tips/</link>
|
||||
|
@ -159,20 +173,6 @@ Toggle all checkboxes in forms
|
|||
Enable selection</description>
|
||||
</item>
|
||||
|
||||
<item>
|
||||
<title>Bookmarks</title>
|
||||
<link>/en/bookmark/</link>
|
||||
<pubDate>Wed, 18 May 2022 00:00:00 +0000</pubDate>
|
||||
|
||||
<guid>/en/bookmark/</guid>
|
||||
<description>Wait for url from other devices
|
||||
berify: reverse image search for video
|
||||
Tips Use the file &quot;home.css&quot; in the same folder or parent folder to style the search engines and bookmarks.
|
||||
Bookmarks with secrets (POST instead of GET) The search engine (&quot;.search&quot;) file can be used as bookmarks with secret. Here is an example bookmark for webdav cloud storage (replace &quot;xxx&quot; with real user and password):
|
||||
box cloud:POST:type=webdav&amp;url=https://dav.box.com/dav&amp;username=xxx&amp;password=xxx:https://demo.filestash.app/login
|
||||
Commands Clicking to run is only allowed from local pages for bookmarks in this section.</description>
|
||||
</item>
|
||||
|
||||
<item>
|
||||
<title>Resource redirection</title>
|
||||
<link>/en/redirect/</link>
|
||||
|
|
|
@ -50,7 +50,11 @@
|
|||
<p><a href="i:1w">Wait for url from other devices</a><br>
|
||||
<a href="https://berify.com">berify: reverse image search for video</a></p>
|
||||
<h3 id="tips">Tips</h3>
|
||||
<p>Use the file "home.css" in the same folder or parent folder to style the search engines and bookmarks.</p>
|
||||
<h4 id="file-handling-and-styling-with-homecss">File handling and styling with home.css</h4>
|
||||
<p>"home.css" styles bookmarks and search engines in the same folder or subfolders. The file is in html format instead of CSS, so it needs "<style>" tag for CSS.</p>
|
||||
<h5 id="markdeep-for-markdown-files-under-the-folder-bookmarkmd">Markdeep for markdown files under the folder "bookmark/md/"</h5>
|
||||
<p><a href="i:0hbookmark/md/home.css:../searchurl/txt/markdeep.html">Install markdeep styling</a><br>
|
||||
<a href="i:0gdefault.link::Markdowns:file:///data/data/info.torapp.uweb/files/bookmark/md/ {let as=document.getElementsByTagName('a');for(let i=as.length-1;i>=0;i--){let h=as[i].href;if(h.startsWith('file:')&&h.endsWith('.md'))as[i].href=h%2B'.search';}}%0A">Install link for markdown files</a></p>
|
||||
<h3 id="bookmarks-with-secrets-post-instead-of-get">Bookmarks with secrets (POST instead of GET)</h3>
|
||||
<p>The search engine (".search") file can be used as bookmarks with secret. Here is an example bookmark for webdav cloud storage (replace "xxx" with real user and password):<br>
|
||||
box cloud:POST:type=webdav&url=https://dav.box.com/dav&username=xxx&password=xxx:https://demo.filestash.app/login</p>
|
||||
|
|
|
@ -51,7 +51,7 @@
|
|||
<p><a href="https://releases.pagure.org/uweb/">pagure</a></p>
|
||||
<h4 id="main-featuresreadmeindexhtml"><a href="../readme/index.html">Main features</a></h4>
|
||||
<h4 id="change-logs">Change logs</h4>
|
||||
<p>973: <a href="../bookmark/index.html">Bookmarks</a> to support css styling.<br>
|
||||
<p>974: <a href="../bookmark/index.html">Bookmarks</a> to support styling for markdown etc.<br>
|
||||
971: <a href="../links/index.html">multiple type profiles</a>: switch any data including website logins, user configurations orthogonally.<br>
|
||||
968: multiple links support for single MENU/(New)Button/GESTURE definition.<br>
|
||||
964: site source html preprocessing before rendering with user <a href="../sitejs/index.html">site extra html</a>.<br>
|
||||
|
|
|
@ -84,7 +84,7 @@
|
|||
"query.autoc": home screen search autocomplete candidate strings.<br>
|
||||
"<a href="file:///data/data/info.torapp.uweb/files/home5.html">home5.html</a>": user defined home screen. home6.mht(or .html or .search), home7.mht(or .html or .search) ... multiple home screen (pressing right arrow button to visit); home4.mht(or .html or .search), home3.mht(or .html or .search) ... (long pressing left arrow button to access).<br>
|
||||
"<a href="file:///data/data/info.torapp.uweb/files/home5.search">home5.search</a>":<a href="../search/index.html">search engines</a><br>
|
||||
"<a href="file:///data/data/info.torapp.uweb/files/home.css">home.css</a>": <a href="../searchurl/homescreen.html">home screen styles</a><br>
|
||||
"<a href="file:///data/data/info.torapp.uweb/files/home.css">home.css</a>": <span style="color:red">html</span> file for <a href="../searchurl/homescreen.html">home screen styling</a>, so the css code needs to be inside "<style>" elements.<br>
|
||||
"<a href="file:///data/data/info.torapp.uweb/files/bookmark.html">bookmark.html</a>": bookmarks<br>
|
||||
"<a href="file:///data/data/info.torapp.uweb/files/quickstart.html">quickstart.html</a>": <a href="../searchurl/quickstart.html">quick start</a><br>
|
||||
"<a href="file:///data/data/info.torapp.uweb/files/colors.txt">colors.txt</a>": background colors<br>
|
||||
|
|
|
@ -101,6 +101,12 @@
|
|||
</a>
|
||||
</li>
|
||||
|
||||
<li class="post">
|
||||
<a href="bookmark/index.html">
|
||||
<span>Bookmarks</span>
|
||||
</a>
|
||||
</li>
|
||||
|
||||
<li class="post">
|
||||
<a href="tips/index.html">
|
||||
<span>Tips</span>
|
||||
|
@ -155,12 +161,6 @@
|
|||
</a>
|
||||
</li>
|
||||
|
||||
<li class="post">
|
||||
<a href="bookmark/index.html">
|
||||
<span>Bookmarks</span>
|
||||
</a>
|
||||
</li>
|
||||
|
||||
<li class="post">
|
||||
<a href="redirect/index.html">
|
||||
<span>Resource redirection</span>
|
||||
|
|
30
en/index.xml
30
en/index.xml
|
@ -15,6 +15,20 @@
|
|||
<description>Javascript (load when page completes, earliest loaded JS should use sitecss). Need to be named as &quot;[domain root].js&quot;, such as &quot;yahoo.com.js&quot; or &quot;finance.yahoo.com.js&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 &quot;sitejs&quot; or &quot;/data/data/info.torapp.uweb/files/sitejs&quot;. The later folder has the priority. Long press the button &quot;settings&quot;, check the option &quot;Run user scripts&quot;.</description>
|
||||
</item>
|
||||
|
||||
<item>
|
||||
<title>Bookmarks</title>
|
||||
<link>/en/bookmark/</link>
|
||||
<pubDate>Mon, 16 Jan 2023 00:00:00 +0000</pubDate>
|
||||
|
||||
<guid>/en/bookmark/</guid>
|
||||
<description>Wait for url from other devices
|
||||
berify: reverse image search for video
|
||||
Tips File handling and styling with home.css &quot;home.css&quot; styles bookmarks and search engines in the same folder or subfolders. The file is in html format instead of CSS, so it needs &quot;&lt;style&gt;&quot; tag for CSS.
|
||||
Markdeep for markdown files under the folder &quot;bookmark/md/&quot; Install markdeep styling
|
||||
Install link for markdown files
|
||||
Bookmarks with secrets (POST instead of GET) The search engine (&quot;.</description>
|
||||
</item>
|
||||
|
||||
<item>
|
||||
<title>Tips</title>
|
||||
<link>/en/tips/</link>
|
||||
|
@ -94,7 +108,7 @@ github
|
|||
sourceforge
|
||||
powerfolder
|
||||
pagure
|
||||
Main features Change logs 973: Bookmarks to support css styling.
|
||||
Main features Change logs 974: Bookmarks to support styling for markdown etc.
|
||||
971: multiple type profiles: switch any data including website logins, user configurations orthogonally.
|
||||
968: multiple links support for single MENU/(New)Button/GESTURE definition.
|
||||
964: site source html preprocessing before rendering with user site extra html.
|
||||
|
@ -293,20 +307,6 @@ Performance
|
|||
Remote javascript is defined in default.rjs. Click the following link to install. (Force exit and re-launch the app, then long press the &quot;search&quot; button to popup the menu.</description>
|
||||
</item>
|
||||
|
||||
<item>
|
||||
<title>Bookmarks</title>
|
||||
<link>/en/bookmark/</link>
|
||||
<pubDate>Wed, 18 May 2022 00:00:00 +0000</pubDate>
|
||||
|
||||
<guid>/en/bookmark/</guid>
|
||||
<description>Wait for url from other devices
|
||||
berify: reverse image search for video
|
||||
Tips Use the file &quot;home.css&quot; in the same folder or parent folder to style the search engines and bookmarks.
|
||||
Bookmarks with secrets (POST instead of GET) The search engine (&quot;.search&quot;) file can be used as bookmarks with secret. Here is an example bookmark for webdav cloud storage (replace &quot;xxx&quot; with real user and password):
|
||||
box cloud:POST:type=webdav&amp;url=https://dav.box.com/dav&amp;username=xxx&amp;password=xxx:https://demo.filestash.app/login
|
||||
Commands Clicking to run is only allowed from local pages for bookmarks in this section.</description>
|
||||
</item>
|
||||
|
||||
<item>
|
||||
<title>Resource redirection</title>
|
||||
<link>/en/redirect/</link>
|
||||
|
|
3
en/searchurl/txt/markdeep.html
Normal file
3
en/searchurl/txt/markdeep.html
Normal file
|
@ -0,0 +1,3 @@
|
|||
<script>window.markdeepOptions = {onload};</script>
|
||||
<script src=https://casual-effects.com/markdeep/latest/markdeep.min.js? charset=utf-8></script>
|
||||
|
|
@ -79,6 +79,19 @@
|
|||
hreflang="en"
|
||||
href="/en/"
|
||||
/>
|
||||
</url><url>
|
||||
<loc>/en/bookmark/</loc>
|
||||
<lastmod>2023-01-16T00:00:00+00:00</lastmod>
|
||||
<xhtml:link
|
||||
rel="alternate"
|
||||
hreflang="zh"
|
||||
href="/zh/bookmark/"
|
||||
/>
|
||||
<xhtml:link
|
||||
rel="alternate"
|
||||
hreflang="en"
|
||||
href="/en/bookmark/"
|
||||
/>
|
||||
</url><url>
|
||||
<loc>/en/tips/</loc>
|
||||
<lastmod>2023-01-16T00:00:00+00:00</lastmod>
|
||||
|
@ -257,19 +270,6 @@
|
|||
hreflang="en"
|
||||
href="/en/rjs/"
|
||||
/>
|
||||
</url><url>
|
||||
<loc>/en/bookmark/</loc>
|
||||
<lastmod>2022-05-18T00:00:00+00:00</lastmod>
|
||||
<xhtml:link
|
||||
rel="alternate"
|
||||
hreflang="zh"
|
||||
href="/zh/bookmark/"
|
||||
/>
|
||||
<xhtml:link
|
||||
rel="alternate"
|
||||
hreflang="en"
|
||||
href="/en/bookmark/"
|
||||
/>
|
||||
</url><url>
|
||||
<loc>/en/tags/redirection/</loc>
|
||||
<lastmod>2022-04-25T00:00:00+00:00</lastmod>
|
||||
|
|
|
@ -18,7 +18,7 @@ github
|
|||
sourceforge
|
||||
powerfolder
|
||||
pagure
|
||||
Main features Change logs 973: Bookmarks to support css styling.
|
||||
Main features Change logs 974: Bookmarks to support styling for markdown etc.
|
||||
971: multiple type profiles: switch any data including website logins, user configurations orthogonally.
|
||||
968: multiple links support for single MENU/(New)Button/GESTURE definition.
|
||||
964: site source html preprocessing before rendering with user site extra html.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue