Hacker News new | past | comments | ask | show | jobs | submit login

read the comment from infomanXP in the disqus comment plugin.

Dear webmaster. This website looks good. I am able to read the contents very well, see the links and navigation menu. Everything is fine but ...

I was watching a fan made trailer and got bored, so i switched to the next trailer. Unfortunately the trailer that i switched from was still playing when i started the next one. I had to go back to the old one and manually switch it off.

Because I am a lazy person and don't like to go back to switch things of, i made a robot ...

1) I jQueryfied your website 2) I put this code in the console 3) I start a trailer 4) I switch to the next trailer 5) Me gusta, old trailer not playing :-)

Please consider to tune your javascript in a similar fashion.

The code:

var old = jQuery('.gallery-slide.selected'); var oldhtml = jQuery(old).html();

jQuery('.gallery-thumbnail').live('click',function(){ jQuery(old).html(oldhtml); old = jQuery('.gallery-slide.selected'); oldhtml = jQuery(old).html(); });

with kind regards http://www.linkedin.com/profile/view?id=14032676

Iwan Uswak




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: