I made this for cruels.net but thought I would post it here aswell 
It dynamically edits the runescape page to load up just the applet.
It dynamically edits the runescape page to load up just the applet.
Code:
Private Sub WebBrowser1_DocumentCompleted(ByVal sender As Object, ByVal e As System.Windows.Forms.WebBrowserDocumentCompletedEventArgs) Handles WebBrowser1.DocumentCompleted
WebBrowser1.Document.Body.InnerHtml = WebBrowser1.Document.All.Item("app").OuterHtml
WebBrowser1.Width = WebBrowser1.Document.All.Item("app").GetAttribute("width")
WebBrowser1.Height = WebBrowser1.Document.All.Item("app").GetAttribute("height")
End Sub
Private Sub WebBrowser1_Navigating(ByVal sender As Object, ByVal e As System.Windows.Forms.WebBrowserNavigatingEventArgs) Handles WebBrowser1.Navigating
If (e.Url.ToString = "http://www.runescape.com/") Then
e.Cancel = True
End If
End Sub
Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
WebBrowser1.Navigate("http://sl1.runescape.com/l1,p0,j1")
End Sub







