¡@

Home 

javascript Programming Glossary: tab.id

Accessing global object from content script in chrome extension

http://stackoverflow.com/questions/10052259/accessing-global-object-from-content-script-in-chrome-extension

code in the original tab using chrome.tabs.executeScript tab.id func . To use a background page's method from a Content script..

Open a new Google Chrome tab and get the source

http://stackoverflow.com/questions/10161044/open-a-new-google-chrome-tab-and-get-the-source

chrome.extension.getURL mypage function tab rememberTabs tab.id callback Capture the page when it has fully loaded. When we.. var callback rememberTabs sender.tab.id if callback callback request.html The referenced get_source.js..

popup window in Chrome extension

http://stackoverflow.com/questions/10340481/popup-window-in-chrome-extension

a window to inject the tab chrome.windows.create tabId tab.id type 'popup' focused true incognito top left ... function..

Content-Security-Policy error in google chrome extension making

http://stackoverflow.com/questions/11045653/content-security-policy-error-in-google-chrome-extension-making

null function tab chrome.tabs.sendRequest tab.id greeting hello function response console.log response.farewell..

Chrome extension: Communication between content script and background.html

http://stackoverflow.com/questions/11752341/chrome-extension-communication-between-content-script-and-background-html

null function tab chrome.tabs.sendRequest tab.id greeting hello content.js code chrome.extension.onMessage.addListener..

Web Page Source Annotation Tool

http://stackoverflow.com/questions/14244498/web-page-source-annotation-tool

case _selection_univ chrome.tabs.sendMessage tab.id univ Notify Content Script for univ break case _selection_address.. univ break case _selection_address chrome.tabs.sendMessage tab.id address Notify Content Script for address break default console.log.. here case _selection_your_case chrome.tabs.sendMessage tab.id _your_tag_content Notify Content Script for address break 3..

Showing context menu buttons only when right-clicked on classes that start with “Story”

http://stackoverflow.com/questions/14829677/showing-context-menu-buttons-only-when-right-clicked-on-classes-that-start-with

tab's content script of something chrome.tabs.sendMessage tab.id ...some JSON serializable data... Example Remove contextmenus.. Example Remove contextmenus for context removeContextMenus tab.id chrome.extension.onConnect.addListener function port if port.sender.tab.. port do not interfere with it return var tabId port.sender.tab.id port.onDisconnect.addListener function removeContextMenus tabId..

Accessing Current Tab DOM Object from “popup.html”?

http://stackoverflow.com/questions/1964225/accessing-current-tab-dom-object-from-popup-html

a request to the content script. chrome.tabs.sendRequest tab.id action getDOM function response console.log response.dom Now..

How do I have a link from a Google Chrome extension popup open in the same tab underneath?

http://stackoverflow.com/questions/3765004/how-do-i-have-a-link-from-a-google-chrome-extension-popup-open-in-the-same-tab-u

extensions tabs.html#method getSelected Then you use the tab.id that the callback has fired and updating it with a url http.. chrome.tabs.getSelected function tab chrome.tabs.update tab.id url 'http google.com' If you want to let every link in the popup.. null function tab chrome.tabs.update tab.id url href window.close To close the popup. share improve this..

How do I implement user authentication in a Chrome Extension using Google App Engine as backend?

http://stackoverflow.com/questions/7830209/how-do-i-implement-user-authentication-in-a-chrome-extension-using-google-app-en

a request to the content script. chrome.tabs.sendRequest tab.id action getDOM function response var firstParagraph response.dom..