Skip to content

Commit 71486a8

Browse files
committed
#155 adding instapaper
1 parent fd00186 commit 71486a8

File tree

12 files changed

+9
-9
lines changed

12 files changed

+9
-9
lines changed
7.04 KB
Loading
15.3 KB
Binary file not shown.
Loading
Binary file not shown.
62.4 KB
Binary file not shown.
7.12 KB
Binary file not shown.
Loading
Binary file not shown.
Loading

tools/chrome/extensions/save-services/instapaper/launch.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,9 @@
55
<script>
66
if(window.intent) {
77
if(window.intent.type.indexOf("text/") == 0) {
8-
var href = "https://twitter.com/intent/tweet?url=" +
9-
encodeURI(window.intent.data);
8+
var now = new Date().getTime();
9+
var href = "https://www.instapaper.com/j/?t=" + now + "&u="+
10+
encodeURIComponent(window.intent.data);
1011
window.location = href;
1112
}
1213
}
Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,15 @@
11
{
2-
"name": "Save Link to Instapaper",
3-
"version": "1.0.0.0",
2+
"name": "Save to Instapaper",
3+
"version": "1.0.0.1",
44
"icons" : {
5-
"16": "favicon.ico"
5+
"16": "favicon.ico",
6+
"128" : "128.png"
67
},
7-
"permissions": ["http://demos.webintents.org/"],
88
"intents": {
99
"http://webintents.org/save" : {
1010
"type" : ["text/uri-list"],
11-
"path" : "instapaper.html",
12-
"title" : "Share link to Instapaper",
13-
"disposition" : "inline"
11+
"path" : "launch.html",
12+
"title" : "Save to Instapaper"
1413
}
1514
}
1615
}

tools/chrome/extensions/share.crx

0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)