OLD | NEW |
| 1 // Copyright 2016 Google Inc. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
1 // Put up an informative message on first install. | 5 // Put up an informative message on first install. |
2 chrome.runtime.onInstalled.addListener(function(details) { | 6 chrome.runtime.onInstalled.addListener(function(details) { |
3 if (details.reason == "install") { | 7 if (details.reason == "install") { |
4 chrome.tabs.create({url: "installed.html"}); | 8 chrome.tabs.create({url: "pages/installed.html"}); |
5 } | 9 } |
6 }); | 10 }); |
OLD | NEW |