在没有手动安装的网页上部署Firebreath插件 [英] Deploying a Firebreath plugin on a webpage without manual installation

查看:194
本文介绍了在没有手动安装的网页上部署Firebreath插件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

最近,我一直在试验Firebreath,并开发了一个插件,以展示我的c ++项目在我的投资组合网站。我想让用户轻松地查看项目,而无需下载文件,如果他们是我的网站上的新。

Recently I have been experimenting with Firebreath and developed a plugin in order to showcase my c++ projects on my portfolio website. I would like to make it easy for users to look at the projects without downloading files if they are new on my website.

我目前唯一的问题是,当用户访问我的页面时,他们会收到一条消息,指示插件丢失。

The only issue I have at this point is that when users visit my page, they will receive a message indicating the plugin is missing. I would like to have an option for the users to automatically install my plugin without having to manually download and run it.

该插件主要针对Windows用户,因为用户可以自动安装我的插件,而不必手动下载并运行它。应用程序也是如此。我打算支持Google Chrome,Firefox,Internet Explorer。目前我使用的是MSI安装程序来安装插件。

The plugin is mainly targetted at Windows users, since the applications are as well. I intend to support Google Chrome, Firefox, Internet Explorer. Currently I am using a MSI installer to install the plugin.

我发现了一个问题类似于此,但我仍然需要保存MSI安装程序并运行它。

I have found a question similar to this, but I still needed to save the MSI installer and run it.

我的问题是:

推荐答案

没有办法自动做你想做的事情。我听到的最接近的是使用一个java小程序,将为他们下载并安装插件。这在Mac上可以是相当可靠的,但在Windows上远不太可靠(由于许多原因,其中许多Windows用户没有安装Java,默认情况下Chrome阻止java applet没有用户干预的事实)。

There isn't any way to "automatically" do what you want to do. The closest that I have heard of would be to use a java applet that would download and install the plugin for them. This can be pretty reliable on Mac but far less reliable on windows (for a number of reasons, among which the fact that many windows users don't have java installed and that Chrome blocks java applets by default without intervention by the user).

其他选项包括:


  • 创建CAB文件安装程序)

  • 创建用于打包插件的XPI Firefox扩展程序(需要重新启动浏览器,只能在Firefox上使用)

  • 创建CRX Chrome扩展程序该插件(仅适用于Chrome)

  • Microsoft ClickOnce通常用于从网页上单击安装MSI文件,但最近我认为它不适用于许多如果有)浏览器;

  • Creating a CAB file installer (only works on IE)
  • Creating a XPI firefox extension that packages the plugin (requires restarting the browser, only works on firefox)
  • Creating a CRX chrome extension that packages the plugin (only works on Chrome)
  • Microsoft ClickOnce used to work pretty well for one click installs of MSI files from a web page, but recently I think it doesn't work on many (if any) browsers; haven't seen it used in awhile, anyway.

没有自动安装插件的方式;这将被认为是一个严重的安全问题。这可能是插件非常常见的第​​一个原因。

There is no "automatic" way to install plugins; that would be considered a severe security issue. This is probably the #1 reason that plugins are as uncommon as they are.

这篇关于在没有手动安装的网页上部署Firebreath插件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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