Linux Today Butler

By deleted user Last update Jun 19, 2005 — Installed 1,068 times.

Archived Comments (locked)

in
Subscribe to Archived Comments 6 posts, 4 voices



Jesse Andrews Admin

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

 
Cruisin User

The script you download work fine, if you change the window._content to window.content, as athleston wrote.

If you add the
table.snapshotItem(32).style["display"] = "none"

line, the Windows FUD box goes away too.

 
athleston User

This script stopped working for me today. There are so many stacked tables in the src that hiding a few doesn't cut it. So I wrote this brute-force technique that is slower but the end result is pretty good, try this -- you figure where it goes : )

// this is true if we're on the front page
var re = /On Internet Time/gi;
if ( head.innerHTML.match(re) ) {

// remove top ad-bar
for (var i=0; i<4>
table.snapshotItem(i).style["display"] = "none";
}
for (var i=6; i<69>
// this removes the right hand bar
table.snapshotItem(i).style["display"] = "none";
}

} else {
// else we're on a per-article page -- this removes the right hand bar
for (var i=0; i<4>
table.snapshotItem(i).style["display"] = "none";
}
for (var i=6; i<47>
table.snapshotItem(i).style["display"] = "none";
}
}

 
athleston User

Oops! thats line 71

 
athleston User

Had to do one trivial fix in line 77; change window._content to window.content, then it worked marvellously!

 
gmo User

At last, a way to get linux today readable!

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