These forums are CLOSED. Please visit the new forums HERE
Opening URL in SL Browser |
|
Richard Meiklejohn
Registered User
Join date: 15 May 2006
Posts: 45
|
10-10-2008 08:22
I've scripted my media screen to automatically open the displayed page in a browser using llLoadURL() when touched. Despite the fact that my defaults are to use the in-viewer browser, and clicking on links in chat opens the in-viewer browser, llLoadURL() always uses the external browser. Have I missed something?
|
Ron Khondji
Entirely unlike.
Join date: 6 Jan 2007
Posts: 224
|
10-10-2008 08:39
Don't ask me why but it is designed to do that.
Edit: Found this on Sloodle: For SLClient 1.20, the llLoadURL function is being changed to only support the external browser. (See VWR-7034). Apparently, the internal browser has been breaking too many webpages (e.g. involving JavaScript, Flash, or multiple windows), so the decision was made to reduce its use. This is a shame, because the Sloodle configuration worked almost perfectly (except for a couple of minor form glitches on Linux). So what can we do? Well, if we wait, then LL might make a new version of the llLoadURL function which lets you select which browser to use (in code or in the UI, see VWR-4843). However, I'm not holding my breath for that! It is still possible to open the internal browser by using a URL clicked in the chat/IM window though, so we could make objects awaiting configuration llOwnerSay the URL either just before, or instead of, launching a llLoadURL dialog. This approach has the advantage of eliminating script delay (llLoadURL delays the script by at least a couple of seconds). However, it is less obvious, as people will have to open their chat history window to see a clickable link, because the regular chat displays links as plain text. |
Alicia Sautereau
if (!social) hide;
![]() Join date: 20 Feb 2007
Posts: 3,125
|
10-10-2008 10:31
about that delay
i just send it to another script using linked message as it`s only purpose is to avoid delaying the main script as messages are queued, all url`s are loaded after each delay (untill they break that...) |
Richard Meiklejohn
Registered User
Join date: 15 May 2006
Posts: 45
|
10-11-2008 05:56
Thanks Ron. I'll stop trying to puzzle it out then
![]() |
Very Keynes
LSL is a Virus
Join date: 6 May 2006
Posts: 484
|
10-11-2008 08:42
Isn't it moving to webkit too at some point? As an addicted User of Goggle Chrome, which has been open sourced and uses webkit, I hope they follow that route, especially as they already use Goggle code for the search functionality. _____________________
House of Keynes http://slurl.com/secondlife/Seopophang/237/151/104
![]() Romantica Yacht Club http://slurl.com/secondlife/Jeffrey/58/227/26 Salsa Romantica http://slurl.com/secondlife/Seopophang/77/91/94 |
Jesse Barnett
500,000 scoville units
![]() Join date: 21 May 2006
Posts: 4,160
|
10-11-2008 09:18
As an addicted User of Goggle Chrome, which has been open sourced and uses webkit, I hope they follow that route, especially as they already use Goggle code for the search functionality. Ditto Holy Crap! It was going through my mind that the only thing that keeps Chrome from being the perfect browser was the inability to use GreaseMonkey. Well guess what? I just searched one more time and someone has come out with GreaseMetal!!! WOOHOO! http://asiajin.com/blog/2008/09/10/greasemetal-google-chrome-greasemonkey/ _____________________
I (who is a she not a he) reserve the right to exercise selective comprehension of the OP's question at anytime.
I am still around, just no longer here. See you across the aisle. Hope LL burns in hell for archiving this forum |
Very Keynes
LSL is a Virus
Join date: 6 May 2006
Posts: 484
|
10-11-2008 09:37
Thanks Jesse, great find, installing now
![]() _____________________
House of Keynes http://slurl.com/secondlife/Seopophang/237/151/104
![]() Romantica Yacht Club http://slurl.com/secondlife/Jeffrey/58/227/26 Salsa Romantica http://slurl.com/secondlife/Seopophang/77/91/94 |
Pedro McMillan
SLOODLE Developer
Join date: 28 Jul 2007
Posts: 231
|
10-12-2008 11:25
Let's hope that the ability for the HTML-on-a-prim to capture keyboard and mouse input comes along soon! We've got a very basic version of that as a SLOODLE side-project (free and GPL, as always): http://www.sloodle.org/browser It's not been updated to use the lovely new "llDetectedTouch*()" functions yet... but hopefully will be at some point. At the moment, there's a prim-mouse that you drag about, then touch it to click on links and form elements etc.. You type chat messages on channel 3 to enter form data, and when you've done so, the page refreshes to show what you've entered. To visit a specific URL, you type it on channel 2. Alas the browser breaks on complex pages, or any page with JavaScript errors (which accounts for more than half the web!)... but as you can see from our demo screenshots on the above site, you can do stuff like Google searches with it. ![]() |
Richard Meiklejohn
Registered User
Join date: 15 May 2006
Posts: 45
|
10-17-2008 03:21
That's very cool Pedro. And of course with llDetectedTouch things will get more interesting too. Thanks
|