1 // Copyright 2014 The Chromium Authors. 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.
5 chrome.runtime.onStartup.addListener(
7 chrome.alarms.create('hangout_services_fxpre', {'delayInMinutes': 2});
10 chrome.alarms.onAlarm.addListener(function(alarm) {
11 if (!alarm || alarm.name != 'hangout_services_fxpre')
14 var e = document.createElement('iframe');
15 e.src = 'https://plus.google.com/hangouts/_/fxpre';
16 document.body.appendChild(e);