-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#157 first set of example extensions for shorten intent
- Loading branch information
1 parent
aad9c7c
commit fd00186
Showing
16 changed files
with
55 additions
and
92 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
92 changes: 0 additions & 92 deletions
92
tools/chrome/extensions/save-services/instapaper/instapaper.html
This file was deleted.
Oops, something went wrong.
File renamed without changes.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
12 changes: 12 additions & 0 deletions
12
tools/chrome/extensions/shorten-services/bit.ly/launch.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<!doctype html> | ||
<html> | ||
<script> | ||
window.addEventListener("load", function() { | ||
if(window.intent) { | ||
if(window.intent.type == "text/uri-list") { | ||
document.location = "https://bitly.com/?v=3&u="+ encodeURIComponent(window.intent.data); | ||
} | ||
} | ||
}); | ||
</script> | ||
</html> |
15 changes: 15 additions & 0 deletions
15
tools/chrome/extensions/shorten-services/bit.ly/manifest.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{ | ||
"name": "Shorten with Bit.ly", | ||
"version": "0.0.0.2", | ||
"icons" : { | ||
"16" : "favicon.ico", | ||
"128" : "128.png" | ||
}, | ||
"intents" : { | ||
"http://webintents.org/shorten" : { | ||
"type" : ["text/uri-list"], | ||
"title" : "Shorten with Bit.ly", | ||
"path" : "/launch.html" | ||
} | ||
} | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
12 changes: 12 additions & 0 deletions
12
tools/chrome/extensions/shorten-services/goo.gl/launch.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<!doctype html> | ||
<html> | ||
<script> | ||
window.addEventListener("load", function() { | ||
if(window.intent) { | ||
if(window.intent.type == "text/uri-list") { | ||
document.location = "http://digg.com/submit?phase=2&url="+ encodeURIComponent(window.intent.data); | ||
} | ||
} | ||
}); | ||
</script> | ||
</html> |
15 changes: 15 additions & 0 deletions
15
tools/chrome/extensions/shorten-services/goo.gl/manifest.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{ | ||
"name": "Shorten with Goo.gl", | ||
"version": "0.0.0.2", | ||
"icons" : { | ||
"16" : "favicon.ico", | ||
"128" : "128.png" | ||
}, | ||
"intents" : { | ||
"http://webintents.org/shorten" : { | ||
"type" : ["text/uri-list"], | ||
"title" : "Shorten with Goo.gl", | ||
"path" : "/launch.html" | ||
} | ||
} | ||
} |