Skip to content

Commit

Permalink
Update BarkMe
Browse files Browse the repository at this point in the history
  • Loading branch information
troilus committed Jun 9, 2023
1 parent 40ca10c commit f789b55
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions BarkMe
Original file line number Diff line number Diff line change
@@ -1,6 +1 @@
javascript:(function() {
var subject = encodeURIComponent(document.title);
var body = encodeURIComponent(document.title + '\n\n' + location.href);
var mailtoLink = 'mailto:iswangli@outlook.com?subject=' + subject + '&body=' + body;
window.location.href = mailtoLink;
})();
javascript:(async function() { try { const clipboardData = await navigator.clipboard.readText(); const clipboardContent = clipboardData.trim(); if (clipboardContent !== '') { const url = 'https://api.day.app/yourkey/' + encodeURIComponent(clipboardContent); await fetch(url); } }catch (error) {console.log('ERROR:', error);}})();

0 comments on commit f789b55

Please sign in to comment.