Oreilly Print Title Fixer Script, Scrips, Java, DHTML, Express
Contact
 


Quick search

 



Scripts - DHTML

Scripts - DHTML (new)

Web Developer Blog

Web Developer Blog (new)

Scripts and Applications

Ajax
ASP
ASP.NET
C and C++
CFML
CGI and Perl
Flash
Java
JavaScript
PHP
Python
XML

Software Downloads

Linux

Windows

Mac

Mobile

Drivers

DHTML Scripts - Detail

 

Oreilly Print Title Fixer

Date added: 2007-11-15 14:04:08

Adds a default title for safari.com/print page's title is blank. This is necessary if you wish to save into some other format like PDF.

Safari is a site for reading books by many technical publishers. I use the Oreilly
version at http://safari.oreilly.com/. If you signed up with another service you
will need to modify this script to match your domain instead. Or if someone sends
me a list of the domains I will add them to this script.

This script takes the text from the first heading on the page (an h3 element with
an ID="-100000") and sets it to be the title of the page. This is useful for things
like saving a page or two off to another format. I typical view Safari on my pepper
pad (http://www.pepper.com/). Well it is 800x600 display and the newer version is
something like 800x480 display. So I use this extension to view JUST the html without
all of the buttons and bars and so forth. But I cannot tell what page is what normally,
since they have no titles. Now I can see the titles. This works well with my userstyle
over at http://userstyles.org/style/show/757 .

Also I KNOW it is annoying, but I had to put an alert. Currently without the alert the
title will not be fixed. I believe this is because safari uses javascript to generate
the page. So the page load takes a while. Thus, by the time it finally generates the
head portion of the html, the greasemonkey script has finished and wont change the title.
Also if I try to access the dom after document.title= line, the script does not work.
Ive tried all sorts of things, looping, delaying, longer setTimeouts ...but to no avail.
If I ever figure it out I will update the script. If anyone has any suggestions, I will
gladly listen.

Download

(Downloads till now: 7)


Can't start the download? Please check if the browser is not blocking the pop-up window that allows you to start the download.

Still not working? Please report to us, thanks for your time.

  

 

Leave a comment




(optional)

What is 7-3?




0 comments


 

Related DHTML Scripts

Flickr Quick Comment
Date Added: 2007-11-15
Adds a select box with pre written comments. Derived from Steeev Group Promotion Tool"!http://static.flickr.com/59/203994994_d71e3f3679.jpg!":http://www.flickr.com/photos/mortimer/203994994/ This s...
AddLiveBookmark
Date Added: 2007-11-15
Add Live Bookmrak even on XML file...
Show Keybind In Gmail
Date Added: 2007-11-15
You press **'? key'** will open the shortcut help....
Userscripts.org autologin
Date Added: 2007-11-15
Logs in automagically on userscripts.org...
RapidShare Quick DL
Date Added: 2007-11-15
RapidShare Quick DL...
RapidShare Quick DL
Date Added: 2007-11-15
RapidShare Quick DL...
WoW Europe auto-fill parental controls password
Date Added: 2007-11-15
Auto-fill the parental controls password in the European World of Warcraft account management.Obviously you'd typically only use this on a computer the parentally controlled one has no access to....
Only Piratebay Torrents/Comments
Date Added: 2007-11-15
Removes all content on Piratebay except Torrents and Comments.This script removes all the surrounding content on piratebay and leaves only the torrents and comments. It expands that to the full width ...
Brandons Google
Date Added: 2007-11-15
Brandon...
louiegoogle customized
Date Added: 2007-11-15
biglouggle...
Yahoo Hompage
Date Added: 2007-11-15
http://yahoo.com...
Black and White Homepage by Dominic
Date Added: 2007-11-15
Dominic's Black and White Homepage...
Bugzilla See Earlier Comments
Date Added: 2007-11-15
Display previous comments on a bug, when viewing the Bugzilla 'create new attachment' page. Thanks to Jesse Ruderman - http://www.squarefree.com/ - for the nifty iframe-transclusion trick....
Stretch-to-fit Textareas
Date Added: 2007-11-15
Cause textareas to "stretch" to fit their contents, as you type. This behaviour was inspired by that of textareas in FogBugz. Can be inhibited by turning off the checkbox to the right of e...
magnolia_blank
Date Added: 2007-11-15
Adds a target_blank to links so that they can open in a new tab and in the background (tabbrowser set appropriately)...

Last 20 Scripts

 
1. Cookie Crumbs
Cookie Crumbs JavaScript creates a breadcrumb type trail of
2. Loupe.js
Loupe.js script allows you to add a loupe (magnifier) to ima
3. Reflex.js
Reflex.js script allows you to add a Cover Flow™ like effect
4. Edge.js
Edge.js Javascript adds individual masks to images on web pa
5. Curl.js
Curl.js is a simple to install and use JavaScript that adds
6. Busy.js
Busy.js script permits you to add/remove loading indicators
7. Mapper.js
Mapper.js automatically ads an area highlighting to image ma
8. Filmed.js
Filmed.js script allows you to add film strip and shadows to
9. Slided.js
Slided.js script adds slide frames and shadows to images on
10. Shiftzoom.js
Shiftzoom.js script permits you to add pan and zoom function
11. Instant.js
Instant.js script allows you to add an instant picture effec
12. Glossy.js
Glossy.js script allows you to add corners, shading and shad
13. Corner.js
Corner.js script helps you to create custom corners to image
14. Sphere.js
Sphere.js script allows you to add a spherical picture effec
15. Bevel.js
Bevel.js script allows you to add bevels (and also shading,
16. jQuery Lightbox Plugin
jQuery Lightbox Plugin provides a way to display an image on
17. jQuery Tag Suggestion Plugin
jQuery Tag Suggestion plugin helps you create a subset of ta
18. jClock
jClock is a jQuery clock plugin that allows you to display c
19. jqac
jqac is a jQuery plugin that extends jQuery namespace with a
20. YUI Based Lightbox
YUI Based Lightbox is a lightweight implementation of a ligh

DownloadTube Editor Reviews

 
1. NetShareWatcher
NetShareWatcher is a smart network security improvement soft...
2. Recovery for Oracle
Recovery for Oracle is a comprehensive tool designed to help...
3. Fix My Registry
The Windows Registry is a crucial part of your PC\'s operati...
4. VeryDOC DWG to Image Converter
VeryDOC DWG to Image Converter is a powerful utility that al...
5. Free AVI to M4A Converter
Doremisoft Free AVI to M4A Converter is an easy-to-use media...
6. Replay Media Splitter
Replay Media Splitter is a really simple and easy to use aud...
7. Instant Invoice n Cashbook 2007
Instant Invoice n Cashbook 2007 is a smart and powerful invo...
8. Data Doctor Recovery Digital Camera
Data Doctor Recovery Digital Camera is a Point and Shoot cam...
9. Free AVI to MPG Converter
Doremisoft Free AVI to MPG Converter is an easiy-to-use medi...
10. 1st Disk Drive Protector
Protect your PC from the abusive use of removable media with...

Software Reviews Full List



Top Downloads

 
1. Audio Catalog
2. Realtek Sound Card AC97 A
3. Genius Eye 110 Webcam Driver
4. Minute Emergency Medicine Consult
5. Microsoft ActiveSync
6. Handbook of Diagnostic Tests for Symbian
7. Mercury VD56UC2
8. Canon LaserShot LBP-1210 Printer Driver
9. Canon PIXMA iP1300 Printer Driver a
10. Canon i-SENSYS LBP3360 UFR II/UFRII LT Printer Driver x64
11. Intercultural Business Communication
12. Intel PRO/Wireless 2200BG/2915/3945/3965ABG
13. Canon PIXMA iP1000 Printer Driver
14. Realtek ALC/ 262/ 265/ 268/ 660/ 861/ 880/ 882/ 883/ 885/ 888 Audio
15. Genius VideoCAM EYE
16. WinXMedia DVD Ripper
17. Moving Nowhere
18. Alt MP3 to WAV Converter
19. ECTACO Voice Translator Russian -> German
20. Asrock P4i45GV R 3.40