[英]is there a way to auto execute a predefined JavaScript through the JavaScript console of a browser when it enters a specific web page?
I was wondering.. I'm now getting even lazy to copy-paste my complete JS commands that I used to insert into the JavaScript console of my chrome browser. 我想知道..我现在甚至懒惰地复制粘贴用于插入chrome浏览器的JavaScript控制台的完整JS命令。
Could there be a way to program something that will do this job for me? 有什么办法可以对我的工作进行编程吗? what sort of programming techniques should I learn?
我应该学习哪种编程技术?
I would be grateful if anyone could give me some place to start. 如果有人能给我一些起点,我将不胜感激。
I work on the Chrome team. 我在Chrome小组工作。 Last year we introduced a useful feature called Snippets to the Chrome Developer Tools which should help with this exact use-case.
去年,我们在Chrome开发者工具中引入了一个名为“代码段”的有用功能,该功能可以帮助解决这一确切的用例。 You can find out more information about it at: https://developers.google.com/chrome-developer-tools/docs/authoring-development-workflow#snippets
您可以在以下网址找到有关它的更多信息: https : //developers.google.com/chrome-developer-tools/docs/authoring-development-workflow#snippets
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.