{"json_modified": "2016-10-04T14:10:00.564310", "uuid": "4f36abf2-fac3-49ea-940c-d107be654c4c", "title": "Content scripts", "url": "/en-US/docs/Mozilla/Add-ons/WebExtensions/Content_scripts", "tags": [], "translations": [], "modified": "2016-10-04T14:09:58", "label": "Content scripts", "localization_tags": [], "locale": "en-US", "id": 161395, "last_edit": "2016-10-04T14:09:54", "summary": "A content script is a part of your extension that runs in the context of a particular web page (as opposed to background scripts which are part of the extension, or scripts which are part of the web site itself, such as those loaded using the <script> element).", "sections": [{"id": "Quick_Links", "title": null}, {"id": "Loading_content_scripts", "title": "Loading content scripts"}, {"id": "Content_script_environment", "title": "Content script environment"}, {"id": "DOM_access", "title": "DOM access"}, {"id": "WebExtension_APIs", "title": "WebExtension APIs"}, {"id": "Cross-domain_privileges", "title": "Cross-domain privileges"}, {"id": "Communicating_with_background_scripts", "title": "Communicating with background scripts"}, {"id": "One-off_messages", "title": "One-off messages"}, {"id": "Connection-based_messaging", "title": "Connection-based messaging"}, {"id": "Communicating_with_the_web_page", "title": "Communicating with the web page"}, {"id": "Sharing_objects_with_page_scripts", "title": "Sharing objects with page scripts"}, {"id": "Xray_vision_in_Firefox", "title": "Xray vision in Firefox"}, {"id": "Accessing_page_script_objects_from_content_scripts", "title": "Accessing page script objects from content scripts"}, {"id": "Sharing_content_script_objects_with_page_scripts", "title": "Sharing content script objects with page scripts"}, {"id": "exportFunction", "title": "exportFunction"}, {"id": "cloneInto", "title": "cloneInto"}], "slug": "Mozilla/Add-ons/WebExtensions/Content_scripts", "review_tags": []}