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
官方URL 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"
    ]
}