IE 是否有像 Chrome、FF、Safari 和 Opera 那样简单、由 javascript 驱动的扩展开发方法?

发布于 2024-12-12 14:32:08 字数 382 浏览 0 评论 0原文

在放弃广泛的谷歌搜索之前,我想我应该做最后的努力并在这里询问...

在 Chrome、Safari、Firefox 和 Opera 中 - 使用 javascript 编写浏览器扩展非常容易(以及每个浏览器的一些本机 javascript 函数)浏览器)...

我似乎找不到 IE 的等效项。我见过 Greasemonkey 的替代品 - 其中大多数只适用于非常简单的脚本。

IE9或10是否支持使用javascript而不是C等进行扩展开发?

我有一个在 FF、Chrome、Safari 和 Opera 中工作的相当大的扩展,如果它不意味着完全重写为不同的语言,我很乐意支持 IE,但我似乎找不到任何类型的扩展IE 相当于“内容脚本”或“用户 javascript”类型扩展...

Before giving up on my extensive googling, I thought I'd make a last ditch effort and ask here...

In Chrome, Safari, Firefox and Opera - it's very easy to write browser extensions using javascript (and some native javascript functions to each browser)...

I can't seem to find such an equivalent for IE. I've seen Greasemonkey replacements - most of which only work for very simple scripts.

Does IE9 or 10 support extension development using javascript, rather than C, etc?

I have a pretty large extension working in FF, Chrome, Safari and Opera that I'd be happy to support IE with if it didn't mean a complete rewrite into a different language, but I can't seem to find any sort of IE equivalent of a "content script" or "user javascript" type extension...

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

尾戒 2024-12-19 14:32:08

更新:

旧的 Crossrider 项目几年前就终止了,站点/域已经转移到(更糟糕的?)事情上。但话又说回来,IE 本身已经向前迈进了。

现在Tampermonkey 支持 Microsoft Edge 浏览器



旧的过时答案:

它不像 Greasemonkey 或用户脚本那么容易,但它也更强大。 您可以使用Crossrider< /a>(已存档链接)开发适用于 IE、Chrome 和 Firefox 的完整浏览器扩展。

Crossrider is 使用 javascript/jQuery 进行编码。

Update:

The old Crossrider project died a few years ago and the site/domain has moved on to (¿worser?) things. But then again IE itself has moved on.

But now Tampermonkey supports the Microsoft Edge browser.



Old obsolete answer:

It's not quite the ease of Greasemonkey or userscripts, but it's also more powerful. You can use Crossrider (archived link) to develop full-on browser extensions that work for IE, as well as Chrome and Firefox.

Crossrider is was coded with javascript/jQuery.

江挽川 2024-12-19 14:32:08

我相信IE的唯一选择是编写一个浏览器帮助对象,它是一个COM组件通常使用 C++ 开发,但也可以使用 .NET。换句话说,这将是一次彻底的重写。

I believe that the only option for IE is to write a Browser Helper Object, which is a COM component normally developed in C++ but it is also possible to use .NET. In other words, it would be a complete re-write.

白馒头 2024-12-19 14:32:08

BHO 是一团糟。

您可以使用 IE 加速器做一些事情。它们相对简单,但不如 Chrome 扩展那么强大。它们是 XML 驱动的,您可以从您自己的网站安装它们,或使用 Microsoft 的库。

这是一个关于创建一个的博客。
http://blogs.msdn.com/b/sudeepg/archive/2009/02/22/creating-a-custom-accelerator-for-internet-explorer-8.aspx

如果下一代 MS 浏览器能够使用 Chrome 和 Firefox 的扩展和应用技术,那就太好了。我的手指交叉。

BHOs are a mess.

You can do some things with IE Accelerators. They are relatively easy, but not as powerful as Chrome Extensions. They are XML driven, and you can install them from your own website, or use Microsoft's gallery.

Here is a blog on creating one.
http://blogs.msdn.com/b/sudeepg/archive/2009/02/22/creating-a-custom-accelerator-for-internet-explorer-8.aspx

It would be great, if the next MS browser would use some of the techniques Chrome and Firefox have for extensions and apps. My fingers are crossed.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文