javascript:void(document.onmousedown=ra)
Forms | Display Form Details
Forms | Make Form Fields Writable
click 'add to cart' button![]()
![]()
Of course, I would not really proceed through checkout with any cart created inappropriately, but it was fun to play with a little bit.
Ordinarily, I'd contact a company to let them know about a gaping security hole like this, but...
Monday, July 17, 2006
Name your own price on dental products
Posted by
spugbrap
at
11:04 AM
1 comments
Pointless, intentional browser crippling - why??
I was browsing an online store earlier, trying to find a certain orthodontic product that I didn't know the name of, when I finally found it.
There were no useful details about it on that site, though, so I just wanted to copy and paste the official product name into a google search. My efforts to do this simple task were denied, though, which confused and annoyed me.
I thought my Firefox may have been choking on the fact that I had a lot of windows and tabs open, but decided to view the source anyway. As it turns out, there was some javascript code (shown below) to intentionally [attempt to] prevent printing or text selection. WTF?!?
//Disable Printing
document.onselectstart=new Function('return false');
function ds(e){return false;}
function ra(){return true;}
document.onmousedown=ds;document.onclick=ra;
This was easy enough to defeat, though, by entering this in my location/address bar:
javascript:void(document.onmousedown=ra)
In IE, an additional step was required:
javascript:void(document.onselectstart=ra)
I'm not sure what they were trying to accomplish. All I wanted to do was research the product before buying it from them, but intentionally made that difficult for me, so I will not be purchasing anything from their store.
Posted by
spugbrap
at
9:26 AM
1 comments
Thursday, July 13, 2006
Batmobile drove by this morning...
I was on my way to work this morning, sitting at a traffic light, when
a huge Batmobile drove by. I wish I could have been stopped next to it
at a light, instead, because I was only able to catch a glimpse.
But I saw that it had all of the Batmobile trim, from front to back,
and it was pretty long. I'm guessing it's a novelty limousine or
something, but I have no idea where to find out. A couple google
searches didn't turn up any useful explanation for me.
I'd love to post a picture, but I don't have a cameraphone at the
moment, and even if I did, it all happened too fast. Just had to say
something, though, because that's just not something you see every
day.
Posted by
spugbrap
at
10:30 AM
1 comments
