safari无法退出_Safari,退出前警告
safari无法退出
I’m a browser hopper.
我是浏览器料斗。
I use a browser for too many hours a day and sometimes I just have to change browser, just to try something new.
我每天使用浏览器的时间太多了,有时我只需要更换浏览器,就可以尝试一些新的东西。
Today it was the turn of Safari.
今天轮到Safari了。
I like Safari, a lot. It’s light, no-frills, and very fast.
我非常喜欢Safari。 它轻巧,简洁,快速。
However, while opening a new tab with cmd-W I accidentally pressed cmd-Q, quitting the browser.
但是,在用cmd-W打开新标签页时,我不小心按下了cmd-Q,退出了浏览器。
Chrome and Firefox provide a nice, optional confirmation dialog when trying to close them:
在尝试关闭它们时,Chrome和Firefox提供了一个不错的,可选的确认对话框:
Safari does not have it.
Safari没有。
So I re-mapped the cmd-Q to cmd-option-Q.
因此,我将cmd-Q重新映射为cmd-option-Q。
Here’s how I did it: open System Preferences, and click Keyboard:
这是我的操作方法:打开系统偏好设置,然后单击键盘:
Click Shortcuts, then App Shortcuts:
单击快捷方式,然后单击应用程序快捷方式:
Add a new shortcut, choose Safari and call the Menu Title “Quit Safari”, and add the new shortcut:
添加新的快捷方式,选择Safari并调用菜单标题“退出Safari”,然后添加新的快捷方式:
There it is:
那里是:
Since this has the same title of the existing Quit Safari menu, the shortcut will now change:
由于它具有与现有Quit Safari菜单相同的标题,因此快捷方式现在将更改:
No more accidental quitting.
没有更多的意外退出。
Download my free JavaScript Beginner's Handbook, and check out my premium React/Vue/Svelte/Node/Next.js courses!
下载我免费的JavaScript初学者手册 ,并查看我的高级React / Vue / Svelte / Node / Next.js课程!
safari无法退出