Skip to Content.
Sympa Menu

baslinux - [BL] javascript removal script for text browsers

baslinux AT lists.ibiblio.org

Subject: Baslinux mailing list

List archive

Chronological Thread  
  • From: baslinux AT lists.ibiblio.org
  • To: baslinux AT lists.ibiblio.org
  • Subject: [BL] javascript removal script for text browsers
  • Date: Wed, 7 Jan 2009 17:51:12 +0000 (UTC)

You can sometimes make some sense of javascript using a text browser and reveal codes. For instance:
http://uuis.umich.edu/events/calendar.cfm?sponsor=155

The link to a Sat Jan 10 horn recital is javascript, but revealing codes shows you the actual information (which Opera shows at page bottom if you click on the link - is this supposed to be a popup window?).

Senior Recital: Chris Jackson, horn (that is all you can normally see)
followed by (when you reveal codes)

</h1><span class=\'dt\'&gt:8:00 PM&lt+;/span><br /&gt...... location ...E. V. Moore Building, Britton Recital Hall.......
(I probably mistyped this - see the original page).

Steven, could you write some simple script for extracting information from pages like this after downloading them, which removed the &....; and /span...; and other non-informative stuff?

Since ; is also used in the actual text, you would need to remove only to the first occurrence after & or span.

The web page would be much smaller and download faster without the javascript parts, but would look larger on the screen. They could have written it with links to other pages instead, to both look and be smaller. Maybe some MS HTML editor encourages this sort of behavior.


Sindi Keesan



  • [BL] javascript removal script for text browsers, baslinux, 01/07/2009

Archive powered by MHonArc 2.6.24.

Top of Page