Image du logo de l'article pour Punkjs

Punkjs

5,0(

1 avis

)
ExtensionOutils pour les développeurs11 utilisateurs
Élément multimédia 1 (capture d'écran) pour Punkjs

Présentation

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

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.

Détails

  • Version
    0.1.1
  • Dernière mise à jour
    6 décembre 2015
  • Proposé par
    Jonathan Cremin
  • Taille
    10.67KiB
  • Langues
    English
  • Non-professionnel
    Ce développeur ne s'est pas identifié comme professionnel. Pour les consommateurs de l'Union européenne, veuillez noter qu'il est possible que les droits des consommateurs ne s'appliquent pas aux contrats entre vous et ce développeur.

Confidentialité

Gérez les extensions et découvrez comment elles sont utilisées dans votre organisation
Le développeur n'a pas fourni d'informations sur la collecte ni sur l'utilisation de vos données.

Assistance

Pour obtenir de l'aide concernant des questions, des suggestions ou des problèmes, veuillez ouvrir cette page dans votre navigateur pour ordinateur

Applications Google