Tuesday, May 11, 2010

Closing Desktop Notifications on a Timer

So, one of the few things about Chrome’s desktop notifications I’ve been
trying to figure out is how to close them on a timer, and it finally came to me.

This
timer will only activate when the notification is opened, and will close the notification even if the page
that originally spawned it has been closed.

Create and Show a new HTMLNotification.


[codesyntax lang="html4strict"]<!DOCTYPE html>
<html>

<head>
<title>Notification Title</title>

<style type="text/css">
body,body* { font-family: sans-serif; font-size: 10pt; }

h1 { font-family: sans-serif; margin: 0; padding: 0; font-size: 12pt; font-weight: bold; }
p {
margin: 0; padding: 0; }
</style>
</head>
<body
onload="setTimeout(self.close,5000)">
<h1>Notification Title</h1>

<p>Notification Text</p>
</body>
</html>[/codesyntax]


That
will close the window after five seconds and will look just like a normal notification! :D



What
I learned is: Notification Windows respond to the javascript method self.close()

Thursday, May 6, 2010

Stop, @HotDogCollars. You’re doing it wrong.

Man oh man oh man.  To be honest, this is something @Scobleizer or
@davewiner should cover/bitch-about, not me.  You’ve got a local business in Florida, trying to do
the Web 3.0 thing, but you know what?  They’re doing it wrong.


Go ahead, look at their twitter page (but only for a second).  You notice how all of their
posts are from Facebook, and only contain links?  Yeah.  They’re doing Twitter wrong (but
I have many, many more beefs with them than just their twitter page).

First, let me
briefly describe my situation with these people.  I purchased something they said they could do. 
Turns out they couldn’t do it (after not replying for like a month or two).  I ask for a refund in
that case.  Nothing happens, none of my emails get returned (for like ANOTHER month or two). 
I write a horrible review for the company on Facebook (wasn’t the only one), consider reporting them to the
BBB, etc.  Nothing happens (for like another month or so).  I get an email from Facebook,
they commented on my review, I immediately got help via email and I got my return via Paypal.

Then,
I go back to update the review I gave them (I was going to add a star, to give them 2/5 for at least paying
attention), and I found out something that made me wish I could give them 0/5 stars.

The
Facebook Review Tab had been REMOVED
.

This company went out of its way to
disable user-created discussions in the discussion tab, remove the review tab, and block users from posting
anything on their wall.

Please, Stop.  You’re doing it WRONG.


I don’t know what else to say.. how could you possibly be doing something so horribly wrong?

Sunday, May 2, 2010

Open Letter to Dave Winer

I know you invented RSS and all that, but please, please
stop raping your feed.

I do not like getting this every couple of weeks, or days.. I
don’t know, I have no concept of time, but this isn’t the first time its happened.

href="http://tech.gtaero.net/wp-content/uploads/2010/05/image.png">image src="http://tech.gtaero.net/wp-content/uploads/2010/05/image_thumb.png" width="500" height="200" />

Please?