ejecting the cd drive with html

Discussion about the creation of websites in general, HTML, PHP, Java.

ejecting the cd drive with html

Postby fishpoo222 on Thu Oct 27, 2005 11:41 am

some time ago coka cola put a page on their site which would eject the cd drive when a link was clicked does anyone know how this was done please could you post suggestions as I can see the potential for a few online practical jokes Laughing
Image
(\__/)
(='.'=) This is Bunny. Copy and paste bunny into your
(" )_(" ) signature to help him gain world domination.
fishpoo222
Regular
Regular
 
Posts: 104
Joined: Tue Oct 04, 2005 5:12 pm
Location: reigate,surrey,england

Postby mm_freak on Thu Oct 27, 2005 2:33 pm

Shouldn't be possible in normal case. Might be done with ActiveX, but that's a bad idea. Users would have to use the Internet Explorer (or another browser that supports it; i don't know of any), and activating it is a security risk, so most users won't do that. However, it's activated by default in Windows. Last but not least, users would have to acknowledge that your site is going to install something.

It might be possible with Java, but it shouldn't be. There is no other way to do it. Coca Cola might even have made use of a bug in some browser to do that. I don't know.

Short answer: Usually it's not possible. If it is, don't do it.
I'm x^10 + x^8 + x^5 + x^4 + x^3 + 1, so don't mess with me!
mm_freak
Moderator
Moderator
 
Posts: 635
Joined: Sun Sep 11, 2005 12:29 pm
Location: Baden-Wuerttemberg (Germany)

Postby krod on Thu Oct 27, 2005 7:01 pm

it was only possible with the later version of IE
I went to the woods because I wished to live deliberately, to front only the essential facts of life, and see if I could not learn what it had to teach, and not, when I came to die, discover that I had not lived.-Thoreau
User avatar
krod
Phoenix Veteran
Phoenix Veteran
 
Posts: 616
Joined: Thu Mar 10, 2005 4:03 am
Location: USA/Georgia

Postby mikey1090 on Mon Nov 28, 2005 5:42 pm

if so, that would be quite funny to put some html in an email, and let users eject their cd drives Very Happy
mikey1090
Newbie
Newbie
 
Posts: 14
Joined: Sat Nov 26, 2005 12:00 pm

this code exist

Postby kurubot on Mon Dec 05, 2005 3:03 am

this code exist??? is yes post they here, is interesting
kurubot
Newbie
Newbie
 
Posts: 15
Joined: Sun Dec 04, 2005 11:06 pm

Postby kento on Wed Dec 07, 2005 9:10 am

it existed, but now the new security patch of IE and other browser fixed it

try visit http://www.waxy.org/archive/2003/03/27/open_cdr.shtml
kento
Newbie
Newbie
 
Posts: 12
Joined: Tue Dec 06, 2005 1:50 pm

Postby bugalinux on Wed Dec 07, 2005 12:45 pm

May be using a vbs script like that :
http://groups.google.com/group/microsof ... af7c?hl=en

same inconvenient than activeX (download activeX confirmation by the ie user) : the execution of this script must be accepted by the ie user.
bugalinux
Contributer
Contributer
 
Posts: 52
Joined: Sat Aug 20, 2005 1:44 pm
Location: Paris

Postby mini on Fri Dec 09, 2005 12:24 am

kento wrote:it existed, but now the new security patch of IE and other browser fixed it

try visit http://www.waxy.org/archive/2003/03/27/opencdr.shtml

Heh, that is truly awesome. Very Happy

If they hadn't patched that, I'd put it in. Very Happy I know one of my visitors use's IE, and that would scare the crap out of her. Razz

Silly Microsoft! Surprised
mini
Contributer
Contributer
 
Posts: 24
Joined: Sat Dec 03, 2005 9:33 pm

Postby BlueFusionX on Sun Dec 11, 2005 8:47 pm

First of all HTML will not do it. It might be VBScript or java or gflash. HTML jsut does markup.
bluefusionx.com
Web and Software Development
wvance.com
The wVance Weblog
BlueFusionX
Newbie
Newbie
 
Posts: 18
Joined: Sun May 01, 2005 6:01 pm
Location: /usr/local/US/tennessee.sh

Postby mini on Sun Dec 11, 2005 11:59 pm

BlueFusionX wrote:First of all HTML will not do it. It might be VBScript or java or gflash. HTML jsut does markup.

Yea, we realized that, Bugalinux's link explains it using VBScript and WMP's API.
mini
Contributer
Contributer
 
Posts: 24
Joined: Sat Dec 03, 2005 9:33 pm

Postby ravenhair on Mon Dec 12, 2005 7:55 pm

he he he cute.

<SCRIPT LANGUAGE="VBScript">
<!--

Set oWMP = CreateObject("WMPlayer.OCX.7" )
Set colCDROMs = oWMP.cdromCollection

if colCDROMs.Count >= 1 then
For i = 0 to colCDROMs.Count - 1
colCDROMs.Item(i).Eject
Next ' cdrom
End If

-->
</SCRIPT>
ravenhair
Regular
Regular
 
Posts: 80
Joined: Tue Nov 08, 2005 5:51 pm

Postby kisiek on Mon Jan 09, 2006 9:48 pm

i show this script my friend and he is thinking now that i'm hacker Very Happy:D
kisiek
Newbie
Newbie
 
Posts: 5
Joined: Mon Jan 09, 2006 9:30 pm

Postby ingisk on Sun Feb 05, 2006 9:30 am

Wow, this is amazing, i've never thought that ejecting a CDrom with html was possible. It crashes for 5 seconds during the ejecting process though..
ingisk
Newbie
Newbie
 
Posts: 16
Joined: Sun Feb 05, 2006 12:01 am
Location: Vilnius, Lithuania

Postby fishpoo222 on Sun Feb 05, 2006 10:42 am

kisiek wrote:i show this script my friend and he is thinking now that i'm hacker Very Happy:D


and whats wrong with being a hacker? I posted this ages ago when i was just kiddie scripting but as soon as you have a little knowledge about the web you can make vartualy anything happen and whats even better is that its legal as long as you dont tresspass or do any damage
Image
(\__/)
(='.'=) This is Bunny. Copy and paste bunny into your
(" )_(" ) signature to help him gain world domination.
fishpoo222
Regular
Regular
 
Posts: 104
Joined: Tue Oct 04, 2005 5:12 pm
Location: reigate,surrey,england

Postby thebeast on Sun Feb 05, 2006 12:00 pm

I know about that open CD-Rom i got 2 CD-ROms and was one time fallowed link from friend droped and bOOm my CD-Rom's was opened :-D
Sarunas B.
Phoenix Network Still Alive!
(\__/)
(='.'=) This is Bunny. Copy and paste bunny into your
(" )_(" ) signature to help him gain world domination.
thebeast
Phoenix Veteran
Phoenix Veteran
 
Posts: 646
Joined: Wed Mar 23, 2005 1:20 pm
Location: Lithuania

Next

Return to General Webmastering

Who is online

Users browsing this forum: No registered users and 1 guest

cron