Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
是否可以只允许用户从右下角调整浏览器窗口的大小?我正在使用window.onresize = function () {};,但用户可以从任何一侧调整窗口大小。我想限制它,只允许它从右下角
window.onresize = function () {};
可以用 JavaScript 实现解决方案吗?