Simple URL Handler
  • VBScript 93.1%
  • JavaScript 6.8%
Find a file
2022-08-05 22:34:20 +02:00
scripts Changed Templatedir and added Key URL decode 2022-08-05 22:34:20 +02:00
src Added missing semicolon 2022-08-05 14:22:23 +02:00
.gitignore Init 2022-02-03 13:37:02 +01:00
config.example.json Added command property in config for pdirect 2022-08-05 14:21:03 +02:00
LICENSE Initial commit 2022-02-03 13:35:34 +01:00
package.json Init 2022-02-03 13:37:02 +01:00
README.md Update README.md 2022-02-04 11:32:59 +01:00
yarn.lock Init 2022-02-03 13:37:02 +01:00

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!