Skip to content Skip to sidebar Skip to footer

Is It Possible To Show Webpage In A Window From My Chrome Extension, Only Using Js, Html And Css?

I'm trying to develop a Google Chrome extension. When the user clicks the extension button, a small window will appear (not window.open / pop-up) and will display the web page. I h

Solution 1:

What you're looking for is called a popup. Check out the Chrome Extensions getting started tutorial for more info.

http://code.google.com/chrome/extensions/getstarted.html

The popup opens an HTML page and resizes to fit your content. So the simplest way to show an external url in a extension popup would be to place an iframe in your popup source:

<iframewidth="800"height="600"src="http://www.google.com"></iframe>

Post a Comment for "Is It Possible To Show Webpage In A Window From My Chrome Extension, Only Using Js, Html And Css?"