uweb/searchurl/txt/cmds.cfg
2021-09-06 20:11:47 +08:00

7 lines
1.4 KiB
INI

打开剪贴板链接: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: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;
淘宝比价: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>"
显示本地md:text/html:echo "<script src=https://cdn.jsdelivr.net/npm/mdme></script><textarea>";cat %f
texme:text/html:echo "<script src=https://cdn.jsdelivr.net/npm/texme></script><textarea>";cat %f