Injector

Inject javascript on each page load + hot reload. For local files install npm package 'filesystem-server'

什么是Injector?

Injector是由ReCreate Ideas开发的Chrome扩展程序,该扩展的主要功能是“Inject javascript on each page load + hot reload. For local files install npm package 'filesystem-server'”。

扩展截图

screenshot
screenshot
screenshot

下载Injector扩展crx文件

下载Injector扩展crx格式的文件,手动将Chrome插件安装到浏览器中,也可以将crx文件分享给朋友,轻松安装Chrome插件。

扩展使用说明

                        Allows you to inject files into a webpage and automatically re-injecting them every time the page loads for you to test your code in a seemingly live environment from your local machine.

Usage :
1 -  For access to your local filesystem install filesystem-server package from npm  (https://www.npmjs.com/package/filesystem-server). for this, you will need node and npm already installed. This will install a local server on your machine as well as a self-signed certificate and a crypto key (both valid for 10 years). These will be necessary to inject local code into https websites.
2- Import your new SSL certificate (that you will find inside the node_modules/filesystem-server/security folder in your system library ) to Chrome (follow this guide https://support.securly.com/hc/en-us/articles/206081828-How-to-manually-install-the-Securly-SSL-certificate-in-Chrome ).
3- Install and launch Injector.
4- Launch filesystem-server
5- In the extension, at the top, set the fss (filesystem-server) port to the same port you started fss with.
6- Choose the protocol (http|https).
7- Insert the absolute path or url of the javascript file you want to inject
8- Decide wether you want to enable HOT RELOAD (this will reload the webpage you are injecting into every time you save changes to your local file!)
9- Turn the switch on. When the switch is on the file will be injected automatically every page load ( with the specified time delay (in milliseconds).

------------------------------------------
10- If you work at cloud.IQ, decide wether you want to enable hot reload for JSON config file. (Note: it has to be in the format ' [APP_ID]_plain.json ' and live within the same folder and at the same level as the dev file. You can now work directly on JSON with HOT RELOAD.
------------------------------------------ 

For contributions:
https://github.com/recreateideas/Injector
https://github.com/recreateideas/filesystem-server                    

扩展基本信息

名称 Injector Injector
ID ogkodacnhojpmbmoknbmmndhdffamaob
官方URL https://chrome.google.com/webstore/detail/injector/ogkodacnhojpmbmoknbmmndhdffamaob
简介 Inject javascript on each page load + hot reload. For local files install npm package 'filesystem-server'
文件大小 79.53 KB
安装次数 198
当前版本 1.0.01
更新时间 2019-03-05
上架时间 2019-03-05
评分 5.00/5 共1次评分
开发者 ReCreate Ideas
电子邮箱 [email protected]
付费类型 free
扩展官网 https://github.com/recreateideas/Injector
支持的语言 en-GB
manifest.json
{
    "update_url": "https:\/\/clients2.google.com\/service\/update2\/crx",
    "manifest_version": 2,
    "name": "Injector",
    "short_name": "*_TI_*",
    "description": "Inject javascript on each page load + hot reload. For local files install npm package 'filesystem-server' ",
    "version": "1.0.01",
    "icons": {
        "16": "icons\/icon16.png",
        "48": "icons\/icon48.png",
        "128": "icons\/icon128.png"
    },
    "browser_action": {
        "default_title": "Injector",
        "default_popup": "html\/popup.html",
        "default_icon": "icons\/icon.png",
        "default_action": "javascript\/popup.js"
    },
    "background": {
        "scripts": [
            "javascript\/background.js"
        ],
        "persistent": false
    },
    "content_scripts": [
        {
            "js": [
                "javascript\/index.js"
            ],
            "matches": [
                "https:\/\/*\/*",
                "http:\/\/*\/*"
            ],
            "run_at": "document_start"
        }
    ],
    "permissions": [
        "",
        "https:\/\/*\/*",
        "http:\/\/*\/*",
        "tabs",
        "background",
        "nativeMessaging"
    ]
}