472,377 Members | 1,691 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,377 software developers and data experts.

Supressing "view source"

interesting! I just found a page in which Explorer's View Source does
nothing! How did they do that?
Aug 23 '05 #1
18 2412
Lorem Ipsum wrote:
interesting! I just found a page in which Explorer's View Source does
nothing! How did they do that?

They can't, could be your PC temp files ...
Mick
Aug 23 '05 #2
Could be that the page was built by javascript alone...was it a popup
or a page that you opened from another page?

Aug 23 '05 #3
Lorem Ipsum wrote:
interesting! I just found a page in which Explorer's View Source does
nothing! How did they do that?


A page? Its a lot easier to tell you how somebody did something if you
provide the URL to the page.

However, the answer is almost certainly that: They didn't.

Internet Explorer has a bug in which View Source doesn't work when the
browser cache is full. That is most likely that you have run into.

--
David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>
Home is where the ~/.bashrc is
Aug 23 '05 #4
Lorem Ipsum said the following on 8/23/2005 2:43 PM:
interesting! I just found a page in which Explorer's View Source does
nothing! How did they do that?


No, you didn't find a page like that. You found a page where you didn't
know how to view the source, that's all. It is still there.

--
Randy
comp.lang.javascript FAQ - http://jibbering.com/faq & newsgroup weekly
Aug 23 '05 #5
Ivo
"Donius" wrote
"Lorem Ipsum" wrote
interesting! I just found a page in which Explorer's View Source does
nothing! How did they do that?

Could be that the page was built by javascript alone...was it a popup
or a page that you opened from another page?


What is the sense in that? Every page has a source, also those in popups and
those built by javascript. As others said, when the cache is full, IE does
not have enough memory to reveal the source, although it is still there.
Sometimes F5 is enough to get the functionality back, other times the temp
files must be cleaned up to make room.
ivo
Aug 23 '05 #6
"Mick White" <mw***********@rochester.rr.com> wrote in message
news:Dh******************@twister.nyroc.rr.com...
Lorem Ipsum wrote:
interesting! I just found a page in which Explorer's View Source does
nothing! How did they do that?

They can't, could be your PC temp files ...


:( You are right. Thanks so much. I needed a humbling today.
Aug 23 '05 #7
"David Dorward" <do*****@yahoo.com> wrote in message
news:de*******************@news.demon.co.uk...
Internet Explorer has a bug in which View Source doesn't work when the
browser cache is full. That is most likely that you have run into.


That was it, David. Thanks to all for the reality check.
Aug 23 '05 #8
"Randy Webb" <Hi************@aol.com> wrote in message
news:TJ********************@comcast.com...
Lorem Ipsum said the following on 8/23/2005 2:43 PM:
interesting! I just found a page in which Explorer's View Source does
nothing! How did they do that?


No, you didn't find a page like that. You found a page where you didn't
know how to view the source, that's all. It is still there.


I can't imagine someone who doesn't know how to View Source. That makes no
sense at all. I just overlooked the cache situation. It's been a long day.

Aug 23 '05 #9
Lorem Ipsum wrote on 23 aug 2005 in comp.lang.javascript:
"Mick White" <mw***********@rochester.rr.com> wrote in message
Lorem Ipsum wrote:
interesting! I just found a page in which Explorer's View Source does
nothing! How did they do that?

They can't, could be your PC temp files ...


:( You are right. Thanks so much. I needed a humbling today.

However, switching off IE's menu>view>source can be done!

Try:

<http://devrijehuisarts.org/test/noViewSource.asp>

;-)

--
Evertjan.
The Netherlands.
(Replace all crosses with dots in my emailaddress)

Aug 24 '05 #10
Evertjan. said the following on 8/24/2005 4:09 AM:
Lorem Ipsum wrote on 23 aug 2005 in comp.lang.javascript:

"Mick White" <mw***********@rochester.rr.com> wrote in message
Lorem Ipsum wrote:
interesting! I just found a page in which Explorer's View Source does
nothing! How did they do that?

They can't, could be your PC temp files ...


:( You are right. Thanks so much. I needed a humbling today.


However, switching off IE's menu>view>source can be done!

Try:

<http://devrijehuisarts.org/test/noViewSource.asp>


That's because images do not have a source that humans can read.

--
Randy
comp.lang.javascript FAQ - http://jibbering.com/faq & newsgroup weekly
Aug 24 '05 #11
Randy Webb wrote on 24 aug 2005 in comp.lang.javascript:
However, switching off IE's menu>view>source can be done!

Try:

<http://devrijehuisarts.org/test/noViewSource.asp>


That's because images do not have a source that humans can read.


No it is not.

I can read it [and I suppose I am human],
though I do not understand it.

However,
perhaps it is because MS thinks like you, Randy,
that they switch of the specific menu item.

--
Evertjan.
The Netherlands.
(Replace all crosses with dots in my emailaddress)

Aug 24 '05 #12
On Wed, 24 Aug 2005 15:52:31 +0000, Evertjan. wrote:
Randy Webb wrote on 24 aug 2005 in comp.lang.javascript:
However, switching off IE's menu>view>source can be done!

Try:

<http://devrijehuisarts.org/test/noViewSource.asp>


That's because images do not have a source that humans can read.


No it is not.

I can read it [and I suppose I am human], though I do not understand it.

However,
perhaps it is because MS thinks like you, Randy, that they switch of the
specific menu item.


I can view the source... it's a gif file... I can therefore download it
and manipulate it just like I can any other page source... just with an
image editor rather than a text editor.

--
"Blessed is he who expects nothing, for he shall never be disappointed."
Benjamin Franklin (I didn't know he was a Buddhist)

Aug 24 '05 #13
Ivan Marsh <an*****@you.now> writes:
I can view the source... it's a gif file... I can therefore download it
and manipulate it just like I can any other page source... just with an
image editor rather than a text editor.


Let's try to distinguish between "source" and "anything that can be
looked at in some way". You use the term "page source" here, which an
image isn't. It's not a page at all. It's just a file (or, more
generally, an octet stream). Also, if you distinguish between an image
file (the "source") and how it is displayed, then an image editor is
not a source editor (like a text editor can be an HTML source editor).

Let's try to keep "source" in this setting as meaning "HTML code". It
will confuze a lot fewer that way :)

/L
--
Lasse Reichstein Nielsen - lr*@hotpop.com
DHTML Death Colors: <URL:http://www.infimum.dk/HTML/rasterTriangleDOM.html>
'Faith without judgement merely degrades the spirit divine.'
Aug 24 '05 #14
On Wed, 24 Aug 2005 20:15:09 +0200, Lasse Reichstein Nielsen wrote:
Ivan Marsh <an*****@you.now> writes:
I can view the source... it's a gif file... I can therefore download it
and manipulate it just like I can any other page source... just with an
image editor rather than a text editor.
Let's try to distinguish between "source" and "anything that can be
looked at in some way".


By definition an image can be looked at.
You use the term "page source" here, which an image isn't.
The page source, if you want to nitpick, is a server-side ASP application
which, if server-side scripts can be viewed by the browser, means big
trouble for everyone.

"page source" when speaking of the browser means the source for the page
content being displayed. If the only object on the page is an image, I
very well can view the source of that page.
It's not a page at all. It's just a file (or, more generally, an octet
stream). Also, if you distinguish between an image file (the "source")
and how it is displayed, then an image editor is not a source editor
(like a text editor can be an HTML source editor).
Would you like me to modify the image and send it to you? I can do that
with an image editor or a hex editor, whichever you like (like a text
editor can be an HTML source editor).
Let's try to keep "source" in this setting as meaning "HTML code". It
will confuze a lot fewer that way :)


You obviously cannot view HTML code that doesn't exist. You also cannot
view server-side scripts in the browser.

Was your point to make no point? I'd think that might confuse a few
people.

