scratch
/quickload/share-text.php |
@@ -25,7 +25,7 @@ |
$action = strtoupper($_POST['action']); |
|
#### Data must be sent in order to save a file. |
if($action === 'SAVE' and (!isset($_POST['data']) or empty($_POST['data']))) |
if($action === 'SAVE' and !isset($_POST['data'])) |
return; |
|
#### Hash fingerprint. |
/quickload/text.html |
@@ -211,6 +211,7 @@ |
if(!nick || nick.length != 32) |
return; |
Cookies.set('nick', nick, { path: '' }); |
result = nick; |
|
// Retrieve the contents of the shared file. |
$.post('share-text.php', |
@@ -236,6 +237,7 @@ |
if(!nick || nick.length != 32) |
return; |
Cookies.set('nick', nick, { path: '' }); |
result = nick; |
|
// Retrieve the contents of the shared file. |
$.post('share-text.php', |
@@ -257,7 +259,7 @@ |
$('#reset').click(() => { |
Cookies.set('nick', fingerprint, { path: '' }); |
$('#nick').val(fingerprint); |
result = nick; |
result = fingerprint; |
|
// Retrieve the contents of the shared file. |
$.post('share-text.php', |