update AI engines
[uweb.git] / en / searchurl / rjs.html
blob5ccd195f47fe83070bf10745707a15d49ca0d605
1 <!DOCTYPE html><html><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1">
2 <title>javascript</title></head><body>
3 <h3>javascript</h3>
5 <p><a href="../sitejs/index.html">javascript for domains</a></p>
6 <p><b>Global javascript</b> files locates in subfolder "js". Long press button [☰] to configure. Click the following links to install:<br>
7 <a target=_self" href="i:0hjs/savePassword.js:https://fastly.jsdelivr.net/gh/torappinfo/uwebzh/searchurl/txt/passwdsave.js">Save password</a><br>
8 <a target="_self" href="i:0hjs/instantPage.js:https://fastly.jsdelivr.net/npm/instant.page">Instant page</a></p>
10 <p><b>large size javascript code</b> can be installed to the folder &quot;bookmarklet&quot; (long pressing button "js" to popup menu):<br>
11 <a target="_self" href='i:0hbookmarklet/eruda.js:https://fastly.jsdelivr.net/npm/eruda:%0Aeruda.init()'>Eruda</a><br>
12 <a target="_self" href="i:0hbookmarklet/performance.js:https://fastly.jsdelivr.net/gh/micmro/performance-bookmarklet/dist/performanceBookmarklet.min.js">Performance</a><br>
13 </p>
15 <p><b>Remote javascript</b> is defined in default.rjs. Click the following link to install. (Force exit and re-launch the app</b>, then long press the button with icon "search" to popup the menu.):<br>
17 <a href="i:04Selection to sentence:;let g='sentence';getSelection().modify('move','forward',g);getSelection().modify('extend','backward',g);">Selection to sentence:;let g='sentence';getSelection().modify('move','forward',g);getSelection().modify('extend','backward',g);</a><br><br>
18 <a href="i:04Selection to line:;let g='line';getSelection().modify('move','forward',g);getSelection().modify('extend','backward',g);">Selection to line:;let g='line';getSelection().modify('move','forward',g);getSelection().modify('extend','backward',g);</a><br><br>
19 <a href="i:04Selection to paragraph:;let g='paragraph';getSelection().modify('move','forward',g);getSelection().modify('extend','backward',g);">Selection to paragraph:;let g='paragraph';getSelection().modify('move','forward',g);getSelection().modify('extend','backward',g);</a><br><br>
20 <a href="i:04mathjax:['https://fastly.jsdelivr.net/npm/mathjax@3/es5/tex-svg.js']">mathjax:['https://fastly.jsdelivr.net/npm/mathjax@3/es5/tex-svg.js']</a><br><br>
21 <a href="i:04mdme:['https://fastly.jsdelivr.net/npm/mdme']">mdme:['https://fastly.jsdelivr.net/npm/mdme']</a><br><br>
22 <a href="i:04md+tex:['https://fastly.jsdelivr.net/npm/texme']">md+tex:['https://fastly.jsdelivr.net/npm/texme']</a><br><br>
23 <a href="i:04New tab to open links:;let d=document;b=d.createElement('base');b.setAttribute('target','_blank');d.head.appendChild(b)">New tab to open links:;let d=document;b=d.createElement('base');b.setAttribute('target','_blank');d.head.appendChild(b)</a><br><br>
24 <a href="i:04Site search:;open('i:15site:' + location.hostname)">Site search:;open('i:15site:' + location.hostname)</a><br><br>
25 <a href="i:04Spell check:;let t=document.getElementsByTagName('textarea');let v=t[0].spellcheck;if(v==null)v=false;t[0].spellcheck=!v">Spell check:;let t=document.getElementsByTagName('textarea');let v=t[0].spellcheck;if(v==null)v=false;t[0].spellcheck=!v</a><br><br>
26 </p>
27 <p>Remote script configuration file &quot;default.rjs&quot; whose lines have the following format:
28 [script name]:[javascript code to return url arrays]</p>
31 </body></html>