Source language: Translate to:

I Need a WebBrowser Address Bar

Questions and information about creating Internet aware NeoBook applications. Including PHP, HTML, FTP, HTTP, Email, etc.

Moderator: Neosoft Support

I Need a WebBrowser Address Bar

Postby fkapnist » Mon Dec 29, 2014 1:54 pm

Does anyone have a working example of a WebBrowser address bar? In the sample PUB I download from Neosoft, the address bar (or TextEntry1) remains blank.
If I send [WebBrowser1Addr] to the address bar I get not only the website URL but all of the iframes (mostly Google and Facebook ads) within that website.

Is there a way to filter out those URLs?

Also, in YouTube I don't get the actual video address but a "Google-Ad" URL that causes a new page to load over the current video while its sound continues to play in the background...

All the extra iframe URLS and "about:blank" pages are embedded within the parent website document.
In Javascript an iframe interacts with its parent URL through "parent.location"
Can't Neobook get a parent location and send only that URL to the address bar?


---------------------

Here is a sample PUB

http://www.verticalbrowser.com/zips/Web%20Browser%20AddrBar.zip

based on the instructions from Gaev here (http://www.neosoftware.com/community/viewtopic.php?f=1&t=20519&p=11215544#p11215544)

It seems to work ok... but if you go to YouTube and click the thumbnails at the right side bar, sometimes the address bar URL is not the actual video location...



:?:

.
User avatar
fkapnist
 
Posts: 348
Joined: Mon Nov 17, 2014 4:24 pm
Location: Greece

Return to NeoBook and the Internet

Who is online

Users browsing this forum: No registered users and 1 guest