A Conversation for h2g2 FAQ: GuideML
- 1
- 2
What About VBScript?
Dark Master - The end is now (2005/03/01) Officially Left Started conversation Feb 3, 2004
I was wondering if you could use VBScript in your personal space, or is that not allowed because it is a script the same as JavaScript
What About VBScript?
Bob McBob Posted Feb 3, 2004
Any tags are automatically commented out by the server.
You also can't use <A HREF="javascript:...... or <LINK HREF="javascript:.... nor the vbscript: in links.
You can't even get away with the ONCLICK attribute.
However, I've just got to work (oncontextselect is right-click, or on macs, ctrl-click) - so you can use some of the obscure ones, though I don't advise it.
When including scripts, I put them in a link to another server (In this case, goecities) and run them from there, such as:
<./>http://www.geocities.com/bobthebluefish/scriptit.htm?alert$L$QBoo!$Q$R</.>
Bob McBob
What About VBScript?
Dark Master - The end is now (2005/03/01) Officially Left Posted Feb 3, 2004
if you use then it remembers it until another font overrides that, including between windows and webpages.
Just noticed that, might be a bug with IE, dont know, but i definitely wouldn't suggest useing it.
What About VBScript?
Bob McBob Posted Feb 3, 2004
Sorry, perhaps I should have said to include a tag....
And Sorry sorry, it was oncontextmenu, which should probably be in lowercase
But on a better note, include
; return false
at the end of the script to supress the actual menu that appears.
Others are ondblclick, onblur, onfocus, onscroll (for text-box or overflow:auto style), onmousedown, onmouseup, onmouseover and onmouseout, (or onmouseenter and onmouseleave), onmousemove
There are others, which work with special items, such as the window, document, body objects, and also form fields.
Bob
The full code I used was:
something click me something else
What About VBScript?
Dark Master - The end is now (2005/03/01) Officially Left Posted Feb 3, 2004
so basically anything but onclick
What About VBScript?
Bob McBob Posted Feb 3, 2004
I've gone through seeing which work:
Out of the list above, these work:
ONDBLCLICK="alert()" ONBLUR="alert()" ONFOCUS="alert()" ONSCROLL="alert()" ONMOUSEUP="alert()" ONMOUSEENTER="alert()" ONMOUSELEAVE="alert()" ONMOUSEMOVE="alert()" ONCONTEXTMENU="alert()"
The others are removed by the server, and I don't advise using mouseenter or mouseleave, as these only work with IE 5&6.
Obviously, you can't use the ones for window, document or body.
Look at the test page... A2260711 (<./>test2260711</.>
What About VBScript?
Dark Master - The end is now (2005/03/01) Officially Left Posted Feb 3, 2004
so onmouseup is like onclick, except when they let go, that would work, i would have thought the server sould have just denied any javascript events
What About VBScript?
Dark Master - The end is now (2005/03/01) Officially Left Posted Feb 3, 2004
this conversation is sure to magically disappear with moderation messages in its place before long
What About VBScript?
Bob McBob Posted Feb 3, 2004
Just what do you want to do with all this scripting power anyway...?
What About VBScript?
Dark Master - The end is now (2005/03/01) Officially Left Posted Feb 3, 2004
Nothing really, just curious, Why did i create a task manager when the school disabled ours? Why did i make an encryption program when i've got nothing to hide? Just to amuse myself and see if i could probably
What About VBScript?
Bob McBob Posted Feb 3, 2004
http://www.geocities.com/bobthebluefish/scriptit.htm?window.showHelp$L$Qhttp://www.h2g2.com$Q,,$Qfullscreen$Q$R
What About VBScript?
Bob McBob Posted Feb 3, 2004
Ooops, that should be
http://www.geocities.com/bobthebluefish/scriptit.htm?window.showHelp$L$Qhttp://www.h2g2.com$Q$R
What About VBScript?
Dark Master - The end is now (2005/03/01) Officially Left Posted Feb 3, 2004
I suppose this is off topic, but who cares
You can have my encryption program if you want, its totally secure and wont (hopefully) destroy files when you try to decrypt them witht the wrong password. if you have xp pro though you can probably already encrypt
What About VBScript?
Bob McBob Posted Feb 4, 2004
Destorys files when someone types the wrond password
Password> _
Wibble?
That is the wrong password. This computer will self destruct.....
What About VBScript?
Dark Master - The end is now (2005/03/01) Officially Left Posted Feb 4, 2004
i have fixed that bug now tho, it doesn't do it anymore
What About VBScript?
Bob McBob Posted Feb 4, 2004
Thank goodness, who knows what would happen if m1cr*$oft got hold of _that_ idea....
What About VBScript?
Dark Master - The end is now (2005/03/01) Officially Left Posted Feb 5, 2004
I decided what to do with my scripting power, i created a full search form on my page that opens in a new page, it even keeps the users skin choice. take a look if you want
What About VBScript?
Dark Master - The end is now (2005/03/01) Officially Left Posted Feb 5, 2004
yours isn't bad at all, and whats so bad about mine (its not that terible, is it?)
Key: Complain about this post
- 1
- 2
What About VBScript?
- 1: Dark Master - The end is now (2005/03/01) Officially Left (Feb 3, 2004)
- 2: Bob McBob (Feb 3, 2004)
- 3: Dark Master - The end is now (2005/03/01) Officially Left (Feb 3, 2004)
- 4: Bob McBob (Feb 3, 2004)
- 5: Dark Master - The end is now (2005/03/01) Officially Left (Feb 3, 2004)
- 6: Bob McBob (Feb 3, 2004)
- 7: Dark Master - The end is now (2005/03/01) Officially Left (Feb 3, 2004)
- 8: Bob McBob (Feb 3, 2004)
- 9: Dark Master - The end is now (2005/03/01) Officially Left (Feb 3, 2004)
- 10: Bob McBob (Feb 3, 2004)
- 11: Dark Master - The end is now (2005/03/01) Officially Left (Feb 3, 2004)
- 12: Bob McBob (Feb 3, 2004)
- 13: Bob McBob (Feb 3, 2004)
- 14: Dark Master - The end is now (2005/03/01) Officially Left (Feb 3, 2004)
- 15: Bob McBob (Feb 4, 2004)
- 16: Dark Master - The end is now (2005/03/01) Officially Left (Feb 4, 2004)
- 17: Bob McBob (Feb 4, 2004)
- 18: Dark Master - The end is now (2005/03/01) Officially Left (Feb 5, 2004)
- 19: Bob McBob (Feb 5, 2004)
- 20: Dark Master - The end is now (2005/03/01) Officially Left (Feb 5, 2004)
More Conversations for h2g2 FAQ: GuideML
Write an Entry
"The Hitchhiker's Guide to the Galaxy is a wholly remarkable book. It has been compiled and recompiled many times and under many different editorships. It contains contributions from countless numbers of travellers and researchers."