Operating System - HP-UX
1748015 Members
4438 Online
108757 Solutions
New Discussion юеВ

Re: A Greasemonkey script for BSC documents

 
Michael Leu
Honored Contributor

A Greasemonkey script for BSC documents

Hello

To celebrate the move from docs.hp.com to the Business Support Center here is a small userscript that hopefully makes it easier to find the excellent documentation HP writes. :-)

What it does:
- removes the column width so the document title is as wide as possible
- hides columns "Size (MB)" and "Estimated download time" to make it even wider

About Userscripts and Greasemonkey: http://en.wikipedia.org/wiki/Greasemonkey

Feedback/Improvements welcome!
16 REPLIES 16
James R. Ferguson
Acclaimed Contributor

Re: A Greasemonkey script for BSC documents

Hi Michael:

A friend of pointed me to this and I want to thank you for doing what the webmaster should have done!

This is a very, very welcome contribution. It underscores the value of open source and everyone, like yourself, who "pays it forward".

Thanks for making the "new-and-improved" (*not*!) BSC palatable. I agree that the documentation there is some of the best on the web. It's clearly the presentation layer that needs work from folks like you. Thanks!

Regards!

...JRF...
Michael Leu
Honored Contributor

Re: A Greasemonkey script for BSC documents

Thanks for your kind words JRF, you have motivated me to make a new userscript this weekend :-)

What it does:
- makes the document tables sortable
- can be combined with the old script above

It uses the excellent sorttable.js from
http://www.kryogenix.org/code/browser/sorttable/

I had to remove the alternating grey lines because they got mixed up when sorting...

As always, feedback and improvements are very welcome!
James R. Ferguson
Acclaimed Contributor

Re: A Greasemonkey script for BSC documents

Hi (again) Michael:

That's an awesome contribution yet again! I simply installed the second script in Greasemonkey to run after the first one re-formats the page; and, VOILA!

Regards!

...JRF...
Patrick Wallek
Honored Contributor

Re: A Greasemonkey script for BSC documents

EXCELLENT!!!!!!! This makes the web page usable! HP -- Take notes here!
Pete Randall
Outstanding Contributor

Re: A Greasemonkey script for BSC documents

I noticed this pop up yesterday. With Jim's resounding endorsement and my own oft-voiced frustrations with the BSC documentation, this sounded fascinating. Now Patrick chimes in positively as well.

I'm downloading and installing today, but probably won't get much chance to play until after vacation, but Thankyou in advance, Michael. I'm sure I'm going to like it.


Pete

Pete
Modris Bremze
Esteemed Contributor

Re: A Greasemonkey script for BSC documents

There is also a Greasemonkey script for the ITRC, which fixes links by removing the javascript from them so they are middle-clickable and easier to copy which makes the forums a bit more useable.

http://userscripts.org/scripts/show/57223
Pete Randall
Outstanding Contributor

Re: A Greasemonkey script for BSC documents

OK, I'll admit my stupidity.

How am I supposed to install the script? I installed the Greasemonkey add-on and started reading the manual. It says you can install by "click(ing) a link on a web page" or "drag(ging) and drop(ping) a local file" or by use(ing) the File > Open File dialog". All of those methods simply open and display the script source and I never see any installation dialog.

What am I missing?


Pete

Pete
Dennis Handly
Acclaimed Contributor

Re: A Greasemonkey script for BSC documents

>Pete: I'll admit my stupidity.

I only got a little farther than you. :-(

>All of those methods simply open and display the script source and I never see any installation dialog.

Right.
I went to Tools > Greasemonkey > New User script

(I wasn't sure what to put in Namespace?)
Then it invoked the wrong type of editor (vi) and I don't have a chance to change it now. I suppose I would have to uninstall greasemonkey and reinstall it?

But I couldn't get it to work on the BCS pages.
Michael Leu
Honored Contributor

Re: A Greasemonkey script for BSC documents

Sorry I should have uploaded it to userscripts.org in the first place. :-)

HP BSC document table sort
http://userscripts.org/scripts/show/72322

HP BSC document table widener
http://userscripts.org/scripts/show/72321