--
"Blessed is he who expects nothing, for he shall never be disappointed."
Benjamin Franklin (I didn't know he was a Buddhist)

Aug 24 '05 #15
I wrote:
However, switching off IE's menu>view>source can be done!
Try:
<http://devrijehuisarts.org/test/noViewSource.asp>
;-)


Ivan Marsh wrote on 24 aug 2005 in comp.lang.javascript:
Let's try to keep "source" in this setting as meaning "HTML code". It
will confuze a lot fewer that way :)


You obviously cannot view HTML code that doesn't exist. You also
cannot view server-side scripts in the browser.

Was your point to make no point? I'd think that might confuse a few
people.


You are missing my points:

1 I was showing [as stated] with

<http://devrijehuisarts.org/test/noViewSource.asp>

that I could deactivate the menu>view>source function of IE.

2 I was joking as shown by the ";-)"

If joking confuses people, should we stop joking? I would not.

--
Evertjan.
The Netherlands.
(Replace all crosses with dots in my emailaddress)

Aug 24 '05 #16
On Wed, 24 Aug 2005 12:44:21 -0500, Ivan Marsh <an*****@you.now>
wrote:
On Wed, 24 Aug 2005 15:52:31 +0000, Evertjan. wrote:
Randy Webb wrote on 24 aug 2005 in comp.lang.javascript:
However, switching off IE's menu>view>source can be done!

Try:

<http://devrijehuisarts.org/test/noViewSource.asp>

That's because images do not have a source that humans can read.


No it is not.

I can read it [and I suppose I am human], though I do not understand it.

However,
perhaps it is because MS thinks like you, Randy, that they switch of the
specific menu item.


I can view the source... it's a gif file... I can therefore download it
and manipulate it just like I can any other page source... just with an
image editor rather than a text editor.


Except View > Source in both Firefox 1.0.6 and Opera 8.02 open it in a
text editor, not an image editor, which is completely non-sensical and
requires the extra step of choosing File > Save As..., when you could
have right-clicked the image in the browser window and choosen Save
Picture As...

And do you reguarly obtain the binary copy of images loaded in your
Web browser by choosing View > Source, then File > Save As...?

This is nothing more than Microsoft-bashing at it's finest. Find
something another browser does which Internet Explorer does not do
that you think is incorrect behavior, then harp endlessly on that
feature.

There is almost no reason the average person would ever need to View >
Source an image resource. The resulting ASCII soup (opened by the
browser in a text editor as pointed out earlier) is entirely
unreadable by the average person, and those who are not average know
all the alternate ways of obtaining a binary copy of the downloaded
image.

It could be argued that IE lacks consistency, and that produces
confusion for the average person. I'd argue that it might be more
confusing to an average person to click View > Source and wonder why
the source of the page is "chinese". I might also argue that the
average person probably doesn't even know of the existance of the
ability to View > Source, let alone the results they should expect
from selecting those menu items.

--
Grant Wagner <sq*******@yahoo.com>
comp.lang.javascript FAQ - http://jibbering.com/faq
Aug 24 '05 #17
On Wed, 24 Aug 2005 19:15:05 +0000, Evertjan. wrote:
I wrote:
However, switching off IE's menu>view>source can be done! Try:
<http://devrijehuisarts.org/test/noViewSource.asp> ;-)


Ivan Marsh wrote on 24 aug 2005 in comp.lang.javascript:


You also wrote:
Let's try to keep "source" in this setting as meaning "HTML code". It
will confuze a lot fewer that way :)


You obviously cannot view HTML code that doesn't exist. You also cannot
view server-side scripts in the browser.

Was your point to make no point? I'd think that might confuse a few
people.

You are missing my points:

1 I was showing [as stated] with

<http://devrijehuisarts.org/test/noViewSource.asp>

that I could deactivate the menu>view>source function of IE.

2 I was joking as shown by the ";-)"

If joking confuses people, should we stop joking? I would not.


Joking doesn't confuse me if that's what you're suggesting... perhaps you
should make it clear what you're joking about when you're joking. Contrary
to popular belief :) isn't a mind reading device.

