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'”。
擴展截圖
下載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 擴展基本資訊
| 名稱 | |
| ID | ogkodacnhojpmbmoknbmmndhdffamaob |
| 官方網址 | 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": [
" | |