|
阅读:2203回复:5
请教这两个功能,现在有无相关扩展可以完成,新建IE打开当前URL,定制功能按钮
FF升级太快,貌似扩展作者也跟不上了.....
以前用coustom buttons2这个扩展的时候,可以写一个按钮脚本,“把FF的当前URL在新建IE窗口里面打开”,可以直接把URL作为参数传递给iexploer.exe了, 现在附加组件上搜索的coustom buttons2已经无法在较新的版本上运行了,修改xpi也不行,不知道有无替代? ps:coustom buttons2确实是好东西.... |
|
|
1楼#
发布于:2015-07-28 16:02
|
|
|
2楼#
发布于:2015-08-06 01:36
手势就可以
|
|
|
3楼#
发布于:2015-08-06 08:58
|
|
|
|
4楼#
发布于:2015-08-06 09:11
我说这扩展我正在用楼主怎么说不兼容了呢……仔细看看才想起,已经进化成新的扩展了:
Toolbar Buttons 1.1 :: Codefisher.org https://codefisher.org/toolbar_button/ 还可以自定义需要哪些按钮: Custom Toolbar Button Maker :: Codefisher.org https://codefisher.org/toolbar_button/toolbar_button_maker/ ……遗憾的是没有在IE打开的按钮,也不能进一步自定义。 想要在IE打开的话,2楼提供的选择中,Open in IE 提供了工具栏按钮: https://addons.mozilla.org/en-US/firefox/addon/open-in-ie/?src=search Open With 提供了多种按钮且可以不同浏览器打开: https://addons.mozilla.org/en-US/firefox/addon/open-with/?src=search 想要自定义按钮的话,Custom Buttons 提供了自己添加代码创建按钮的功能: https://addons.mozilla.org/en-US/firefox/addon/custom-buttons/?src=search |
|
|
|
5楼#
发布于:2015-08-06 09:37
FireGestures 开启当前页面手势
IE const IE_PATH = "C:\\Program Files\\Internet Explorer\\iexplore.exe";
var file = Cc["@mozilla.org/file/local;1"].createInstance(Ci.nsILocalFile);
file.initWithPath(IE_PATH);
if (!file.exists()) {
alert("File does not exist: " + IE_PATH);
return;
}
var process = Cc["@mozilla.org/process/util;1"].createInstance(Ci.nsIProcess);
try {
var args = [window.content.location.href];
process.init(file);
process.run(false, args, args.length);
}
catch (ex) {
alert("Failed to execute: " + IE_PATH);
}
Chrome const Chrome_PATH = "C:\\Program Files (x86)\\Google\\Chrome\\Application\\chrome.exe";
var file = Cc["@mozilla.org/file/local;1"].createInstance(Ci.nsILocalFile);
file.initWithPath(Chrome_PATH);
if (!file.exists()) {
alert("File does not exist: " + Chrome_PATH);
return;
}
var process = Cc["@mozilla.org/process/util;1"].createInstance(Ci.nsIProcess);
try {
var args = [window.content.location.href];
process.init(file);
process.run(false, args, args.length);
}
catch (ex) {
alert("Failed to execute: " + Chrome_PATH);
}
UC 脚本 链结右键选单 在Chrome or IE 开启 ( _addmenu.js 修改去掉其它只留这2个 ) _addmenu.rar |
|