Script Executor
大小:283KiB版本:v 3.0更新时间:2021-12-21
Used to run script on page to get results
Script Executor 的使用方法详解,最全面的教程
Script Executor 描述:
用户数:10000
分类:开发者工具插件
扩展大小:283 KiB
最后更新时间:2021-12-21
版本:v 3.0
Script Executor 插件简介:
这是来自Chrome商店的 Script Executor 浏览器插件,您可以在当前页面下载它的最新版本安装文件,并安装在Chrome、Edge等浏览器上。
Script Executor插件下载方法/流程:
点击下载按钮,关注“扩展迷Extfans”公众号并获取验证码,在网页弹窗中输入验证码,即可下载最新安装文件。
Script Executor插件安装教程/方法:
(1)将扩展迷上下载的安装包文件(.zip)解压为文件夹,其中类型为“crx”的文件就是接下来需要用到的安装文件
(2) 从设置->更多工具->扩展程序 打开扩展程序页面,或者地址栏输入 Chrome://extensions/ 按下回车打开扩展程序页面
(3) 打开扩展程序页面的“开发者模式”
(4) 将crx文件拖拽到扩展程序页面,
完成安装如有其它安装问题,
请扫描网站底部二维码与客服联系如有疑问请参考:
https://www.extfans.com/installation/The extension helps run java script on the page. The good point is that the extension is powered by jQuery version 1.10 which helps in debugging any html page you have currently opened up in the browser.
For using Jquery use $ext instead of $ to run your scripts.
For example if I want to find number of anchor tags on the page: I would write $ext('a').size() in the text area to get the number in result section below the execute button. Similarly try using window.location.href to get the current url in result section.
You can write multiple lines of script and execute to see the logs in console as do not use alerts in the script. To see logs in the console. Press F12 to open the chrome developer tool and then click on the console tab.
Logging in Script Area example:
try writing console.log('Your message') and click Execute button or alternative you can use the log method directly like log('My Message').
Try executing this script on any page.
$ext('a').each(function(){
log($ext(this).text())
});
This will result in printing every link text on the page in console.
Use It and play around with the html in your browser.
Happy Scripting !!!!