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

Latest Version

Version
0.1.1
Update
December 6, 2015
Size
10.67KiB
Developer
Category
Users
32
Rating
5 ★
Manifest Version
2
Web Store Status
Languages Support
English
See more
Permissions
See more

Punkjs Extension

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.
Read more

Source 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" }}
Read more

Similar Extensions

icon

rawkit Extension · Developer Tools 32 0 ★ 88.13KiB

icon

Chromium CodeSearch Theme Extension · Productivity 32 1 ★ 54.07KiB

icon

console.sparkline Extension · Developer Tools 32 1 ★ 4.7KiB

icon

RE:DOM dev tools Extension · Developer Tools 32 1 ★ 207KiB

icon

Where is it? Extension · Developer Tools 32 3 ★ 653KiB

icon

GitHub Markdown Sidebar Menu Extension · Developer Tools 32 2 ★ 8.44KiB

icon

JS Runtime Inspector Extension · Developer Tools 32 11 ★ 19.35KiB

icon

Boxcutter Extension · Developer Tools 32 1 ★ 44.97KiB

icon

Github Super Search Extension · Developer Tools 32 0 ★ 46.74KiB

icon

Diff Navigator for GitHub Extension · Developer Tools 32 3 ★ 43.72KiB

icon

Embed Code of the Android Market Extension · Social & Communication 32 7 ★ 91.8KiB

icon

App Engine Resource Usage Extension · Developer Tools 32 3 ★ 98.05KiB

icon

Gitrec Extension · Developer Tools 32 4 ★ 49.91KiB

icon

Chrome OS Tree Status Extension · Developer Tools 32 2 ★ 68.71KiB

icon

DDNS Client For NameCheap Extension · Developer Tools 32 0 ★ 49.81KiB

icon

Witchcraft: JS/CSS injector Extension · Developer Tools 32 10 ★ 27.24KiB

icon

Libraries.io | GitHub Companion Extension · Productivity 32 3 ★ 1.31MiB

icon

Github Package.json Enhancer Extension · Developer Tools 32 0 ★ 18.89KiB

icon

Finding patterns Extension · Developer Tools 32 5 ★ 171KiB

icon

LinkSuppressor: Make Any Link Selectable Extension · Accessibility 32 11 ★ 13.2KiB

icon

Console Injector Extension · Developer Tools 32 12 ★ 20.4KiB

icon

Source Quicklinks Extension · Developer Tools 32 2 ★ 59.23KiB

icon

DevTools Classes & Atributes panel Extension · Developer Tools 32 4 ★ 12.75KiB

icon

Builds Tab for Github Extension · Developer Tools 32 0 ★ 160KiB