Add missing files
authorBernie Innocenti <bernie@codewiz.org>
Wed, 8 Apr 2009 23:19:11 +0000 (01:19 +0200)
committerBernie Innocenti <bernie@codewiz.org>
Wed, 8 Apr 2009 23:19:11 +0000 (01:19 +0200)
AmigaCheckmark.ico [new file with mode: 0644]
AmigaCheckmark_favicon.png [new file with mode: 0644]
GuruMeditation.js [new file with mode: 0644]

diff --git a/AmigaCheckmark.ico b/AmigaCheckmark.ico
new file mode 100644 (file)
index 0000000..954fef3
Binary files /dev/null and b/AmigaCheckmark.ico differ
diff --git a/AmigaCheckmark_favicon.png b/AmigaCheckmark_favicon.png
new file mode 100644 (file)
index 0000000..efcfe96
Binary files /dev/null and b/AmigaCheckmark_favicon.png differ
diff --git a/GuruMeditation.js b/GuruMeditation.js
new file mode 100644 (file)
index 0000000..0f783a9
--- /dev/null
@@ -0,0 +1,25 @@
+<script language="JavaScript" type="text/javascript">
+// Copyright 2008, 2009 Bernie Innocenti <bernie@codewiz.org>
+//
+// FIXME: The following JS snippet is harder to pass than ACID 3
+
+var guru = document.getElementById('guru');
+
+// Firefox 2.0 doesn't take border-color, but returns border-top-color fine
+var color = document.defaultView.getComputedStyle(guru,null).getPropertyValue('border-top-color');
+
+function guruOn() {
+       guru.style.setProperty('border-color', color, '');
+       setTimeout('guruOff()', 1000);
+}
+function guruOff() {
+       guru.style.setProperty('border-color', '#000000', '');
+       setTimeout('guruOn()', 1000);
+}
+// Safari 2.0 returns this rgba crap
+// Konqueror 3.5.6 doesn't seem to support computed properties
+if (color && color != 'rgba(0, 0, 0, 0)') {
+       //window.alert("enabled! color='" + color + "'");
+       guruOn();
+}
+</script>