Oreilly Print Title Fixer

By Joseph James Frantz Last update Aug 11, 2006 — Installed 212 times.

Archived Comments (locked)

in
Subscribe to Archived Comments 2 posts, 2 voices



Jesse Andrews Admin

The following is an archive of comments made before threaded discussions was implemented (November 16th, 2008)

 
Andrew Flusche Scriptwright

Joseph,

I am having similar problems trying to modify a page title. The only thing that has helped me any is this page from Dive Into Greasemonkey: Post-processing a page after it renders.

Basically, try something like this:

window.addEventListener(
'load',
function() { document.title = "new title text"; },
true);

Good luck!

Cross
Presentational HTML allowed.
Use <code> for inline code and <pre> for code blocks. Use &lt; and &gt; for literal < and >.
We help break paragraphs and link your links.
or cancel