Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
(function () {
if (window.parent !== window) {
// The config of your endpoint
reply: '{url}'
}), '*');
// Pick a way to invoke the registerProtocolHandler, through a submit handler in admin or something
document.getElementById('confForm').addEventListener('submit', function (e) {
window.navigator.registerProtocolHandler('web+indie', '/?url=%s', 'Indie Config');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment