disabling view source - example?

D

David Cox

David Cox said:
I click on "view source" on this site and nothing seems to happen.

http://www.gm.tv/index.cfm?articleid=24657


Anybody know how it is done?

I was trying to get a link to the Nuala clip which might be live longer
than the site link to pass it on to other Ceroc dancers.

Apologies to all - bug somewhere. After reboot view source works fine.

I am using IE6. One possibility for the anomolous behaviour was that there
was a lot more source in this site that in the others where it worked as
normal.

Thanks for all your efforts, for me and others. I am learning a lot from
this group.

David F. Cox
 
E

Evertjan.

Randy Webb wrote on 04 aug 2007 in comp.lang.javascript:
Benjamin Sattler said the following on 8/4/2007 6:18 AM:

Yes, that is all it is.

Any solution to a problem is "just a trick" if you know it.

In programming as in sorcering [code sourcering?].

But if it is "all it is", Randy, can you come up with the code?
 
E

Evertjan.

Randy Webb wrote on 04 aug 2007 in comp.lang.javascript:
Evertjan. said the following on 8/4/2007 7:42 AM:
Randy Webb wrote on 04 aug 2007 in comp.lang.javascript:
[....]
Any solution to a problem is "just a trick" if you know it.

Yes, I am aware of it.
In programming as in sorcering [code sourcering?].

But if it is "all it is", Randy, can you come up with the code?

As the only thing that goes to the browser is an image there is no
Client Side Code to "come up with" :)

However the actual time is shown.
 
D

David Mark

Benjamin Sattler said the following on 8/4/2007 6:18 AM:







Yes, that is all it is.

Technically, it is multiple images and then a bit of text. He is
using an antiquated technique known as "server push." It is a multi-
part response and the connection doesn't close until the last part
(the self-destruct text) is sent (or you hit the stop button.) After
that, you can indeed view the "source" of the text.
 
R

Rik

Randy Webb wrote on 04 aug 2007 in comp.lang.javascript:
Evertjan. said the following on 8/4/2007 7:42 AM:
Randy Webb wrote on 04 aug 2007 in comp.lang.javascript:

Benjamin Sattler said the following on 8/4/2007 6:18 AM:
"Evertjan." <[email protected]> wrote:
[....]
<http://devrijehuisarts.org/test/noViewSource.asp>

Isn't that just an image in the end?
Yes, that is all it is.

Any solution to a problem is "just a trick" if you know it.

Yes, I am aware of it.
In programming as in sorcering [code sourcering?].

But if it is "all it is", Randy, can you come up with the code?

As the only thing that goes to the browser is an image there is no
Client Side Code to "come up with" :)

However the actual time is shown.

|
v













Some refresh MSIE seems to obey:
Refresh: 6

(possibly, this is also helped by:
Expires: Sat, 04 Aug 2007 05:51:10 GMT <- in the past
no idea, not gonna check in MSIE)


A cookie to check how on which refresh we are (shouldn't you store the
time of the first request on the server to keep track of time so that ona
forced refresh done by the user the number of seconds to expire is still
magically correct, instead of a simple counter?)
Cookie: ASPSESSIONIDCSRABSCB=HMDJKLHCBPLMKDMFALBNJLFK

+ building an image on the fly on the server. Not that hard at all, if you
know the trick :p
 
E

Evertjan.

David Mark wrote on 04 aug 2007 in comp.lang.javascript:
Technically, it is multiple images and then a bit of text. He is
using an antiquated technique known as "server push."

Please tell us about that technique.
And if it exists, why is it antiquated?

How does one antiquate a technique, btw?
Perhaps is it a GSM SMS derivated technique?
It is a multi-part response and the connection doesn't close

Are you certain about that?
How can that be?
Do browsers allow that?
until the last part
(the self-destruct text) is sent (or you hit the stop button.)

It could be that the stop buttonis connected to the self destruct,
so PLEASE DO NOT hit the stop button. Smoke could come from your HD,
refer to Mission Impossible [September 1966 on ABC].
After that, you can indeed view the "source" of the text.

The point is, that view source inhibition of html is an impossible
mission, but self destructive tricks are possible.

Can anyone build a page mimicking the effects of the above URLed webpage?
 
D

David Mark

David Mark wrote on 04 aug 2007 in comp.lang.javascript:



Please tell us about that technique.

No. I don't think I will elaborate further. Those who are interested
can Google it.
And if it exists, why is it antiquated?

It would be hard for anything that doesn't exist to be called
antiquated.
How does one antiquate a technique, btw?

It means it is old and in this case not used for practical
applications.
Perhaps is it a GSM SMS derivated technique?
No.


Are you certain about that?

It sure looks like it, but then I haven't seen server push used since
the mid-90's.
How can that be?

You don't know? Didn't you write the script?
Do browsers allow that?

Some do.
until the last part
(the self-destruct text) is sent (or you hit the stop button.)

It could be that the stop buttonis connected to the self destruct,
so PLEASE DO NOT hit the stop button. Smoke could come from your HD,
Hardly.

refer to Mission Impossible [September 1966 on ABC].
After that, you can indeed view the "source" of the text.

The point is, that view source inhibition of html is an impossible

There is a point to this post?
mission, but self destructive tricks are possible.

Despite the silly text, I don't see how this "trick" is self-
destructive at all. Pointless, yes.
Can anyone build a page mimicking the effects of the above URLed webpage?

Of course. But why would they?
 
D

David Mark

David Mark wrote on 04 aug 2007 in comp.lang.javascript:

On closer inspection, it is a refresh header (another technique that
is virtually never used.) Apparently this technique is better
supported than server push.

What a magician. Certainly nobody else could have written such an ASP.
 

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

Staff online

Members online

Forum statistics

Threads
474,159
Messages
2,570,879
Members
47,414
Latest member
GayleWedel

Latest Threads

Top