rebuilding site Tue Sep 7 04:46:46 PM CST 2021

master
James Feng Cao 3 years ago
parent a28a1945d2
commit f60bebdcc2

@ -1,20 +1,18 @@
var editor; var editor;
onload=function(){ onload=function(){
var e = document.getElementById("editor"); var d=document;
var ext = location.href.split('.').pop(); var ext = location.href.split('.').pop();
outer:{ {
var ta=d.getElementById("textarea");
var text=ta.innerHTML;
var e = d.getElementById("editor");
switch(ext){ switch(ext){
case "html":
{
var text = e.innerHTML;
editor = ace.edit(e);
editor.session.setValue(text);
}
break outer;
case "js": case "js":
ext = "javascript"; ext = "javascript";
} }
editor = ace.edit(e); editor = ace.edit(e);
editor.session.setValue(text);
} }
editor.session.setMode("ace/mode/"+ext); editor.session.setMode("ace/mode/"+ext);
editor.setTheme("ace/theme/clouds"); editor.setTheme("ace/theme/clouds");

@ -6,10 +6,11 @@
bottom: 0; bottom: 0;
left: 0; left: 0;
} }
#textarea{display:none}
</style> </style>
<script src='http://cdn.bootcss.com/ace/1.2.3/ace.js'></script> <script src='http://cdn.bootcss.com/ace/1.2.3/ace.js'></script>
<script src='http://cdn.bootcss.com/ace/1.2.3/ext-language_tools.js'></script> <script src='http://cdn.bootcss.com/ace/1.2.3/ext-language_tools.js'></script>
<pre id='editor'></pre>
<script src='ace.js'></script> <script src='ace.js'></script>
<pre id='editor'> <textarea id='textarea'>
<h1>title</h1> html.replace(/<font.+\/font>/,'');
<div>hi</div>

@ -1,6 +1,6 @@
打开剪贴板链接:clip/uweb:/system/bin/toybox grep -m1 -Eo '(http|https)://[^ "'\'']+' 打开剪贴板链接:clip/uweb:/system/bin/toybox grep -m1 -Eo '(http|https)://[^ "'\'']+'
行编辑器:text/html:cat %f|while read LINE; do echo "<a href=\"i:AA${LINE//\"/%22}\">$LINE</a><br>";done 行编辑器:text/html:cat %f|while read LINE; do echo "<a href=\"i:AA${LINE//\"/%22}\">$LINE</a><br>";done
代码编辑器:text/html:print "<style>#div{position:fixed;top:2px}#editor{position: absolute;top:30;right:0;bottom:0;left:0;}</style><script src='http://cdn.bootcss.com/ace/1.2.3/ace.js'></script><script src='http://cdn.bootcss.com/ace/1.2.3/ext-language_tools.js'></script><script src='https://cdn.jsdelivr.net/gh/torappinfo/uwebzh/searchurl/ace.js'></script><div id='div'><button onclick='onSave(\"%f\")'>Save</button> <a href=''>Run</a></div><pre id='editor'>";cat %f; 代码编辑器:text/html:print "<style>#div{position:fixed;top:2px}#editor{position: absolute;top:30;right:0;bottom:0;left:0;}#textarea{display:none}</style><script src='http://cdn.bootcss.com/ace/1.2.3/ace.js'></script><script src='http://cdn.bootcss.com/ace/1.2.3/ext-language_tools.js'></script><script src='https://cdn.jsdelivr.net/gh/torappinfo/uwebzh/searchurl/ace.js'></script><div id='div'><button onclick='onSave(\"%f\")'>Save</button> <a href=''>Run</a></div><pre id='editor'></pre><textarea id='textarea'>";cat %f;
淘宝比价:clip/uweb:grep -m1 -Eo '(http|https)://[^ "'\'']+'|curl -s "`cat`"|grep -m1 -Eo '(http|https)://[^ ?]+'|grep -Eo '[0-9]+'|echo "http://tool.manmanbuy.com/historyLowest.aspx?url=https://detail.tmall.com/item.htm?id=`cat`" 淘宝比价:clip/uweb:grep -m1 -Eo '(http|https)://[^ "'\'']+'|curl -s "`cat`"|grep -m1 -Eo '(http|https)://[^ ?]+'|grep -Eo '[0-9]+'|echo "http://tool.manmanbuy.com/historyLowest.aspx?url=https://detail.tmall.com/item.htm?id=`cat`"
markdeep:text/html:cat %f;echo "<style class=fallback>body{visibility:hidden;white-space:pre;font-family:monospace}</style><script src=https://casual-effects.com/markdeep/latest/markdeep.min.js charset=utf-8></script><script>window.alreadyProcessedMarkdeep||(document.body.style.visibility=visible)</script>" markdeep:text/html:cat %f;echo "<style class=fallback>body{visibility:hidden;white-space:pre;font-family:monospace}</style><script src=https://casual-effects.com/markdeep/latest/markdeep.min.js charset=utf-8></script><script>window.alreadyProcessedMarkdeep||(document.body.style.visibility=visible)</script>"
显示本地md:text/html:echo "<script src=https://cdn.jsdelivr.net/npm/mdme></script><textarea>";cat %f 显示本地md:text/html:echo "<script src=https://cdn.jsdelivr.net/npm/mdme></script><textarea>";cat %f

Loading…
Cancel
Save