World: r3wp
[Plugin-2] Browser Plugins
older newer | first last |
Maxim 6-Feb-2007 [1868x2] | IIRC It was argued, that it would be too easy to make DOS attacks ... ex: loop 100000 [loop 10000000 [write/append %dos-attack.txt "1234567890"] |
(talking about file writing) | |
Volker 6-Feb-2007 [1870] | hmm. did not explore that far. |
Maxim 6-Feb-2007 [1871x2] | but if the plugin had a properties page, we could allow some scripts domains or ip addresses specific rights. all set to off by default. and all prefs values encrypted when saved of sent to registry, so that no virii or other nasty can allow its site to run unhindered. |
This would be in the intent where people develop internal apps and deploy them through the intranet... in such cases file access would be acceptible. | |
Volker 6-Feb-2007 [1873x2] | Yes, and simply restrict the filesize. Or better use an virtual filesystem, like a zip. |
thought that door was left open in the beta | |
Maxim 6-Feb-2007 [1875x2] | me too. |
but so far I am getting no results... and unless someone steps in to explain to me how I can write stuff out (read as gives me an example snippets which works on their machine)... I won't continue trying.... I've got other things to tackle first... and obviously in normal web dev, the server is the file store, so you'd speak to it using http get and post... so as long as you have access to adding hooks on the server too, you can work out a virtual disk system through your web server... more safe too. | |
Volker 6-Feb-2007 [1877x2] | yes,butmore slow too. |
hmm, through javascript you could use browser-cache. | |
Maxim 6-Feb-2007 [1879] | you can access the cache through javascript? write and read? |
Volker 6-Feb-2007 [1880] | you can call javascript and get back a string AFAIK. |
Maxim 6-Feb-2007 [1881] | do you know if we can properly resize the plugin size using javascript? or will in not refresh? |
Volker 6-Feb-2007 [1882x2] | i hope that still works. Andi hope javascript can read/write thru net. Or only with ajax&callback? |
do not know. I guess Chris knows. | |
Maxim 6-Feb-2007 [1884] | Chris? |
Volker 6-Feb-2007 [1885] | But byreloading a div? |
Maxim 6-Feb-2007 [1886] | I thought by setting the object's size properties through the DOM... I haven't tried. |
Volker 6-Feb-2007 [1887x2] | Our designer. Played a lot with the plugin IIRC. |
Havent tried too, so i dont know. | |
Oldes 6-Feb-2007 [1889x2] | Maxim, you can save files from plugin, I'm using it. |
The files are here: c:\Documents and Settings\your_user_name\Local Settings\Temp\REBOL\Plugin\ | |
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 [1916x2] | 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. | |
older newer | first last |