Simple URL Handler
- VBScript 93.1%
- JavaScript 6.8%
| scripts | ||
| src | ||
| .gitignore | ||
| config.example.json | ||
| LICENSE | ||
| package.json | ||
| README.md | ||
| yarn.lock | ||
WebLink
A small tool to register a simple URL Handler that executes a script. (Currently only tested on Windows)
Getting Started
$ git clone https://github.com/LeXonJe/weblink
$ yarn install
Then create a config.json file like that:
{
"protocolName": "testProt",
"installScript": "example.bat",
"installLocation": "%localappdata%\\scripts\\"
}
And now you can start and test the script:
$ yarn start
Now you should be able to type (protocolName)://test into your browser and get asked to execute the script.
Building
$ yarn build
Then bundle your .exe from the dist folder with the config and a script (aka. put them in the same folder). Done!