'Print View' for blogs.sun.com by GreaseMonkey script

How do you guys save or print out the great entries on blogs.sun.com without any frills? Like you do when viewing wiki, other sun.com pages, newspaper articles?

I have been using 2 methods.

  1. copy&paste if it's text only entry.
  2. Use firebug and "Copy innerHTML" to save the core part to local file. Open the file in browser again.
I thought GreaseMonkey can help here. So, I searched scripts archive and found this.

AppleGrew's Mind: My first GreaseMonkey script: Blogspot Post PrintView

Great! I copied and changed 3 or 4 lines to make it work for a popular blog theme on blogs.sun.com. This theme is used by these 2 colleagues, for example.

  1. Java CAPS Tip : Building a JMS Browser Monitoring / Management Plug-in Module for NetBeans 6.1 : The Crooked Stick
  2. Bill Vass' Weblog

So, how does the script work? Here are 2 screenshots for the former one.

1. 'Print' button appears next to timestamp.



2. Click on 'Print' link. All decorations are removed!




I think our CEO Jonathan uses a different theme. But my GreaseMonkey script sort of works.

Jonathan Schwartz's Blog: Fanning the Winds of Change in Storage

1. 'Print' link appears next to timestamp.



2. Click on 'Print' link. Texts are center aligned so they are hard to read.



My script can be copied from here.
Comments:

[Trackback] I use firefox2 and I often see blogs.sun.com entries where graphics(such as screenshots) are unreadable because it's squeezed according to style sheets. Examples are: Trying out search , search referral feature in LDAP BC : Sainath Adiraju's Blog Z...

Posted by Let the Sunshine In on December 04, 2008 at 05:46 AM JST #

Post a Comment:
  • HTML Syntax: NOT allowed
About

The views expressed on this blog are my own and do not necessarily reflect the views of Oracle.

Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today