Punkjs

Punkjs is a Chrome extension that allows you to load local Javascript files into web pages based on the filename.

Vad är Punkjs?

Punkjs är en Chrome-tillägg utvecklad av Jonathan Cremin, och dess huvudfunktion är "Punkjs is a Chrome extension that allows you to load local Javascript files into web pages based on the filename.".

Tilläggsskärmbilder

screenshot

Ladda ner Punkjs-förlängningens CRX-fil

Ladda ner Punkjs-filändelser i crx-format, installera Chrome-tillägg manuellt i webbläsaren eller dela crx-filerna med vänner för att enkelt installera Chrome-tillägg.

Användarmanual för Tillägg

                        It can load them from a directory of your choosing (like ~/.js) into web pages that match the domain, like google.com.js on www.google.com.

> Punk is the phonetic spelling of the Irish word for dot, "ponc". I wanted to call this "Poncjs", but I also didn't want it to be difficult to search for.

It is the spiritual successor to dotjs, which is no longer maintained.

Extensions have security restrictions that stop them reading from the filesystem, so you'll also need to install the Punkjs Bridge App (https://chrome.google.com/webstore/detail/ecnapnimgoienbogbgcmchpgjbgeaobk).

## How to Use

* Install the extension (https://chrome.google.com/webstore/detail/dkjpmglejjkidbgnokkgkiablgbdabpk).
* Install the app (https://chrome.google.com/webstore/detail/ecnapnimgoienbogbgcmchpgjbgeaobk).
* Create your ~/.js directory.
* Launch the app to configure the directory.
* Hack on some js.

## How it Works

The Punkjs extension and Punkjs Bridge app use the Chrome runtime messaging API for communicating.

Whenever you navigate to a webpage the extension will tell the bridge what domain the page is on. The bridge will try to find matching files, starting with the TLD and working down through the levels. The extension then runs the returned Javascript in the context of the page.

## Requirements

* Google Chrome.                    

Grundläggande Information om Tillägg

Namn Punkjs Punkjs
ID dkjpmglejjkidbgnokkgkiablgbdabpk
Officiell webbadress https://chromewebstore.google.com/detail/punkjs/dkjpmglejjkidbgnokkgkiablgbdabpk
Beskrivning Punkjs is a Chrome extension that allows you to load local Javascript files into web pages based on the filename.
Filstorlek 10.67 KB
Antal Installationer 45
Aktuell Version 0.1.1
Senast Uppdaterad 2015-12-06
Publiceringsdatum 2015-12-06
Betyg 5.00/5 Totalt 1 Betyg
Utvecklare Jonathan Cremin
Betalningssätt free
Tilläggswebbplats https://github.com/kudos/punkjs
Hjälpsida URL https://github.com/kudos/punkjs/issues
Stödda Språk en
manifest.json
{
    "update_url": "https:\/\/clients2.google.com\/service\/update2\/crx",
    "name": "Punkjs",
    "version": "0.1.1",
    "manifest_version": 2,
    "description": "Punkjs is a Chrome extension that allows you to load local Javascript files into web pages based on the filename.",
    "author": "Jonathan Cremin ",
    "homepage_url": "https:\/\/github.com\/kudos\/punkjs",
    "minimum_chrome_version": "46",
    "icons": {
        "128": "icon-128.png"
    },
    "content_scripts": [
        {
            "matches": [
                ""
            ],
            "js": [
                "bridge-id.js",
                "index.js"
            ]
        }
    ],
    "options_ui": {
        "chrome_style": true,
        "page": "options.html"
    }
}