This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Test navigator</title> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | |
</head> | |
<body> | |
<script type="text/javascript" src="internet_explorer_version.js"></script> | |
<body> | |
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*! eraser.css 2012-01-20T12:53 UTC - http://github.com/necolas/eraser.css */ | |
/* | |
* TODO?: | |
* :after, :before, :first-letter, :first-line | |
* any other critical proprietary properties (within reason) | |
*/ | |
.x-widget, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function(){ | |
// UTILS | |
var capslocked = function( event ) { | |
// UTILS | |
var key_handler = function( event ) { | |
// UTILS | |
var random_value = function( min, max ) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name BetterRunKeeper | |
// @description Add kilometer speed to RunKeeper | |
// @id me.zilliox.BetterRunKeeper | |
// @homepageURL http://userscripts.org/scripts/show/128831 | |
// @supportURL http://userscripts.org/scripts/discuss/128831 | |
// @updateURL http://userscripts.org/scripts/source/128831.meta.js | |
// @version 2012.03.21 | |
// @author tzilliox | |
// @namespace http://zilliox.me |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
window.onload = function(){ | |
Compass = { North:1, South:2, Est:4, West:8 }; | |
var move = function(step) { | |
dir = []; | |
if (step & Compass.North) dir.push('North'); | |
else if (step & Compass.South) dir.push('South'); | |
if (step & Compass.Est) dir.push('Est'); | |
else if (step & Compass.West) dir.push('West'); | |
document.write( step + ': ' + dir.join(' ') + '<br/>' ); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
window.onload = function(){ | |
Compass = { North:131, South:56, West:224, Est:14 }; | |
var move = function(step) { | |
dir = []; | |
var pow = Math.pow( 2, step); | |
if ( pow & Compass.North ) dir.push('North'); | |
if ( pow & Compass.South ) dir.push('South'); | |
if ( pow & Compass.Est ) dir.push('Est' ); | |
if ( pow & Compass.West ) dir.push('West' ); | |
document.write( step + ': ' + dir.join(' ') + '<br/>' ); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
a { | |
} | |
a:hover { | |
background-color: #F5F2F0; | |
} | |
a:before { | |
content: 'coco '; | |
} | |
a.absolute:before { | |
position: absolute; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name BetterThoughtBoxes | |
// @description Improve thoughtboxes UI | |
// @id me.zilliox.BetterThoughtBoxes | |
// @homepageURL http://userscripts.org/scripts/show/135446 | |
// @supportURL http://userscripts.org/scripts/discuss/135446 | |
// @updateURL http://userscripts.org/scripts/source/135446.meta.js | |
// @version 2012.06.07 | |
// @author tzilliox | |
// @namespace http://zilliox.me |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | |
<title>How to detect the Data-Uri support in javascript</title> | |
<link href="no-data-uri.css" media="screen" rel="stylesheet" type="text/css" /> | |
</head> | |
<body> | |
<script type="text/javascript" src="no-data-uri.js"></script> | |
<body> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.test { | |
height: 139px; | |
width: 96px | |
} |