javascript - Open window with specified width & height -


I am developing a safari extension and after clicking on a button I need to create a popup, Overlay Iframe But, the destination redirects the whole page, so I have been forced to use a popup.

"window.open () Javascript method can not be used to open a new tab and widow with a global HTML file, or instead, the global file and extension bars are used for Safari applications, Safari Braver windows and Safari brasseratab have access to classrooms, with their methods and properties, you can work with windows and tabs. "()

To open a window, you need Safari.APNP I can use the opiaprenobor (), but I can not find the documentation to specify the height / width of the window.

Can someone tell me in the right direction?

Thanks

I took a quick look through the Safari extension reference and It seems that when you call openBrowserWindow, you get the reference of SafariBrowserWindow which has an active tab property that gives you SafariBrowserTab reference SafariBrowserTab is a property that you can use to specify the URL to load.


Comments

Popular posts from this blog

Eclipse CDT variable colors in editor -

AJAX doesn't send POST query -

wpf - Custom Message Box Advice -