r3wp [groups: 83 posts: 189283]
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

World: r3wp

[Plugin-2] Browser Plugins

Rebolek
6-Feb-2007
[1891]
Maxim, Local Settings is hidden folder and that's why you haven't 
found the file I think.
Maxim
6-Feb-2007
[1892]
aha !!  thanks!
Terry
26-Feb-2007
[1893]
Hmm, every demo I've tried using a fresh install has issues of some 
type or another.. trying to decide if this this is alpha, or beta 
at best?
Oldes
26-Feb-2007
[1894]
I would say, that current plugin is still in alpha version
Maxim
26-Feb-2007
[1895]
has anyone succeeded in embeding the plug within a div which is persistent 
 or resident in some way (like in another frame, or something) so 
that browsing the same page twice actually just shows the previously 
launched plugin (so as to not have to actually restart it everytime...) 
???


I guess this is not just rebol pluging related, as the same effect 
would be desired for a flash based plugin too.
Oldes
26-Feb-2007
[1896]
I'm not sure if understand what do you want. If you want to leave 
page and come back without stopping plugin inside the page - it's 
not possible
Maxim
26-Feb-2007
[1897x2]
is there a way to store web content in another frame and swap it 
on demand?
Its been a long time since I've played with javascript... so I'm 
not only rusty, I'm shut. ;-)
Izkata
26-Feb-2007
[1899]
Hmm....  You could probably just store it in a string and swap it 
in and out of a DIV tag.  Usually much easier than messing with frames.....
Chris
26-Feb-2007
[1900]
Yep, just use -- document.getElementById('mydiv').innerHTML = mystring;
Maxim
9-Mar-2007
[1901]
is the proxy issue something that can be patched via mezz or is this 
really something that has to be done within the binary/
Pekr
9-Mar-2007
[1902]
no, it can't imo ...
Maxim
9-Mar-2007
[1903]
I hope that Carl sees all this nonsense and that he understands, 
that unless he can employ 10 full time programmers... he has to make 
all of this open source and relinkeable like python. (even if the 
core interpreter is closed)  99% of bugs are not related to it.
Pekr
9-Mar-2007
[1904]
hmm, actually I re-read my private exchange with Josh, and it seems 
Rebol detects proxy itself, if manual proxy config is set.
Maxim
9-Mar-2007
[1905]
yet more hope in R3
Pekr
9-Mar-2007
[1906]
Maybe the trouble was, that plug-in tried to connect before such 
code was applied during boot, dunno ...
Maxim
9-Mar-2007
[1907x3]
yes its possible, the boot sequence of REBOL seems a bit hard to 
manipulate...
having had some little thing done by carl for me resulted in no change 
of the startup really.. (the special encap version)
I really wanted interactive dos shell session...  :-(  but that meant 
a little bit more code to detect if we where *in* a dos prompt already 
and doesn't seem trivial as per Carl's explanations.
Pekr
9-Mar-2007
[1910]
proxy detection happens in get-net-info ... right after Rebol boot 
...
Maxim
9-Mar-2007
[1911]
which checks the registry of IE right?
Pekr
9-Mar-2007
[1912]
source get-net-info
Maxim
9-Mar-2007
[1913]
get-reg is used everywhere... depending on the def browser.
Pekr
9-Mar-2007
[1914x2]
registry functions are unset imo after the boot, because of security 
reasons. The question is - if View can detect proxy automatically, 
why plug-in can't.
not patching this simple issue was a bit of mistake imo ... community 
could put xy interesting demos online. But it is not worth it, if 
99% of corporate ppl are behind the proxy.
Maxim
9-Mar-2007
[1916x3]
yes. RT is good at giving solutions, but lacks vision into market 
needs.
so they give out the good solution for the wrong market  and such 
details get placed low, when in reality, they are primordial... just 
like the interactive DOS sessions, and stupid current directory issue 
under DOS, which renders Encap virtually useless in many conditions.
but if the client is doing internal work, he can set the proxy manually 
no?  and in this case the plugin works?
Pekr
9-Mar-2007
[1919]
I checked some older discussions, and it seems you can place user.r 
into Sandbox dir. The trouble is, I can't find it right now, as it 
changed in latest plug-in incarnation :-) Will try at home ...
Louis
6-May-2007
[1920]
Did the plug-in ever get finished?
Gregg
6-May-2007
[1921]
There is a 2.6.2 release that doesn't say "Beta" on it, but I don't 
know if that qualifies, as there may still be some issues, depending 
on how you want to use it. I'm using it, knowing there are limitations.
Louis
6-May-2007
[1922]
I want to use it to show a narrated slide presentation on my web 
site. Can it safely be used for that?
Gregg
6-May-2007
[1923]
I haven't used sound in it, but a slideshow should be safe. If you 
already have a desktop version of the app, it should be easy enough 
to set up a page to try it under the plugin.
Louis
7-May-2007
[1924]
Thanks, Gregg. As soon as I can find time, I'll try to get it to 
work.
xavier
13-May-2007
[1925]
the plugin version i used wasnt the good one for the demo on the 
site, but i could use the chat on compkarori.  Can someone tell me 
how much version of the plugin exists and wich is the last stable 
one ?
Oldes
18-May-2007
[1926x3]
as there is missing doc.. how should be placed the plugin2 object 
on the page?
My old remake of even older dockimbel's remake - R-box game is online 
again... http://box.lebeda.web/~hmm/rbox2/
and because it took me some time... there is this important difference, 
if you center faces inside plugin:
;system/version == 2.6.2.3.1

center-face: func [
    obj [object!]
    /with face [object!]
][
    if none? face [face: system/view/screen-face]
    obj/offset: max 0x0 face/size - obj/size / 2 + face/offset
    obj
]

;system/version == 2.7.5.3.1
center-face: func [

    {Center a face relative to parent (screen for windows) or a sibling 
    face.}
    obj [object!]
    /with "Center relative to a sibling face." face [object!]
][

    if none? face [face: any [obj/parent-face system/view/screen-face]]

    obj/offset: max 0x0 face/size - obj/size / 2 + either with [face/offset] 
    [0x0]
    obj
]
Rebolek
18-May-2007
[1929]
it's http://box.lebeda.ws/~hmm/rbox2/
Oldes
18-May-2007
[1930x2]
ech.. yes
and it's probably know problem, that Rebol plugin is not using browsers 
proxy settings
Pekr
18-May-2007
[1932x2]
hey, this little game works for me here ...
I did not expect it ... so we don't have proxy here ... hmm ... the 
proxy problem is a pity, because other than that, we could already 
use plug-in ...
Rebolek
18-May-2007
[1934]
Pekr are you also able to post score online?
Oldes
18-May-2007
[1935x4]
maybe I could connect it with my chat server:]
and have multiplayer rooms... but... still waiting for R3 first
anyway it's quite interesting that I can drag the window across all 
the web space... this is not possible with Flash (without JS calls)...
there is just a problem that if I drag the window outside, there 
is no chance to get i back... only reload:)
Pekr
18-May-2007
[1939x2]
I just tried, yes, it works ...
heh, the window drag - interesting consequence :-)