![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
js
markximu
这个作者很懒,什么都没留下…
展开
-
js依次读取本地文件并显示内容
function GetLine(){ var fso, f, r; var ForReading = 1, ForWriting = 2; fso = new ActiveXObject("Scripting.FileSystemObject"); f = fso.OpenTextFile("f:\\testfile.txt", ForReading);原创 2013-04-01 13:16:07 · 871 阅读 · 0 评论 -
通过 File API 使用 JavaScript 读取文件
http://www.html5rocks.com/zh/tutorials/file/dndfiles/转载 2013-04-01 12:48:32 · 478 阅读 · 0 评论 -
Greasemonkey脚本之settimeout与setinterval
Greasemonkey与浏览器处理js的时候会略有不同特别是在处理settimeout与setinterval的时候,浏览器下的正常写法制GM下是无法正常运行的例如:var ints=settimeout("alert("this's tset app")",1000)GM是不会对上面的代码进行相应的,或者说GM认为这是错误代码GM下的正常写法应该是//先创建一个显性函数转载 2013-05-16 17:19:07 · 2658 阅读 · 0 评论 -
关于setTimeout在GM
Question:0 down vote favorite I've tried to develop a simple Greasemonkey script in javascript. How can I automatically simulate a click on specific button with an interval bet原创 2013-05-16 18:09:52 · 553 阅读 · 0 评论