Step 1-Open up your favorite website, app, anything that has windows.You should now have a frozen, half-minimized, fully functional window. You can scroll, type, and do anything you could do in the normal window. Some things might be a little wierd, but thats to be expected.
Step 2-Open up Terminal and type “killall Dock”, but don’t press enter. Keep that in the background for later.
Step 3- Hold in shift and click on the minimize button on the window you opened in Step 1.
Step 4- As the window is minimizing, quickly switch over to your Terminal window and press enter.