Created
January 4, 2014 14:23
-
-
Save hiilppp/8255876 to your computer and use it in GitHub Desktop.
HTML file that opens Pythonista, where a specified script is executed, while the browser window closes in the background. This serves as workaround for IFTTT's lack of support for custom URL schemes in the URL parameter of Pushover's Channel.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta http-equiv="refresh" content="0; pythonista://foo.py&action=run&argv=bar"/> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<script language="JavaScript"> | |
setTimeout("self.close()", 500); | |
</script> | |
</head> | |
<body> | |
Redirecting to Pythonista… | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@bentsai Unfortunately, swiping a notification on the Lock Screen only opens Pushover. You then have to manually open the notification, and then, finally, you can follow the link.