sumGirl
Mon Nov 13 12:21:00 CST 2006
Here we go, multiple commands from the address bar!:
vbscript:msgbox("test")&chr(58)&msgbox("test2")
Thanks for pointing me in the right direction Tom!
On Nov 13, 1:07 pm, "sumGirl" <emeb...@netscape.net> wrote:
> Cool, thanks Tom. Your right about that js script, its just a neat
> (debatable I guess) little thing that I had never seen before.
>
>
>
> Tom Lavedas wrote:
> > Strictly speaking, I think you are mistaken. IE does execute vbscripts
> > from the addressbar. For example, try this ...
>
> > vbscript:res=msgbox("This is a test"
>
> > It WILL display the message box, indicating that the script was indeed
> > executed.
>
> > However, I have failed to translate the particular script - mostly
> > because of my lack of understanding of what the it's suppose to do
> > (make an image move around in circles?) and partly because the VBS line
> > continuation character (colon) I expected to substitute for the JS
> > semicolon does not seem to have the same effect on the addressbar as it
> > does within a script.
>
> > Tom Lavedas
> > =============
> >
http://members.cox.net/tglbatch/wsh
>
> > bob m wrote:
> > > youre looking to convert a JS "trick" into vbscript, and IM the nitwit?
> > > to answer your question, no dumbass, it cant be done. because even in IE you
> > > cant run vbscript in the address bar.
> > > perhaps you should go learn the basics before you waste anyones time with
> > > your childish "tricks"
>
> > > "sumGirl" <emeb...@netscape.net> wrote in message
> > >news:1163430187.859349.189860@m7g2000cwm.googlegroups.com...
> > > > Why did you even bother responding? This is a vbscript forum
> > > > nitwit...My question had nothing to do with your browser specific
> > > > opinions.
>
> > > > bob m wrote:
>
> > > >> really not a "trick". its actually a simple javascript function.
> > > >> since IE is the only browser that would understand clientside VBScript,
> > > >> dont
> > > >> waste your time
>
> > > >> "sumGirl" <emeb...@netscape.net> wrote in message
> > > >>news:1163422065.890813.179230@m73g2000cwd.googlegroups.com...
> > > >> > Hey all, you might have seen this trick where you paste the code below
> > > >> > directly into your browser address bar for a cool effect. Is such a
> > > >> > thing possible with vbs?:
>
> > > >> > javascript:R=0; x1=.1; y1=.05; x2=.25; y2=.24; x3=1.6; y3=.24; x4=300;
> > > >> > y4=200; x5=300; y5=200; DI=document.getElementsByTagName("img");
> > > >> > DIL=DI.length; function A(){for(i=0; i-DIL; i++){DIS=DI[ i ].style;
> > > >> > DIS.position='absolute'; DIS.left=(Math.sin(R*x1+i*x2+x3)*x4+x5)+"px";
> > > >> > DIS.top=(Math.cos(R*y1+i*y2+y3)*y4+y5)+"px"}R++}setInterval('A()',50);
> > > >> > void(0);- Hide quoted text -- Show quoted text -