This file contains hidden or 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
| try { | |
| localStorage.setItem('test', 'test'); | |
| } catch (err) { | |
| if ((err.name).toUpperCase() == 'QUOTA_EXCEEDED_ERR') { | |
| document.write('<div style="padding:5%;margin:5%;background:#777;color:white;height:90%">We don\'t seem to be able to store the information needed for this app to work on your phone.<br /><br /> It\'s probably because you have enabled private browsing mode. If you\'d like to disable private browsing go to settings section on your phone.</div>'); | |
| } | |
| } |
This file contains hidden or 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
| try | |
| { | |
| $payload = json_decode($_REQUEST['payload']); | |
| } | |
| catch(Exception $e) | |
| { | |
| exit(0); | |
| } | |
| file_put_contents('logs/github.txt', print_r($payload, TRUE), FILE_APPEND); |
NewerOlder