Bookmarklets

A number of little utilities you can put in your browser's favorites bar, just drag them up there.

Monochrome

Sometimes sites use a color scheme you don't like. Mono Light changes the page to black on white, with dark blue underlined links; Mono Dark changes the page to lightest-gray on darkest-gray, with light blue underlined links. You can edit the colors and font at the end if you have a different preference. Removing all stylesheets is possible, but it makes many sites unusable.

View Source

Adds a View Source option, which mobile browsers, and now Chrome, don't usually have. Displays HTML source and also plain text with all tags removed, which is useful for reading text in a giant blob of junk. Just reload the page to go back to normal view.

  • 📝View Source

  • Source (all the HTML in this requires the bookmarklet after javascript: to be URL-encoded):

javascript:{
document.documentElement.innerHTML=
'<head><title>View Source</title><style>textarea{font-size:16pt}</style></head>\n'+
'<body><p>Source of <a href=\''+location.href+'\'>'+location.href+'</a></p>\n'+
'<textarea rows=24 cols=80>\n<'+document.documentElement.nodeName+'>\n'+
(document.documentElement.innerHTML).replace(/\&/g, '&').replace(/</g, '<').replace(/>/g, '>')+
'\n</'+document.documentElement.nodeName+'>\n</textarea>'+
'<p>Plain text:</p>\n'+
'<textarea rows=24 cols=80>'+document.getElementsByTagName('BODY')[0].innerHTML.replace(/<[^>]*>/g, '')+
'</textarea>\n</body></html>\n';
}

Comments are closed.

To respond on your own website, enter the URL of your response which should contain a link to this post's permalink URL. Your response will then appear (possibly after moderation) on this page. Want to update or remove your response? Update or delete your post and re-enter your post's URL again. (Find out more about Webmentions.)

Mentions

  • All my little software tools, things that don't belong on the Software Gallery. BasicSS: Basic Games in Scheme. Bookmarklets: Little scripts to run in your…

  • Bookmarklets
    I just fixed a bug and re-uploaded these. They're little scripts that sit in a bookmark, like on your favorites bar, and do something useful to the web page. Monochrome Dark & Light change the page style; View Source puts source and plain text in boxes you can easily view and copy-paste from.

  • All my little software tools, things that don't belong on the Software Gallery.

    Learn2JS: Skeleton for quickly building JS applications. As close as modern tech can get to a BASIC "READY" prompt!

    Runes: Text filter to convert ASCII sequences into nice Unicode or emoji.

    Bookmarklets: Little scripts to run in your browser. Monochrome Dark & Light, and View Source.

    ThoughtPy: Markdown-based command-line note-taking tool.

    Utility/Filter: Text searching/filtering tool with Python scripting.

    ImageUtil: Java command-line image-processing utility.

    StupidComments.css: For Safari, a CSS stylesheet to hide stupid comments on the Internet. Unzip, read the instructions in the css file.
    Antique (old but usable):

    JICB 1.12: Cross-platform Java client for the ICB chat network, with a nice little scripting system.

    RealCalc: Just a sample Object Pascal program.

    ThoughtPad: Java note-taking tool.
    Obsolete (not usable):

    Notecraft: An Organized Note-Taking Tool for the iPad

    UnixTime: A clock for geeks!