Skip to content

Commit

Permalink
test docs
Browse files Browse the repository at this point in the history
  • Loading branch information
karl-rousseau committed Feb 4, 2018
1 parent be39abf commit 0fe8577
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions js/patcher.js
Original file line number Diff line number Diff line change
Expand Up @@ -349,18 +349,10 @@
chrome.runtime.onInstalled.addListener(function handleInstalled(details) {
_DEBUG_ && console.log('Extension onInstalled event: ', details.reason);
if (details.reason == 'install') {
var testPage = 'http://itv.mit-xperts.com/hbbtvtest/videoformats/'/*'https://karl-rousseau.github.io/HybridTvViewer/'*/;
var testPage = 'https://karl-rousseau.github.io/HybridTvViewer/';
checkAndStoreUrl(testPage);
chrome.tabs.create({ url: testPage });
} /*else if (details.reason == 'update' && chrome.notifications) { // not available yet under Firefox
var manifest = chrome.runtime.getManifest();
chrome.notifications.create('onInstalled', {
type: 'basic',
title: manifest.name,
message: 'Web extension updated to version ' + manifest.version,
iconUrl: manifest.icons['128'] // or chrome.extension.getURL("img/tv-icon128-on.png")
});
}*/
}
});

})(
Expand Down

0 comments on commit 0fe8577

Please sign in to comment.