firefox - AutoHotKey 在私人窗口中打开 Firefox 的 url
问题描述
我是 autoHotkey 脚本的新手,如何在私人窗口中打开 firefox 上的某个 url?
这个脚本将在 Firefox 上打开 url。
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
; #Warn ; Enable warnings to assist with detecting common errors.
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
^f::
Run, C:\Program Files\Mozilla Firefox\Firefox.exe "github.com"
但是我怎样才能让它在私人窗口中打开呢?
解决方案
按 F1 在私密窗口中打开此页面:
F1:: Run, firefox.exe -private-window "https://stackoverflow.com/questions/61194402/autohotkey-open-url-on-firefox-in-private-window"
推荐阅读
- android - 如何为我的 Espresso Activity 测试提供自定义应用程序类?
- css - 跨越多列的列表条目之间的行
- reactjs - ReactJS 通过 cdn 导入模块
- visual-c++ - 从 Modbus 静态库继承基类会导致返回时堆栈指针无效,但直接使用基类时工作正常
- ios - 为什么在视图控制器被取消初始化并导致 SIGABRT 或 EXC_BAD_ACCESS 后观察者仍然活着?
- sql - 两个查询及其总和的差异
- machine-learning - 如何在 pytorch 基本示例中包含批量大小?
- apache-kafka - 首次启动的 Kafka 服务器和领导者故障阻塞消费者
- python - 在 Scikit-learn 的 LDA 实现中,“困惑度”(或“分数”)应该上升还是下降?
- macos - QtMac::toNSImage 架构 x86_64 的未定义符号