Userscripts and Userstyles

Userscripts and Userstyles allow you to alter any webpage by executing custom JavaScript or evaluating custom CSS when the page loads. Set this up in the Userstyles window by selecting the Window→Userscripts (⌃⌘U) main menu item. From there, add your custom JavaScript or CSS along with a URL pattern for which it should be matched.