1 // Copyright (c) 2010 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 debugMsg(logLevels
.info
, "Running script at document_start");
7 // See if the current document is a feed document and if so, let
8 // the extension know that we should show the subscribe page instead.
9 if (containsFeed(document
))
10 chrome
.extension
.sendMessage({msg
: "feedDocument", href
: location
.href
});