离线谷歌浏览器扩展 [英] Offline google chrome extensions

查看:216
本文介绍了离线谷歌浏览器扩展的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我管理一个离线的工作站网络。
  • 我已经写了一个chrome扩展,需要在浏览器中才能运行我们的webapp。

  • 我已经通过chrome存储发布了它(但未公开)
  • >


    问题
    $ b


    • 如何在没有互联网的情况下安装此扩展程序



    我尝试过:




    • Windows GPO:要求更新网址 http://clients2.google.com/service/update2/crx

    • Windows注册表:相同的URL问题

    • 解包的扩展名:提示用户,需要开发者工具,并在重新启动chrome时禁用扩展名。

    • 安装crx:重新启动chrome时禁用扩展名。


    其他想法或者解决这个问题的方法?
    Chrome版本为48。

    解决方案

    我可以通过执行以下操作在常规Chrome安装中执行此操作: / p>


    1. 以crx格式下载扩展程序 - 如何从Chrome网上商店下载给定id的crx文件

    2. 解压缩crx文件

    3. 我必须将_metadata文件夹重命名为元数据

    4. 打开Chrome扩展页面

    5. 启用开发者模式

    6. 点击加载解压缩后的扩展名...

    7. 选择解压后的文件夹

    当我需要安装高级REST客户端时,这对我有用。


    Background:

    • I manage an offline network of workstations.
    • I have written a chrome extension that needs to be in the browser for our webapp to function
    • I have published it through the chrome store (but not made it public)

    Question:

    • How do I install this extension without the internet

    What I've tried:

    • Windows GPO: Requires the update URL to be http://clients2.google.com/service/update2/crx
    • Windows Registry: same URL problem
    • Unpacked extensions: prompts users, requires developer tools, and disables the extension when chrome is restarted.
    • install crx: disables the extension when chrome is restarted.

    Any other ideas, or ways around this? Chrome version 48.

    解决方案

    I was able to do this on a regular chrome installation by doing the following:

    1. Download the extension in crx format - how to download a crx file from the chrome web store for a given id
    2. Unzip the crx file
    3. I had to rename the _metadata folder to metadata
    4. Open the chrome extensions page
    5. Enable Developer mode
    6. Click "Load unpacked extension..."
    7. Select the unzipped folder

    This worked for me when I needed to install Advanced REST client.

    这篇关于离线谷歌浏览器扩展的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

    查看全文
    登录 关闭
    扫码关注1秒登录
    发送“验证码”获取 | 15天全站免登陆