I apologize if I didn't get it.

--
"Blessed is he who expects nothing, for he shall never be disappointed."
Benjamin Franklin (I didn't know he was a Buddhist)

Aug 24 '05 #18
Ivan Marsh wrote on 24 aug 2005 in comp.lang.javascript:
I apologize if I didn't get it.


Accepted, if so.

--
Evertjan.
The Netherlands.
(Replace all crosses with dots in my emailaddress)

Aug 24 '05 #19

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Phil Powell | last post by:
I'm sorry but I can't figure out how to explain this any better than this. In PHP we have a command "require()" that obtains a file and logically places it into another file. I cannot figure...
4
by: hetnet | last post by:
Hello, How can i disabled a menuitem like " View => Source"??? -- Met vriendelijke groet, Rob van Westrop
1
by: jloxsom | last post by:
Hi all... New user new to VC++. I've used the AppWizard to create an SDI with the CFormclass. The "View" file is a dialog. I want to create a few EditBoxes, associate member variables to...
2
by: jerry.ranch | last post by:
I've been using row source with the QBE for my list and combo boxes..when would I use control source? jerry
0
by: Rob R. Ainscough | last post by:
I've been working with my project for a while now (a few months), then today it I opened up one of my pages (web app) and got the following: "Can not switch to Design view because of errors in...
10
by: Wildemar Wildenburger | last post by:
Hi there :) I don't know how else to call what I'm currently implementing: An object that behaves like a list but doesn't store it's own items but rather pulls them from a larger list (if they...
7
by: alessandro menchini | last post by:
Hello, First of all: i apologize for my english...i'm still learning... If i create a view it seems that DB2 manage this view like an updateable view. But I need to create a view "read only",...
2
by: Phaiz | last post by:
Not sure if you'd need an activex control but I'm looking for a script to change the folder view to "Classic View" within IE. I have an iframe that loads the users My Documents folder and would...
6
by: jluo | last post by:
I found a problem with my application when using "innerhtml" to replace the content from the server after making an ajax call. The display is perfectly correct, but when I use "view source" on the...
0
hi
by: WisdomUfot | last post by:
It's an interesting question you've got about how Gmail hides the HTTP referrer when a link in an email is clicked. While I don't have the specific technical details, Gmail likely implements measures...
0
Oralloy
by: Oralloy | last post by:
Hello Folks, I am trying to hook up a CPU which I designed using SystemC to I/O pins on an FPGA. My problem (spelled failure) is with the synthesis of my design into a bitstream, not the C++...
0
BLUEPANDA
by: BLUEPANDA | last post by:
At BluePanda Dev, we're passionate about building high-quality software and sharing our knowledge with the community. That's why we've created a SaaS starter kit that's not only easy to use but also...
0
by: Rahul1995seven | last post by:
Introduction: In the realm of programming languages, Python has emerged as a powerhouse. With its simplicity, versatility, and robustness, Python has gained popularity among beginners and experts...
1
by: Johno34 | last post by:
I have this click event on my form. It speaks to a Datasheet Subform Private Sub Command260_Click() Dim r As DAO.Recordset Set r = Form_frmABCD.Form.RecordsetClone r.MoveFirst Do If...
1
by: ezappsrUS | last post by:
Hi, I wonder if someone knows where I am going wrong below. I have a continuous form and two labels where only one would be visible depending on the checkbox being checked or not. Below is the...
0
by: jack2019x | last post by:
hello, Is there code or static lib for hook swapchain present? I wanna hook dxgi swapchain present for dx11 and dx9.
0
DizelArs
by: DizelArs | last post by:
Hi all) Faced with a problem, element.click() event doesn't work in Safari browser. Tried various tricks like emulating touch event through a function: let clickEvent = new Event('click', {...
0
by: F22F35 | last post by:
I am a newbie to Access (most programming for that matter). I need help in creating an Access database that keeps the history of each user in a database. For example, a user might have lesson 1 sent...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.