World: r3wp
[Plugin-2] Browser Plugins
older newer | first last |
Graham 24-Oct-2006 [1836x3] | so, this little server waits for commands, and then either browses to the required page in an iframe, or, opens up a new tab and puts the page there. |
What do people think? | |
rebol windowing system using the plugin http://www.timwylie.com/files/ros/ros.html | |
Maxim 24-Oct-2006 [1839] | that's pretty neat! |
Graham 24-Oct-2006 [1840x3] | the main test page for the plugin doesn't work, but this does http://www.rebol.net/plugin/tests/double.html |
Anyone know if it is possible to get the rebol plugin to cause the browser to navigate to another page. | |
In javascript this is done using window.open(), or window.location=(url) | |
Anton 24-Oct-2006 [1843] | There might be a way, but probably you can't rely on this technique, with browser security being what it is. |
Graham 24-Oct-2006 [1844] | and this is? |
Anton 24-Oct-2006 [1845] | I'm sorry, I don't know, just making the point that perhaps you shouldn't rely on this method. |
Graham 24-Oct-2006 [1846] | Just installed FF2 and the plugin still works. |
Anton 24-Oct-2006 [1847] | That's a good sign. |
Mchean 6-Dec-2006 [1848x2] | Need some assistance in running the plugin from Opera9 |
After installing what do I have to do next | |
Graham 6-Dec-2006 [1850x2] | Do any of the demos work? ( http://www.compkarori.com/reb/) is a working demo ... |
many of the existing demos don't work. | |
Mchean 7-Dec-2006 [1852x2] | thanks Graham that does work |
but you are right the other demos on the rebol site don't work | |
CharlesS 7-Dec-2006 [1854x2] | yea dont work for me either |
doesnt* | |
Graham 7-Dec-2006 [1856] | they are written for the earlier plugins |
Maxim 27-Jan-2007 [1857] | stupid questions... does current plugin allow us to access files and save out? (using file browser or not) |
Maxim 28-Jan-2007 [1858x3] | anyon can tell me how I can fix a web page containing a rebol plugin, so it detects the vertical size properly? |
do-browser "document.getElementById('REBOL').offsetHeight" in firefox returns 19 !! | |
sorry, DAMN CTRL-S reset again: do-browser "document.getElementById('REBOL').offsetHeight" in IE returns proper height, in firefox 2.x I get 19 | |
Oldes 28-Jan-2007 [1861] | try to use just .height |
Chris 28-Jan-2007 [1862] | Use Firebug to inspect which DOM properties give you the correct height... |
Maxim 6-Feb-2007 [1863x3] | talking about saving files in the plugin... I did a simple (very) test... rebol [] write %test.txt "test" |
ran that in the browser and then did a full disk search and I never found One file named test.txt :-( | |
reading seems to be ok... but not writing. | |
Volker 6-Feb-2007 [1866x2] | try a alert mold what-dir |
there is no linux-plugin :( | |
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? |
older newer | first last |