Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grabbing everything but the script
Message
De
01/05/2013 14:27:14
 
 
À
01/05/2013 14:12:37
Information générale
Forum:
Javascript
Catégorie:
DHTML
Divers
Thread ID:
01572384
Message ID:
01572389
Vues:
38
>Long long time ago I'd first look if .innerText has the info I need - but often first step was walking down the nodes, eliminating as much of the rest of body.innerWhatever as possible. If not possible, then resort to string massaging innerHTML. As I was analyzing different pages - most not under my control and changed at inoppotune times - I think this approach saved in the long run maintainance time, as I often could build new needed functionality easily out of existing parsing routines. YMMV depending on how many different pagetypes you need to work on.

This is for a close environment and the format is always the same.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform