Hi,
I am making a XUL runner application. The problem is that I can't load a webpage to the browser. I tried the src attribute but it doesn't work. This is the XUL file:
<?xml version="1.0"?>
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
title="My Web App"
id="webapp-window"
width="800"
height="600"
persist="screenX screenY width height sizemode">
<browser id="a_browser" flex="1" remote="true" src="http://www.google.es"/>
</window>
Loading webpage into browser from another process
-
- New Member
- Posts: 1
- Joined: February 15th, 2015, 2:16 pm
-
- Posts: 3664
- Joined: September 15th, 2010, 9:03 am
Re: Loading webpage into browser from another process
This may not be the best place to ask about XULrunner applications. As an addon developer, there are various ways to load a URL into a browser, at the most basic, the loadURI() method of the browser element itself is a wrapper for the more complex loadURIWithFlags().