Custom JavaScript for Websites 2

Run custom JavaScript on any website.

什麼是Custom JavaScript for Websites 2?

Custom JavaScript for Websites 2是由xcv58開發的Chrome擴展程式,該擴展的主要功能是“Run custom JavaScript on any website.”。

擴展截圖

screenshot

下載Custom JavaScript for Websites 2擴展crx文件

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

擴展使用說明

                        Run custom JavaScript on any website. Use this tool to inject custom JavaScript in any website.

Your scripts are kept by the Chrome sync API and applied across domain URLs. You can inject custom JavaScript based on domain or custom Regular Expression (since v3.1.1).

This extension supports dedicated tab to edit your codes since v2.5.1

You can use some built-in libraries such as
* jQuery 1.12.4
* jQuery 2.2.4
* jQuery 3.2.1
* Indefinite Observable 1.0.1
* MooTools 1.6.0

or/and your own external scripts.

Use cases:

* Site debugging (wrong list sort, etc.)
* Extract useful information from website, such as billings/orders metadata
* Hide annoying popups and Ads
* Custom UI
* Anything you can think of :)

Inject large JavaScript: https://github.com/xcv58/Custom-JavaScript-for-Websites-2#how-do-i-inject-large-javascript

New features:

Ace Editor (formating, highlight, undo/redo by hotkeys)
Draft auto save (so doesn't matter when you close the window without saving)
Hosts (websites) switch (you can browse customjs of other websites)
Include external script (eq. Underscore.js is cool)
Thanks to:

Ace - http://ace.c9.io/
Pure - http://purecss.io/                    

擴展基本資訊

名稱 Custom JavaScript for Websites 2 Custom JavaScript for Websites 2
ID ddbjnfjiigjmcpcpkmhogomapikjbjdk
官方網址 https://chromewebstore.google.com/detail/custom-javascript-for-web/ddbjnfjiigjmcpcpkmhogomapikjbjdk
簡介 Run custom JavaScript on any website.
檔案大小 588 KB
安裝次數 52,311
目前版本 3.4.12
更新時間 2023-02-20
上架時間 2020-04-28
評分 4.37/5 共 118 次評分
開發者 xcv58
電子郵箱 [email protected]
付費類型 free
擴展官網 https://github.com/xcv58/Custom-JavaScript-for-Websites-2
說明頁面URL https://github.com/xcv58/Custom-JavaScript-for-Websites-2/issues
支援的語言 en
manifest.json
{
    "update_url": "https:\/\/clients2.google.com\/service\/update2\/crx",
    "description": "Run custom JavaScript on any website.",
    "version": "3.4.12",
    "manifest_version": 2,
    "name": "Custom JavaScript for Websites 2",
    "short_name": "customjs",
    "author": "xcv58",
    "minimum_chrome_version": "52.0.2743",
    "icons": {
        "16": "icon-16.png",
        "19": "icon-19.png",
        "32": "icon-32.png",
        "38": "icon-38.png",
        "48": "icon-48.png",
        "128": "icon-128.png"
    },
    "background": {
        "scripts": [
            "background.js"
        ],
        "persistent": false
    },
    "content_scripts": [
        {
            "all_frames": true,
            "js": [
                "run.js"
            ],
            "matches": [
                ""
            ]
        }
    ],
    "web_accessible_resources": [
        "*.css",
        "base.js"
    ],
    "browser_action": {
        "default_icon": "icon-48.png",
        "default_popup": "popup.html"
    },
    "content_security_policy": "script-src 'self' 'unsafe-eval' https:\/\/*.googleapis.com https:\/\/gitcdn.link https:\/\/cdnjs.cloudflare.com; object-src 'self'",
    "permissions": [
        "storage",
        "http:\/\/*\/",
        "https:\/\/*\/",
        "tabs"
    ]
}