I just created this Snippet to add the hidden file attribute using the Firefox Addon SDK API. I basically read the current file attributes, check if the file is already hidden and if not set the hidden attribute while keeping the other file attributes.
Recently i needed a Java Array of all Languages, containing some unique id.
These days Youtube was revamped (at least the update arrived in germany too) and i was instantly annoyed by the left aligned design.
I wrote a super small greasemonkey script to fix it, and thought maybe somebody wants it too.
Have fun with it:
// ==UserScript== // @name Center that damn youtube (for 1920x1080) // @namespace / // @version 0.1 // @description centers youtube.com on screens with resolutin 1920x1080 // @match *youtube.com* // @copyright 2012+, You // @require http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js // ==/UserScript== jQuery('#page-container').css('margin', '0 0 0 300px');