No, there isn’t another function.
The resizeTo
method is disabled by default in several browsers, and I know that it can also be manually disabled in Firefox.
It has been widely misused, so most browser vendors feel that it should be disabled, or at least a user controllable option.