最後活躍 1732922257

melanie's Avatar melanie 已修改 1732922256. 還原成這個修訂版本

沒有任何變更

melanie's Avatar melanie 已修改 1732922246. 還原成這個修訂版本

沒有任何變更

melanie's Avatar melanie 已修改 1732918342. 還原成這個修訂版本

1 file changed, 15 insertions

letterbird-params.md(檔案已創建)

@@ -0,0 +1,15 @@
1 + # Undocumented Query Parameters You Can Use With Letterbird URLS
2 +
3 + Example URL: `https://letterbird.co/melanie`
4 +
5 + Using every parameter in the example URL: `https://letterbird.co/melanie?name=from&email=email&body=body&subject=subject&hideheader=1`
6 +
7 + - `hideheader=1` - hides the header and profile picture
8 + - `name=` - Pre-fills the from name field
9 + - `email=` - Pre-fills the from email field
10 + - `body=` - Pre-fills the body text area
11 + - `subject=` - Pre-fills the subject field if enabled
12 +
13 + As always with query parameters, you should probably run the strings you want to use as the value through `encodeURIComponent()` so that things like spaces become `%20`, newlines become `%0A`, and @ symbols become `%40`.
14 +
15 + Of note, sometimes Letterbird will try to store some of these values in localStorage to hold on to what the user has inputted manually and it will overwrite the query parameters.
上一頁 下一頁