{"json_modified": "2016-08-29T11:33:02.257693", "uuid": "d1bca2f3-acdb-4bfb-aa2a-741c4b5e3bcb", "title": "Modifying the Page Hosted by a Tab", "url": "/en-US/docs/Mozilla/Add-ons/SDK/Tutorials/Modifying_the_Page_Hosted_by_a_Tab", "tags": ["Add-on SDK"], "translations": [{"uuid": "b720d9cf-952a-46fe-915d-9a7f1d14086b", "title": "Modificar la p\u00e1gina web activa", "url": "/es/docs/Mozilla/Add-ons/SDK/Tutorials/Modifying_the_Page_Hosted_by_a_Tab", "tags": [], "summary": "Para modificar la p\u00e1gina web activa, se carga uno o mas scripts de contenido dentro de ella usando el m\u00e9todo attach()
del objeto tab. El trabajo de estos scripts es interactuar con el contenido de la web.", "localization_tags": ["inprogress"], "locale": "es", "last_edit": "2015-09-02T07:54:03", "review_tags": []}, {"uuid": "7abb4df7-8319-4386-a425-07bf8562b267", "title": "Modificando a P\u00e1gina Aberta em uma Tab", "url": "/pt-BR/docs/Mozilla/Add-ons/SDK/Tutorials/Modifying_the_Page_Hosted_by_a_Tab", "tags": ["Add-on SDK"], "summary": "Para modificar uma p\u00e1gina armazenada em uma tab em particular, carregue um ou mais scripts de conte\u00fado dentro dela usando o m\u00e9todo attach() do objeto tab. A tarefa desses scripts \u00e9 interagir com o conte\u00fado web.", "localization_tags": [], "locale": "pt-BR", "last_edit": "2015-07-31T12:40:14", "review_tags": []}, {"uuid": "40b179d5-893b-496c-a7c0-841eaad60385", "title": "\u4fee\u6539\u6807\u7b7e\u9875\u4e2d\u9875\u9762", "url": "/zh-CN/docs/Mozilla/Add-ons/SDK/Tutorials/Modifying_the_Page_Hosted_by_a_Tab", "tags": ["Add-on SDK"], "summary": "\u4e3a\u4e86\u4fee\u6539\u7279\u5b9a\u6807\u7b7e\u9875\u4e2d\u7684\u9875\u9762, \u53ef\u4ee5\u4f7f\u7528 tab
\u5bf9\u8c61\u7684attach()
\u65b9\u6cd5\u52a0\u8f7d\u4e00\u4e2ascript\u811a\u672c\u5230\u9875\u9762\u4e2d\u3002\u56e0\u4e3a\u4ed6\u4eec\u7684\u5de5\u4f5c\u662f\u548cWeb\u5185\u5bb9\u8fdb\u884c\u4ea4\u4e92\uff0c\u6240\u4ee5\u8fd9\u4e9b\u811a\u672c\u88ab\u79f0\u4e3acontent scripts(\u5185\u5bb9\u811a\u672c)\u3002", "localization_tags": [], "locale": "zh-CN", "last_edit": "2015-04-26T09:13:19", "review_tags": []}], "modified": "2016-08-29T11:33:01", "label": "Modifying the Page Hosted by a Tab", "localization_tags": [], "locale": "en-US", "id": 86017, "last_edit": "2016-02-09T08:40:48", "summary": "To modify the page hosted by a particular tab, load one or more content scripts into it using attach()
method of tab object. The job of these scripts is to interact with web content.", "sections": [{"id": "Quick_Links", "title": null}, {"id": "Keeping_Content_Scripts_in_a_Separate_File", "title": "Keeping Content Scripts in a Separate File"}, {"id": "Loading_several_content_script_files", "title": "Loading several content script files"}, {"id": "Communicating_With_the_Content_Scripts", "title": "Communicating With the Content Scripts"}, {"id": "Injecting_CSS", "title": "Injecting CSS"}, {"id": "Learning_More", "title": "Learning More"}], "slug": "Mozilla/Add-ons/SDK/Tutorials/Modifying_the_Page_Hosted_by_a_Tab", "review_tags": []}