Script Executor

Used to run script on page to get results

什麼是Script Executor?

Script Executor是由ashu.sushant開發的Chrome擴展程式,該擴展的主要功能是“Used to run script on page to get results”。

擴展截圖

screenshot

下載Script Executor擴展crx文件

下載Script Executor擴展crx格式的文件,手動將Chrome擴充功能安裝到瀏覽器中,也可以將crx文件分享給朋友,輕鬆安裝Chrome擴充功能。

擴展使用說明

                        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 !!!!                    

擴展基本資訊

名稱 Script Executor Script Executor
ID hlledchhaimjmakjdmjpldfanefbhikj
官方網址 https://chromewebstore.google.com/detail/script-executor/hlledchhaimjmakjdmjpldfanefbhikj
簡介 Used to run script on page to get results
檔案大小 283 KB
安裝次數 13,059
目前版本 3.0
更新時間 2014-07-13
上架時間 2014-07-13
評分 2.97/5 共 36 次評分
開發者 ashu.sushant
付費類型 free
支援的語言 en
manifest.json
{
    "update_url": "https:\/\/clients2.google.com\/service\/update2\/crx",
    "manifest_version": 2,
    "name": "Script Executor",
    "version": "3.0",
    "description": "Used to run script on page to get results",
    "icons": {
        "128": "images\/script_128.png"
    },
    "background": {
        "persistent": false,
        "scripts": [
            "js\/server\/jquery-1.10.2.js",
            "js\/server\/server.js"
        ]
    },
    "permissions": [
        "activeTab"
    ],
    "browser_action": {
        "default_title": "Script Executor",
        "default_icon": "images\/script_20.png",
        "default_popup": "popup.html"
    },
    "content_scripts": [
        {
            "matches": [
                "*:\/\/*\/*"
            ],
            "js": [
                "js\/client\/jquery-1.10.2.js",
                "js\/client\/content.js"
            ]
        }
    ]
}