Monolith插件简介
🌹 这个应用程序可以在 ChromeFK 或 Google Chrome 网上应用商店进行下载。 ChromeFK上的所有插件扩展文件都是原始文件,并且 100% 安全,下载速度快。
Monolith插件描述
Monolith of Web is a Chrome extension pted from CLI tool [Monolith][1]. Monolith is a CLI tool to download a web page as static single HTML file. Monolith of Web provides the same functionality as a browser extension by compiling Monolith (written in Rust) into WebAssembly. ## Usage 1. Go to a web page you want to ste 2. Click Monolith of Web icon in a browser bar (above popup window will open) 3. Click Get Monolith button 4. Wait f the process completing 5. The generated single static HTML file is sted in your downloads folder By toggling icons at bottom of the popup window, you can determine to not to include followings in the generated HTML file. JavaScript CSS `` Images The button at rightbottom toggles if allow CORS request not. Please read following Permissions section CORS Requests in Background Page section f me details. ## Permissions **Required permissions** `activeTab`: This extension gets an HTML text a page title from the active tab to generate a monolith `stage`: This extension remembers the last state of toggle buttons at bottom in the popup window. **Optional permissions** `http://*/*` `https://*/*`: Allow any crossigin requests in background page. This is runtime permission so this extension does not require by default. **Only when you see a broken HTML file is generated due to CORS err in background page, please enable this option.** The reason of these permissions are explained in next CORS Requests in Background Page section. ## CORS Requests in Background Page This extension generates a single HTML file in background page of Chrome extension. Since CSP in a content script is not applied in a background page, some resources in contents HTML cannot be fetched in background page. By default, this extension ignes CORS errs in background page. It is usually not a problem since resources protected by CSP are usually scripts which dont affect main content. But a broken single HTML page may be generated due to CORS errs. When you see a broken page due to the CORS err in background page, please enable allow CORS requests button at rightbottom in the popup window. Permission dialog will appear to require permissions f sending CORS requests in background page. After accepting it, CORS request err is disabled all resources should be fetched with no err. After generating a single HTML file with the runtime permissions, this extension will remove the permissions as soon as possible f security. [0]: https://github.com/rhysd/monolithofweb [1]: https://github.com/Y2Z/monolith [2]: https://www.youtube.com/watch?v=xBIrFlYE1W0
Monolith插件离线安装方法
1.首先用户点击谷歌浏览器右上角的自定义及控制按钮,在下拉框中选择设置。
2.在打开的谷歌浏览器的扩展管理器最左侧选择扩展程序或直接输入:chrome://extensions/
3.找到自己已经下载好的Chrome离线安装文件xxx.crx,然后将其从资源管理器中拖动到Chrome的扩展管理界面中,这时候用户会发现在扩展管理器的中央部分中会多出一个”拖动以安装“的插件按钮。
4.下载 MonolithChrome插件v0.1.3版本到本地。
5.勾选开发者模式,点击加载已解压的扩展程序,将文件夹选择即可安装插件。
注意:最新版本的chrome浏览器直接拖放安装时会出现“程序包无效CRX-HEADER-INVALID”的报错信息,参照这篇文章即可解决
©软件著作权归作者所有;本站所有软件均来源于网络,仅供学习使用,请支持正版!
转载请注明出处:chromefk非官方中文站 » Monolith