Post Reply 
Load time
Oct. 13, 2008, 05:26 PM
Post: #8
RE: Load time
Ups, one problem, the first filter breaks pages because of the insertion of the script at the beginning.

You can see it here http://www.softonic.com/

I moved it to the start filters or just after <head*> to get similar results i think and it works.

In other part, would be better if we could set a variable with $DTM() at <start>, without inserting anything in the page, doing it compatible with the format wich javascript uses. And later we could use $GET(LoadTimer) in the second filter.

Code:
[Patterns]
Name = "WIP Set Start Time js {z12}081013"
Active = FALSE
URL = "$TYPE(htm)"
Limit = 50
Match = "<start>"
Replace = "$SET(LoadTimer=$DTM(EDIT THIS TO DO IT COMPATIBLE WITH JS))"
          "$STOP()"

Maybe it's more dificult than i think, i don't know much about javascript, i will search in internet and see what i can do :/
http://www.w3schools.com/jsref/jsref_obj_date.asp
Add Thank You Quote this message in a reply
Post Reply 


Messages In This Thread
Load time - lnminente - Oct. 11, 2008, 07:57 PM
RE: Load time - z12 - Oct. 12, 2008, 01:50 PM
RE: Load time - lnminente - Oct. 12, 2008, 05:18 PM
RE: Load time - ProxRocks - Oct. 12, 2008, 05:38 PM
RE: Load time - Guest - Oct. 13, 2008, 02:38 AM
RE: Load time - z12 - Oct. 13, 2008, 01:03 PM
RE: Load time - lnminente - Oct. 13, 2008, 03:38 PM
RE: Load time - lnminente - Oct. 13, 2008 05:26 PM
RE: Load time - z12 - Oct. 13, 2008, 07:43 PM
RE: Load time - lnminente - Oct. 13, 2008, 09:34 PM
RE: Load time - lnminente - Oct. 14, 2008, 12:48 PM
RE: Load time - ProxRocks - Oct. 14, 2008, 04:23 PM
RE: Load time - lnminente - Oct. 14, 2008, 06:38 PM
RE: Load time - ProxRocks - Oct. 14, 2008, 06:58 PM
RE: Load time - lnminente - Oct. 14, 2008, 07:05 PM
RE: Load time - z12 - Oct. 14, 2008, 08:47 PM
RE: Load time - lnminente - Oct. 14, 2008, 08:55 PM
RE: Load time - z12 - Oct. 14, 2008, 09:24 PM
RE: Load time - Toppy - Oct. 17, 2008, 07:47 PM
RE: Load time - lnminente - Oct. 18, 2008, 02:07 AM

Forum Jump: