8 thoughts on “Dive Into Legibility”

  1. Here you go:

    // ==UserScript==
    // @name Dive Into Legibility
    // @namespace http://philwilson.org/
    // @description Dive Into Legibility
    // @include http://diveintomark.org/*
    // ==/UserScript==

    (function() {
    var style = document.createElement(‘style’);
    style.setAttribute(‘id’, ‘gmrc’);
    document.getElementsByTagName(‘head’)[0].appendChild(style);
    document.getElementById(‘gmrc’).sheet.insertRule(‘#container {width: 90% !important; padding: 0px !important; padding-right: 10% !important;}’, 0););

    })();

  2. ha! I hadn’t thought you’d actually do it!

    > .sheet.insertRule

    ooh, I’ve not seen that before, how very exciting! It’s not often someone shows me something new 🙂

  3. although in fact, isn’t there a GM_addStyle() ? Along with the !important declarations, that should also work. Something like:

    // ==UserScript==
    // @name Dive Into Legibility
    // @namespace http://philwilson.org/
    // @description Dive Into Legibility
    // @include http://diveintomark.org/*
    // ==/UserScript==

    GM_addStyle(“#container { width: 90% !important; padding: 0 !important; padding-right: 10% !important; }”);

  4. > isn’t there a GM_addStyle()
    There’s a who what now? Now you’ve shown me something new. I really must fix my mail server and start reading the list again. And more carefully.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.