简体   繁体   中英

How do I show a blank page in Safari?

In Firefox I can type about:blank in the URL and it opens a blank page. I can then open the console in Firebug and test adding elements and so on. How can I do this in Safari? I tried about:blank and it did not load at all though the network said it was loading something (30 seconds and no response). I then tried opening a new tab but Web Console was grayed out and would not allow me to edit the page.

I would like to test JavaScript on a blank page in Safari.

You can do something like this. You can set safari to always open a blank page at first.

Safari preferences / General tab

New window opens with: choose Empty Page

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM