# Stupid javascript trick

**URL:** <https://boards.straightdope.com/t/stupid-javascript-trick/387237>\
**Category:** Miscellaneous and Personal Stuff I Must Share\
**Created:** [January 9, 2007, 1:33am UTC](https://boards.straightdope.com/t/stupid-javascript-trick/387237 "2007-01-09T01:33:32Z")\
**Posts on this page:** 4\
**Page:** 2

<div class="post-metadata">

**Author:** ![slortar](https://avatars.discourse-cdn.com/v4/letter/s/6bbea6/32.png) [@slortar](https://boards.straightdope.com/u/slortar)\
**Post date:** [January 9, 2007, 2:13pm UTC](https://boards.straightdope.com/t/stupid-javascript-trick/387237/21 "2007-01-09T14:13:06Z")

</div>

The beautiful thing about it is that the images that are links remain links. I see potential for real abuse in that. 🙂

---

<div class="post-metadata">

**Author:** ![AHunter3](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/ahunter3/32/368_2.png) [@AHunter3](https://boards.straightdope.com/u/AHunter3)\
**Post date:** [January 10, 2007, 1:01pm UTC](https://boards.straightdope.com/t/stupid-javascript-trick/387237/22 "2007-01-10T13:01:16Z")

</div>

[QUOTE=myskepticsight]  
Safari made everything move around in circles. 'Twas odd.  
[/QUOTE]

How’d you do it? I’m in Safari and nothing happens. Copied the code, removed the linebreak, pasted into the URL bar @ top, hit return…beep, nada.

---

<div class="post-metadata">

**Author:** ![ReuvenB](https://avatars.discourse-cdn.com/v4/letter/r/9fc348/32.png) [@ReuvenB](https://boards.straightdope.com/u/ReuvenB)\
**Post date:** [January 10, 2007, 2:36pm UTC](https://boards.straightdope.com/t/stupid-javascript-trick/387237/23 "2007-01-10T14:36:48Z")

</div>

Is the pattern supposed to be a sine wave?

---

<div class="post-metadata">

**Author:** ![MrSquishy](https://avatars.discourse-cdn.com/v4/letter/m/b9e5f3/32.png) [@MrSquishy](https://boards.straightdope.com/u/MrSquishy)\
**Post date:** [January 10, 2007, 8:28pm UTC](https://boards.straightdope.com/t/stupid-javascript-trick/387237/24 "2007-01-10T20:28:32Z")

</div>

Oh god. This + Firefox with [greasemonkey](http://greasemonkey.mozdev.org/) + document.onLoad() = a sweet practical joke on the wife! 😃

[Previous page](https://boards.straightdope.com/t/stupid-javascript-trick/387237.md?page=1)
