Chrome extension for changing URLs (request by page or page itself). Includes all JS, iFrame and CSS resources (as well as everything else).
- Create your own
chrome-url-changer.pem
in the root directory. (Being lazy, I do this using Chrome: from the Extensions screen, choose 'pack extension' and point it at thesrc
dir. Then just rename the pem it generates.) - Install npm/node.js and install grunt globally with
npm install -g grunt
. npm install
from repo root.- Run
grunt
from the root directory of this repo (creates crx in dist/crx directory).
- Open chrome://chrome/extensions/.
- Drag the .crx file generated by grunt (which is put into dist/crx directory) into the extensions window.
- Open chrome://chrome/extensions/.
- Enable "Developer mode" (tick-box in top-right of the Extension page).
- Uninstall any previous versions of the extension.
- Click "Load unpacked extension..." and select the "src" directory of this repo.
- Go to options (Right-click the icon and select "Options", or go to the Extension page and click "Options" link under the extension).
- Click the icon to enable/disable the extension.
- Use the Network panel in the Developer Tools to see replacements (original resources show as 'pending' before replaced URL shown in separate request).