Here's a small collection of bookmarklets for disecting your own (or other people's!) websites. They do things like, show all TABLE elements with a red border, hide non-link images, and so on.
I'm assuming people know what bookmarklets are, and how to install them? Please say if not, and I'll post instructions.
I'm also open to suggestions, and I'd love to see other people's ...
__________________
"Why bother with accessibility? ... Because deep down you know that the web is attractive to people who aren't exactly like you." - Joe Clark
Last edited by brothercake; 03-18-2003 at 09:24 PM..
Ya, can you help me install these? I'm kinda new to javascript.
Ok, kidding aside, I didn't write this one, but it's a view-source bookmarklet that does syntax highlighting! Interesting indeed. If it doesn't work after copy-pasting, let me know, I may need to upload it as a text-file.
I'm seeing some special characters that are unidentified, eg
"$1"
As for installing them - well the file I posted you can just import with "Bookmarks > Manage Bookmarks > File > Import" in moz, and "File > Import and Export" in IE
To make you new ones you start with an empty bookmark - like "about:blank" and any name, and then edit its properties - change the name, and write the syntax like inline javascript:
javascript:var something=function();void(null);
where void(null) stops it from trying to open a new document. It doesn't have to be null - you can go void('your message here');
__________________
"Why bother with accessibility? ... Because deep down you know that the web is attractive to people who aren't exactly like you." - Joe Clark
I've noticed that after a certain length in only works in mozilla. So for big ones, presumably it's better to create an element and call a remote script?
__________________
"Why bother with accessibility? ... Because deep down you know that the web is attractive to people who aren't exactly like you." - Joe Clark
Last edited by brothercake; 03-19-2003 at 12:58 AM..
Originally posted by brothercake I've noticed that after a certain length in only works in mozilla. So for big ones, presumably it's better to create an element and call a remote script?
For some reason, IE6 introduced a limit of characters (500 or smthg like that) for bookmarklets, so it literally cuts the script
__________________
Don't resist to assimilation. Billions of Borgs can't be wrong!
__________________
"Why bother with accessibility? ... Because deep down you know that the web is attractive to people who aren't exactly like you." - Joe Clark
most of the ones that i have, are things that most people could put together themselves. Change Text Color, Change Background Color, Remove Background Picture, Whois This Site, Toggle Images' Visibility, things like that.
I'm working on one that will list all the javascript functions on the page, and let you kill any you don't want to run, and one that will translate the page you're looking at.
Originally posted by brothercake Here's a small collection of bookmarklets for disecting your own (or other people's!) websites. They do things like, show all TABLE elements with a red border, hide non-link images, and so on.
couldnt you do that with a user stylesheet? *feeling dumb*
Originally posted by cg9com couldnt you do that with a user stylesheet?
Yeah, just as easily; but this is convenient because it's a link - ergo, a button on the toolbar rather than something I have to go to preferences to change
__________________
"Why bother with accessibility? ... Because deep down you know that the web is attractive to people who aren't exactly like you." - Joe Clark
There's a mozilla add-on that might interest you, called ContextMenu Extensions. With it you can add custom stylesheets and javascripts to the context menu, create local javascripts and stylesheets for single pages or domains, and a lot more. In fact, it's one of the more useful mozilla add-ons, as is the Tabbrowser Extionsions from the same source. Those two, checky and optimoz mouse gestures are the basic must-haves for mozilla.