Hiding textarea resize handle in Safari
You can override the resize behaviour with CSS: textarea { resize: none; } or just simply <textarea style=”resize: none;”>TEXT TEXT TEXT</textarea> Valid properties are: both, horizontal, vertical, none
You can override the resize behaviour with CSS: textarea { resize: none; } or just simply <textarea style=”resize: none;”>TEXT TEXT TEXT</textarea> Valid properties are: both, horizontal, vertical, none
By default tab-access is disabled in safari(!). To enable it, check “Preferences > Advanced > Press tab to highlight each item on a page”.
This works perfectly for me in both Chrome and Safari: <html><body><p>Test</p> <script>window.onbeforeunload = function() { return “Sure?”; }</script> </body></html> When I try to close the window, I get the prompt.
If you want to disable the same-origin policy on Safari (I have 9.1.1), then you only need to enable the developer menu, and select “Disable Cross-Origin Restrictions” from the develop menu.
The empty unload handler will not work anymore. Instead you can check the persisted property of the onpageshow event. It is set to false on initial page load. When page is loaded from bfcache it is set to true. Kludgish solution is to force a reload when page is loaded from bfcache. window.onpageshow = function(event) … Read more