Modify Javascript Variable Using Greasemonkey

余生颓废 提交于 2019-12-07 03:58:28

counter is a local variable within a function. You will not be able to change its value unless you can modify the function to use a global variable. If you do not have access to the code, you could try replacing the entire startTimer function with your own implementation. I can not tell from your example, but you can only replace startTimer if it is a global.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!