Chrome_Extention

时间:2021-05-05 12:59:32
【文件属性】:
文件名称:Chrome_Extention
文件大小:147KB
文件格式:ZIP
更新时间:2021-05-05 12:59:32
JavaScript Chrome_Expansion 创建Chrome扩展程序的记录。 popup.html(js) 打开弹出窗口时,将加载popup.html的popup.js。 弹出窗口可以在后台页面上调用函数,因此您不必将后台页面上的函数复制到弹出窗口中。 background.js(包括eventPage) 要在活动标签转换时执行:在chrome.runtime.onStartup.addListener注册 后台页面加载了扩展加载,并且始终在后台运行。 (=始终驻留在内存中。) 该事件页面在安装和启动时会像后台页面一样加载,但是经过一定时间后它将变为无效并释放内存。 后台页面与您当前正在查看的页面的DOM元素和内容脚本是隔离的。 使用getBackgroundPage背景页面的窗口对象,并执行backgroundFunction方法。 当后台页面无效时, runtime.getBackgrou
【文件预览】:
Chrome_Extention-main
----_myFirstExtension()
--------manifest.json(215B)
--------icon128g.png(938B)
--------ToggleIcon.js(54B)
--------hello.html(282B)
--------icon128.png(1KB)
----test06()
--------manifest.json(308B)
--------background.js(131B)
----test04()
--------manifest.json(204B)
--------event.js(716B)
----test05()
--------background.js(2KB)
--------manifest.json_Encode(624B)
--------content_scripts.js(3KB)
--------manifest.json_old(308B)
--------ページの最下部でアラート.html(2KB)
----test01()
--------manifest.json(176B)
--------content_scripts.js(93B)
----HelloExtention()
--------manifest.json(496B)
--------hello.html(73B)
--------hello_extensions.png(1KB)
----VideoPause()
--------manifest.json(367B)
--------background.js(2KB)
--------README.md(719B)
----ActTab_bgPurple()
--------manifest.json(328B)
--------background.js(1KB)
----Test Extention()
--------manifest.json(251B)
--------background.js(392B)
--------jquery-3.5.1.min.js(87KB)
--------myscript.js(122B)
--------popup.html(197B)
--------19px.png(144B)
----README.md(6KB)
----NextArticle.js(1KB)
----Getting Started Example()
--------manifest.json(752B)
--------background.js(804B)
--------images()
--------popup.html(255B)
----test_a()
--------manifest.json(303B)
--------content_script.js(121B)
----template()
--------img()
--------lib()
--------js()
--------html()
--------css()
----ActTab_toolTip()
--------manifest.json(410B)
--------background.js(1KB)
--------popup.html(13B)
--------bottom.js(184B)
----test08()
--------manifest.json(222B)
--------sample2.js(77B)
--------background.js(354B)
--------sample1.js(65B)
----test02()
--------manifest.json(346B)
--------icon128.png(1KB)
--------popup.html(476B)
----test03()
--------manifest.json(467B)
--------background.js(510B)
--------icon128.png(1KB)
--------popup.html(454B)
----ActTab_Extention()
--------manifest.json(392B)
--------background.js(618B)
--------alert.js(19B)
--------jquery-3.5.1.min.js(87KB)
--------myscript.js(122B)
--------bottom.js(184B)
----TestExtention()
--------TestExtention6()
--------Test Extention 7()
----test07()
--------manifest.json(384B)
--------content.js(197B)
--------popup.html(139B)
--------popup.js(322B)
----Open_the_next_article_at_the_bottom()
--------manifest.json(377B)
--------NextArticleAtBottom.js(4KB)
--------background.js(1KB)
--------README.md(1KB)

网友评论