michaelfox + customization 102
Hackasaurus
7 days ago by michaelfox
Hackasaurus makes it easy to mash up and change any web page like magic. You can also create your own webpages to share with your friends, all within your browser.
bookmarklets
html
jsconf
mozilla
customization
javascript
7 days ago by michaelfox
Kill Mac OS X Mouse Acceleration from the command line
5 weeks ago by michaelfox
Command Line Keyboard Shortcuts for Mac OS X
mouse
osx
tweaks
script
automation
customization
hacks
5 weeks ago by michaelfox
My lateral .conkyrc by ~rent0n86
july 2011 by michaelfox
That's my lateral .conkyrc
Instructions:
1. Copy the conkyrc file in your home folder and rename it to .conkyrc
2. Copy the ip.sh file in the .scripts folder inside your home folder.
Then you can change system information, font, font color, disks' name and path and so on...
Temperatures are the hardest part: you've got to have lm-sensors installed, hddtemp installed and running as a daemon and maybe to change some characters in the .conkyrc file.
My .conkyrc is just a modification of CONKY-colors by helmuthdu: [link]
Also the ip.sh script comes from there.
Enjoy! Comments much appreciated!
conky
linux
customization
Instructions:
1. Copy the conkyrc file in your home folder and rename it to .conkyrc
2. Copy the ip.sh file in the .scripts folder inside your home folder.
Then you can change system information, font, font color, disks' name and path and so on...
Temperatures are the hardest part: you've got to have lm-sensors installed, hddtemp installed and running as a daemon and maybe to change some characters in the .conkyrc file.
My .conkyrc is just a modification of CONKY-colors by helmuthdu: [link]
Also the ip.sh script comes from there.
Enjoy! Comments much appreciated!
july 2011 by michaelfox
Gridth Code
march 2011 by michaelfox
Safari Extension that will enable you to override stylesheets for any web page.
css
safari
customization
extension
march 2011 by michaelfox
Using jQuery Inside Your Firefox Extension :: GLUEinteractive
may 2010 by michaelfox
For a project at work we've been building a Firefox extension. It's slow, tedious work, with lots of time spent in the breakpointer functionality of Venkman. Thankfully Firefox extensions are basically javascript, and as I heard rumors of, you can embed jQuery inside of one.
How? Well it's quite simple. In your overlay.xul file, just include it like you would any other js file.
<script type="application/x-javascript" src="chrome://extensionname/content/jquery-1.2.6.min.js" />
Yup, that's it! Now you have access to all the usual jQuery functionality like element.click(), element.attr() and even the $.ajax calls, all within the scope of your extension. Thus, you can write extension code like this:
$('.toggle').attr('disabled', true);
Where it will select all XUL elements in your extension with the class toggle and set the disabled attribute to true.
If you want to have access to the browser DOM, you can access it via the document.defaultView attriute globally. Most times the defaultView variable is available inside of the event object if you've bound to one. Then, in order to effect the browser DOM, all you have to do is make use of the (often ignored) 2nd parameter of the $ function, the conext you'd like jQuery to work in.
In our case it's the browser's DOM. For example, to highlight all links on the page that are rel=nofollow, you just have to do this:
doc = document.defaultView;
jQuery("a[rel='nofollow']", doc).css({border: 'dotted 1px red', backgroundColor: 'pink'});
Now you have the power!
jquery
firefox
extension
javascript
plugins
addons
customization
How? Well it's quite simple. In your overlay.xul file, just include it like you would any other js file.
<script type="application/x-javascript" src="chrome://extensionname/content/jquery-1.2.6.min.js" />
Yup, that's it! Now you have access to all the usual jQuery functionality like element.click(), element.attr() and even the $.ajax calls, all within the scope of your extension. Thus, you can write extension code like this:
$('.toggle').attr('disabled', true);
Where it will select all XUL elements in your extension with the class toggle and set the disabled attribute to true.
If you want to have access to the browser DOM, you can access it via the document.defaultView attriute globally. Most times the defaultView variable is available inside of the event object if you've bound to one. Then, in order to effect the browser DOM, all you have to do is make use of the (often ignored) 2nd parameter of the $ function, the conext you'd like jQuery to work in.
In our case it's the browser's DOM. For example, to highlight all links on the page that are rel=nofollow, you just have to do this:
doc = document.defaultView;
jQuery("a[rel='nofollow']", doc).css({border: 'dotted 1px red', backgroundColor: 'pink'});
Now you have the power!
may 2010 by michaelfox
Add Custom Values To Your WordPress RSS Feed | Script & Style
may 2010 by michaelfox
WordPress creates two different feeds: a basic RSS feed and an Atom feed. Script & Style, like almost every other blog out there, uses FeedBurner to serve the syndication feed, and we chose to have FeedBurner use the Atom feed. In our experience, the Atom feed has been more stable and doesn’t cause problems in Google Reader like the basic RSS version does from time to time. Since we’re serving the Atom feed, we’ll need to modify the feed-atom.php file.
wordpress
rss
atom
customization
xml
feed
php
may 2010 by michaelfox
Places.frecency.(visit type)VisitBonus - MozillaZine Knowledge Base
april 2010 by michaelfox
Firefox 3 introduced a number of improvements to the Location Bar. Among them were changes to how sites are ordered in the dropdown menu. Firefox takes into account how frequently and how recently sites in the browser history were visited, combining them into a statistic called “frecency.” The frecency of sites is calculated when the browser is idle. The way frecency is computed can be tweaked by a number of preferences.
firefox
places
frecency
customization
awesomebar
tweaks
config
april 2010 by michaelfox
Flash Café » Blog Archive » From FlashDevelop to xCode : Duplicate Line
april 2010 by michaelfox
create a Dictionary file and customize your script very easily using the Mac OSX Key Binding documentation as a reference. Here’s what you do:
- Create a new .dict file in the following directory : home/Library/KeyBindings/PBKeyBinding.dict
Note : If the KeyBindings directory does not exist, you’ll need to create it.
mac
osx
keyboard
key
bindings
xcode
shortcuts
scripting
automation
customization
- Create a new .dict file in the following directory : home/Library/KeyBindings/PBKeyBinding.dict
Note : If the KeyBindings directory does not exist, you’ll need to create it.
april 2010 by michaelfox
28 Coolest Firefox About:Config Tricks :Stupid Site
november 2009 by michaelfox
You may have installed countless add-on in Firefox to enhance your using experience, but if you want to get the most out of Firefox, you really have to hack your way into the about:config.
about:config
mozilla
firefox
customization
tweak
hacks
settings
config
november 2009 by michaelfox
related tags
about ⊕ about:config ⊕ addons ⊕ adium ⊕ admin ⊕ ansi ⊕ apache ⊕ apple ⊕ applescript ⊕ apps ⊕ atom ⊕ automation ⊕ automator ⊕ awesomebar ⊕ bash ⊕ bindings ⊕ bookmarklets ⊕ browser ⊕ c ⊕ c++ ⊕ calendar ⊕ cgi ⊕ chrome ⊕ chromium ⊕ cli ⊕ clock ⊕ colloquy ⊕ color ⊕ colors ⊕ colorscheme ⊕ command ⊕ commandline ⊕ community ⊕ config ⊕ conky ⊕ css ⊕ custombuttons ⊕ customization ⊖ dashboard ⊕ debian ⊕ decals ⊕ defaults ⊕ delicious ⊕ design ⊕ desktop ⊕ developer ⊕ devops ⊕ distro ⊕ dock ⊕ dom ⊕ dotfiles ⊕ download ⊕ downloads ⊕ dropbox ⊕ editor ⊕ env ⊕ environment ⊕ escape ⊕ etc ⊕ example ⊕ extension ⊕ extensions ⊕ feed ⊕ finder ⊕ firefox ⊕ forum ⊕ forums ⊕ frecency ⊕ geeklet ⊕ geektool ⊕ git ⊕ github ⊕ gmail ⊕ google ⊕ googlereader ⊕ greasemonkey ⊕ growl ⊕ gtd ⊕ gui ⊕ hacks ⊕ highlighting ⊕ hotkey ⊕ howto ⊕ html ⊕ ical ⊕ icons ⊕ indexing ⊕ ini ⊕ inspiration ⊕ inspiration:dotfiles ⊕ install ⊕ iterm ⊕ javascript ⊕ jquery ⊕ jsconf ⊕ key ⊕ keyboard ⊕ keyboardmaestro ⊕ laptop ⊕ leopard ⊕ linux ⊕ mac ⊕ macbook ⊕ mail ⊕ marked ⊕ microsoft ⊕ mouse ⊕ mozilla ⊕ mysql ⊕ nerdtool ⊕ netbeans ⊕ netvibes ⊕ notifications ⊕ omnifocus ⊕ opensource ⊕ optimization ⊕ options ⊕ osx ⊕ performance ⊕ photoshop ⊕ php ⊕ php.ini ⊕ pinboard ⊕ places ⊕ plugin ⊕ plugins ⊕ productivity ⊕ profile ⊕ profiles ⊕ prompt ⊕ reader ⊕ reddit ⊕ reference ⊕ refsource ⊕ registry ⊕ resources ⊕ rss ⊕ safari ⊕ sample ⊕ script ⊕ scripting ⊕ scripts ⊕ search ⊕ server ⊕ services ⊕ settings ⊕ shell ⊕ shopping ⊕ shopt ⊕ shortcuts ⊕ signature ⊕ software ⊕ source ⊕ spotify ⊕ spotlight ⊕ ssh ⊕ stickers ⊕ styles ⊕ stylesheets ⊕ styling ⊕ sync ⊕ synchronization ⊕ sysadmin ⊕ terminal ⊕ textexpander ⊕ textmate ⊕ theme ⊕ themes ⊕ tips ⊕ toolbar ⊕ tools ⊕ transmission ⊕ tutorial ⊕ tutorials ⊕ tweak ⊕ tweaks ⊕ twilight ⊕ twitter ⊕ ubuntu ⊕ udf ⊕ ui ⊕ unix ⊕ userbars ⊕ userdefinedfunctions ⊕ userscripts ⊕ userstyles ⊕ utility ⊕ via:brettterpstra ⊕ wallpaper ⊕ wiki ⊕ windows ⊕ wordpress ⊕ xcode ⊕ xml ⊕ zsh ⊕Copy this bookmark: