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 bm_popin( id ) { | |
this.id = id; | |
this.construct = function() { | |
var bm = document.querySelector( '#bm_popin' ); | |
if ( bm == null ) { | |
bm = document.createElement( 'div' ); | |
bm.setAttribute( 'id', 'bm_popin' ); | |
bm.setAttribute( 'style', 'position: fixed; bottom:10px; right: 10px; z-index: 9999; width: 200px; font-size: 12px; line-height: 16px; font-weight: normal; color: #EEEEEE; text-align: left;' ); | |
document.body.appendChild( bm ); | |
} |
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 HappyEzPublish | |
// @description Add some happyness to eZ Publish Back-Office | |
// @id me.zilliox.HappyEzPublish | |
// @homepageURL http://userscripts.org/scripts/show/120420 | |
// @supportURL http://userscripts.org/scripts/discuss/120420 | |
// @updateURL http://userscripts.org/scripts/source/120420.meta.js | |
// @version 2012.02.18 | |
// @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
bonzo_create = function (node) { | |
return typeof node == 'string' && node !== '' ? | |
function () { | |
// Add context values | |
var win = window | |
, doc = win.document | |
, html = doc.documentElement | |
, parentNode = 'parentNode' | |
, query = null |
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 GistBlocksLink | |
// @description Add a bl.ocks.org link on gist | |
// @id me.zilliox.GistBlocksLink | |
// @homepageURL http://userscripts.org/scripts/show/126410 | |
// @supportURL http://userscripts.org/scripts/discuss/126410 | |
// @updateURL http://userscripts.org/scripts/source/126410.meta.js | |
// @version 2012.12.20 | |
// @author tzi | |
// @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
// ==UserScript== | |
// @name GistBetterEdition | |
// @description Improve the Gist edition view : Allow indentation & Enlarge | |
// @id me.zilliox.GistBetterEdition | |
// @homepageURL http://userscripts.org/scripts/show/126461 | |
// @supportURL http://userscripts.org/scripts/discuss/126461 | |
// @updateURL http://userscripts.org/scripts/source/126461.meta.js | |
// @version 2012.07.12 | |
// @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
(function() { | |
// Attributes | |
var reg = new RegExp( '" id="([^"]*)"', 'g' ), | |
popin = new bm_popin( 1892731 ); | |
popin.title( 'myAnchor' ); | |
popin.text( 'Click on your page' ); | |
// Recursive function | |
function get_previous_node_id( node, parse ) { |
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 GistFilterTag | |
// @description Allow you to filter yours gist by tag | |
// @id me.zilliox.GistFilterTag | |
// @homepageURL http://userscripts.org/scripts/show/126558 | |
// @supportURL http://userscripts.org/scripts/discuss/126558 | |
// @updateURL http://userscripts.org/scripts/source/126558.meta.js | |
// @version 2012.02.24 | |
// @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
.container { | |
width: 960px; | |
margin: 0 auto; | |
} | |
label { | |
display: block; | |
} | |
input { | |
width: 500px; | |
} |
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> |