soliphp.blogg.se

Firefox gbrowser postmessage
Firefox gbrowser postmessage











The background script then re-reads the options.

firefox gbrowser postmessage

#Firefox gbrowser postmessage code#

In the code below: After storing the options in storage.local, the options.js sends an optionsUpdated message to the background script that the options have been updated. Firefox enables content script to get the unspoofed value of the runtime via a Firefox-specific concept called Xray vision. Answer questions and improve our knowledge base. Firefox for Fire TV Firefox for Echo Show Join Our Community Grow and share your expertise with others. a/browser/base/content/test/browser_bug416661.js +++ b/browser/base/content/test/browser_bug416661.js -6,28 +6,28 function start_test_prefNotSet() ok(navigator.registerProtocolHandler, "navigator.registerProtocolHandler should be defined") ok(navigator.registerContentHandler, "navigator. This particular API adds a new method to every window (including the current window, popups, iframes, and frames) that allows you to send textual messages from your current window to any other regardless of any cross-domain policies that might exist. Use () to send a message to your background page that the options have changed. Firefox for Amazon Devices Help Contribute Home Firefox for Amazon Devices Firefox for Amazon Devices Support Frequent Topics Explore the knowledge base.











Firefox gbrowser postmessage