9

我正在尝试找到一种方法为 Google Chrome 创建一个快捷方式,该快捷方式将在多个选项卡中打开多个特定网页。现在,我正在使用 Google Chrome 桌面快捷方式和命令行开关来完成此操作,但效果不佳。我现在在目标文本框中有这行代码(右键单击快捷方式>属性>目标文本框):

C:\Users\ComputerName\AppData\Local\Google\Chrome\Application\chrome.exe --new-window --incognito "http://URL1" "http://URL2"

这几乎完全符合我的要求。谷歌浏览器会在一个新的隐身窗口中打开,其中的 URL 位于单独的选项卡中。除了,还有一个大问题。目标文本框只允许非常有限数量的字符。我需要在多个选项卡中打开多个 URL,很可能是 8 个或更多。我所有的 URL 都不适合目标文本框。

最重要的是,该--disable-images开关似乎不适用于 Windows 7。我想禁用图像以及 Java 和 Flash,以在打开这么多选项卡时提高性能。


那么,如何获得在新的隐身窗口中打开 Google Chrome 的快捷方式,其中多个选项卡转到多个不同的网站 (URL)?

最好禁用图像,并可能禁用 Java 和 Flash。(请记住,此快捷方式可以是 .bat 文件或类似文件。)

4

2 回答 2

5

打开记事本并输入:

@echo off
start www.thewindowsclub.com
start www.bing.com
start www.google.com

在上述情况下,所有三个站点都将在您的默认浏览器中打开。

If you want the different links to open in different browsers, you can specify the browser as follows:

@echo off
start iexplore http://www.iot.qa/
start chrome http://www.iot.qa/
start firefox http://www.iot.qa/

Here the three links will open separately in the browsers specified.

After everything above is done, we now need to save the Notepad file. So click File > Save As. Then users will need to enter a file name; it can be anything, as long as it contains .bat at the end. For this to happen, click the drop-down menu that says “Text Document” and click “All Files.” Rename the file and add the .bat and hit save.

于 2018-02-27T13:32:35.223 回答
4

编写一个批处理文件并让它说:

@echo 关闭

启动 chrome -incognito “URL1” 启动 chrome -incognito “URL2”

确切的步骤显示在此视频中:

http://www.youtube.com/watch?v=m6toSwPewo8

于 2013-12-22T03:05:53.007 回答