Getting at the body

P

Peter Crom

Hi everybody,

I have the following problem:
I would like to have a sort of 'coded body', that is, I offer a body with an
encrypting javascript routine that 'unpacks' the coded body at the client,
so it customizes to its local properties, depending on browser, screensize
and the like.
Therefore I need to be able to 'read' the body, adjust it, and rewrite te
whole lot with a document.writeln (newbody);

But how is this 'reading' done? Can anyone give me the golden tip?

Thanks in advance for the use of your brains and knowlegde...

Peter Crom
 
T

Thomas 'PointedEars' Lahn

Peter said:
I would like to have a sort of 'coded body', that is, I offer a body with an
encrypting javascript routine that 'unpacks' the coded body at the client,
so it customizes to its local properties, depending on browser, screensize
and the like.
Therefore I need to be able to 'read' the body, adjust it, and rewrite te
whole lot with a document.writeln (newbody);

You do not need and you do not want that, not even in an intranet.
BTW, use document.write("...") instead of document.writeln(...).


PointedEars
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top