Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1111)

Unified Diff: go-back-with-backspace/background.js

Issue 2321363003: Show installation notes page on first install. (Closed) Base URL: https://chromium.googlesource.com/chromium/extensions-by-google.git@master
Patch Set: Merged Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | go-back-with-backspace/installed.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: go-back-with-backspace/background.js
diff --git a/go-back-with-backspace/background.js b/go-back-with-backspace/background.js
new file mode 100644
index 0000000000000000000000000000000000000000..dada8c845c4a852ba5f52e03c4c0f7daafdd01cb
--- /dev/null
+++ b/go-back-with-backspace/background.js
@@ -0,0 +1,6 @@
+// Put up an informative message on first install.
+chrome.runtime.onInstalled.addListener(function(details) {
+ if (details.reason == "install") {
+ chrome.tabs.create({url: "installed.html"});
+ }
+});
« no previous file with comments | « no previous file | go-back-with-backspace/installed.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698