Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
troilus committed Jun 9, 2023
1 parent b18e8da commit e2fd9f7
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 7 deletions.
1 change: 1 addition & 0 deletions BarkMe
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
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);}})();
6 changes: 0 additions & 6 deletions MailmeLink

This file was deleted.

4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,16 @@ This is a bookmarklet that mail me the current page.
## 使用方法
### 方式1 拖动添加书签
1. 访问[https://troilus.github.io/MailmeLink](https://troilus.github.io/MailmeLink) , 将书签拖动到收藏夹栏保存。
2. 修改标签地址,将地址中的iswangli@outlook.com为其他接收邮箱地址。
### 方式2 自建书签
1. 在浏览器收藏夹栏新增一个书签。
2. 修改这个书签,将地址改为[MailmeLink](https://github.com/troilus/MailmeLink/blob/main/MailmeLink)中的代码。
3. 修改代码中的iswangli@outlook.com为其他接收邮箱地址。
## How to use
### Option 1: Drag to add a bookmark.
1. Visit [https://troilus.github.io/](https://troilus.github.io/MailmeLink) , drag the bookmark to the bookmarks bar to save it.
2. Modify the "iswangli@outlook.com" in the bookmark url to a different email address.
### Option 2: Create a bookmark manually.
1. Add a new bookmark to the browser's bookmarks bar.
2. Modify this bookmark by replacing the URL with the code from MailmeLink.
2. Modify this bookmark by replacing the URL with the code from [MailmeLink](https://github.com/troilus/MailmeLink/blob/main/MailmeLink)
3. Modify the email address "iswangli@outlook.com" in the code to a different email address.

0 comments on commit e2fd9f7

Please sign in to comment.