1// Copyright (c) 2009 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. 4 5var additionalInfo = { 6 "title": document.title, 7 "selection": window.getSelection().toString() 8}; 9 10chrome.runtime.connect().postMessage(additionalInfo); 11