谷歌浏览器扩展和批量命令 [英] Google chrome extension and batch command

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

问题描述

是否可以通过Google Chrome扩展程序执行批量命令?我试过这个,但谷歌浏览器似乎崩溃。

Is it possible to execute a batch command through Google Chrome Extension? I have tried this but Google Chrome seems to crash.

推荐答案

Theres没有办法从chrome / extensions执行批处理文件/可执行文件为这将是一个巨大的安全风险。你能做这种事情的唯一方法就是制作一个插件。也就是说,有一个扩展插件,可以让你从chrome执行某些事情......

http://www.chromeextensions.org/other/simple-get/

请注意,这可能非常危险,您应该将其设为专用插件,并且使用清单版本2来尝试和保护自己和用户。另外,如果Google不允许将扩展程序使用到他们的图库中,那么对您自己的个人使用很有帮助。

Theres no way to execute batch files/executables from chrome/extensions as this would be a massive security risk. The only way your going to be able to do such a thing is by making a plugin. That said, there is an extension with a plugin that allows you to execute something from chrome...
http://www.chromeextensions.org/other/simple-get/
Be aware that this can be extremely dangerous and you should make it a private plugin and use manifest version 2 to try and protect yourself and your users. Also, dont be surprised if Google doesnt allow an extension that uses this into their Gallery, good for your own personal use tho.

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

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