Skip to content

Commit a68c11b

Browse files
committed
feat(chrome-button): explain usage when clicking on extension's button
closes #4.
1 parent 7ca75a2 commit a68c11b

File tree

2 files changed

+28
-1
lines changed

2 files changed

+28
-1
lines changed

manifest.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,14 @@
11
{
22
"name": "Permalinks for Google Inbox",
33
"description": "Provides direct URLs to your emails, from Google Inbox.",
4-
"version": "0.5",
4+
"version": "0.6",
55
"icons": {
66
"128": "icon.png"
77
},
8+
"browser_action": {
9+
"default_popup": "popup.html",
10+
"default_icon": "icon.png"
11+
},
812
"content_scripts": [
913
{
1014
"matches": [

popup.html

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
<html>
2+
<head>
3+
<meta charset="utf-8">
4+
</head>
5+
<body>
6+
7+
<iframe allowtransparency="true" scrolling="no" frameborder="0" src="https://buttons.github.io/buttons.html#href=https%3A%2F%2Fgithub.com%2Fadrienjoly%2Fchrome-inbox-permalinks&amp;data-text=Github&amp;aria-label=Star%20adrienjoly%2Fchrome-inbox-permalinks%20on%20GitHub" style="width: 68px; height: 20px; border: none; position:absolute;right:10px;top:10px;"></iframe>
8+
9+
<h2>Permalinks for Google Inbox</h2>
10+
<p>This extension provides direct URLs to your email threads, from Google Inbox.</p>
11+
<p>Until I find a better solution, these generated URLs will open the corresponding email thread on GMail.</p>
12+
<p>Still, this extension is quite handy if you need to refer to a specific email thread from any document that supports hyperlinks. I hope that you will enjoy it!</p>
13+
14+
<h2>Usage instructions</h2>
15+
<ol>
16+
<li>Open <a href="https://inbox.google.com" target="_blank">Google Inbox</a> (reload the page if necessary)</li>
17+
<li>After opening an email thread, click on the link 🔗 icon</li>
18+
<li>The permalink to that email thread will be provided on the right side of the page</li>
19+
</ol>
20+
<iframe width="500" height="315" src="https://www.youtube.com/embed/lV8iXNpE2VM?rel=0" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe>
21+
22+
</body>
23+
</html>

0 commit comments

Comments
 (0)