I got so fed up with picasaweb breaking web conventions and stealing an onMouseDown rather than an onClick. This prevented me from dragging images from a picasa album into my blogger posting window and made it a pain to add images to my blogs. I'd have to right click, copy image location, new tab, select all, copy, close tab, tab over to my bloger window and then paste (and hope I was in compose mode rather than edit html mode).
I wrote this greasemonkey script to add a blog button at the top, clicking it made a new window with all your images in it and a link back to the original album.
blog_picasa_images.user.js
Right after I did this blogger in draft added better image linking support and it works great. So this script is kind of useless to me know. but thought I'd post incase it helps someone out.
Friday, November 20, 2009
Monday, June 25, 2007
Fix Blogger Post Greasemonkey Script
Over in my baby blog I've been posting a lot of images and text. Using blogger's include image option is really annoying so what I do is just drag images from picasaweb over into the compose window in blogger, it works great. However I have to do some slight adjustments to make the images how I want them. I want them left aligned with text flowing around them. I also want the text with each image to stay with that image. This involves adding stuff to the style attribute for my img elements and also wrapping each img with a div tag. I could do all this with the style sheets on my page but I also have my blog posts mailed out to a notify list and if I do it with style sheets the emails will look like ass. Previously I was doing this by keeping the snippets of HTML I needed to add in a Google Notebook and just copying them over when I needed to, it worked kinda o.k.
So I wrote a greasemonkey script to give me a new button at the bottom of the posting page that will fix the style of the current post. It adds the styles and divs I want and can also do other stuff. At some point I'm going to make it replace teh with the and wont with won't.
I borrowed some code from userscripts which gave me a new button at the bottom and then wrote the rest myself. It's not pretty but it works.
fixbloggerposts.user.js
So I wrote a greasemonkey script to give me a new button at the bottom of the posting page that will fix the style of the current post. It adds the styles and divs I want and can also do other stuff. At some point I'm going to make it replace teh with the and wont with won't.
I borrowed some code from userscripts which gave me a new button at the bottom and then wrote the rest myself. It's not pretty but it works.
fixbloggerposts.user.js
Sunday, February 20, 2005
My Favorite Firefox Plugins
- Tab Mix Plus
- Greasemonkey
- CSLite - (was Cookie Safe)
- OpenBook
- Google Toolbar for google bookmarks, up a directory button and spell check
- Adblock Plus
- Filterset G Updater
- Google Notebook
- ViewSourceWith
- PDF Browser Plugin (OSX)
- Web Developer
- View Rendered Source
- chp website interesting road highligher
- Install favicon
- Highlight Words
- FixStyle
- All of Mihai's Scripts - saved searches, macros
- layout.word_select.stop_at_punctuation true
- keyword.enabled false
- browser.fixup.alternate.enabled false
- browser.urlbar.doubleClickSelectsAll false
- browser.download.manager.retention 1
img[src*="http://feeds.feedburner.com/~a/"] {
display: none !important;
visibility: hidden !important;
}
img[src*="overture.com"] {
display: none !important;
visibility: hidden !important;
}
img[src*="http://imageads.googleadservices.com/"] {
display: none !important;
visibility: hidden !important;
}
img[src*="http://www.burstnet.com/cgi-bin/ads/"] {
display: none !important;
visibility: hidden !important;
}
Stuff that didn't quite make it, but you might like it.- Permit Cookies - replaced by Cookie Safe
- Tab Browser Preferences - replaced by Tab Mix Plus
- Feed Your Reader - replaced by a google reader firefox keyword
- mozex - handle protocols, view page source and edit text areas (wished it worked in OSX) ViewSourceWith is better
- bookmarks sync
- Del.icio.us
- FireBug awesome for developing web apps
- Live HTTP Headers
- Download Status Bar
- Gmail compose (and quick tab pref toggle)
- forumzilla
- Tab Extensions
- foumzilla
- RefControl
- Foxy Tunes
- Diggler Google toolbar's up a directory button is much better
- FlashBlock blocks flash from running until you click on it (adblock is enough for me)
- Foxylicious Downloads your delicious bookmarks into a bookmarks folder
- MiniT - drag tabs around (you can do this in ff 1.5 now)
- OpenBook Improves bookmarking dialog to enable easy keywords (bookmark here is much better)
- GMail Notifier
- Mouse Gestures I'm weaning myself off this
- Console²
Subscribe to:
Posts (Atom)