Welcome to WebmasterWorld Guest from 54.196.238.210

Forum Moderators: open

Message Too Old, No Replies

W3C Validator: Opera's Ctl-Alt-V gives error

but not direct access of W3C page

     

madcat

8:24 pm on Dec 14, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



When using the Opera Ctrl + Alt + V function, the validator produces a "Fatal Error: No DOCTYPE specified!" message. However, when uploading the same files directly on the W3C site, it all checks out ok. Any ideas?

martinibuster

8:31 pm on Dec 14, 2002 (gmt 0)

WebmasterWorld Administrator martinibuster is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month



Yes. This happened to me before.

You are pasting the url in the field that is designated for uploading html files.

Look below for the link to where you can paste a url.

madcat

1:42 am on Jan 3, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Shouldn't you just be able to go to any site and press Ctrl + Alt + v and see if the page validates? I used to.

I see that this appears in the source code before anything (making the doctype come in second place):

<!-- BEGIN Popup Blocker -->
<script language='javascript'>
NS_ActualOpen=window.open;
function NS_NullWindow(){this.window;}
function NS_NewOpen(url,nam,atr){return(new NS_NullWindow());}
window.open=NS_NewOpen;
</script>
<!-- END Popup Blocker -->

----------------------------------------------------------------------------

Anyone know how I remove this pop-up blocker? I understand it's inherent in Opera. But if this is the problem, I would miss Ctrl + Alt + v too much...

tedster

6:14 pm on Jan 3, 2003 (gmt 0)

WebmasterWorld Senior Member tedster is a WebmasterWorld Top Contributor of All Time 10+ Year Member



You can easily turn off the pop-up blocker code with File > Quick Preferences. It's an easy to access toggle.

In Opera, Ctrl + Alt + v sends W3C the HTML from your cache, and not the actual page code from the server, as you've discovered. This does create a few anomalies.

madcat

7:21 pm on Jan 3, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Actually the same js code above appears in Internet Explorer >> before the doctype. What is Popup blocker, or better yet how did it get in there?

tedster

10:02 pm on Jan 3, 2003 (gmt 0)

WebmasterWorld Senior Member tedster is a WebmasterWorld Top Contributor of All Time 10+ Year Member



I take back part of what I said - Opera does NOT add blocker code to the cached page. So you're seeing code that's been introduced by some other source.

g1smd

11:20 pm on Jan 3, 2003 (gmt 0)

WebmasterWorld Senior Member g1smd is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month



The !DOCTYPE definition MUST be the very first line of the file, even coming before the <html> element.

[Some security product, I don't recall which (Norton?), adds a script something like that]

tedster

12:05 am on Jan 4, 2003 (gmt 0)

WebmasterWorld Senior Member tedster is a WebmasterWorld Top Contributor of All Time 10+ Year Member



I've got the newest Norton (2003) and that version at least does not add code to the cached page.

madcat

12:43 am on Jan 4, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Yeah, it's an Ad Blocking function in Zone Alarm. Ctrl+Alt+V is way to convenient not to have anymore.
 

Featured Threads

Hot Threads This Week

Hot Threads This Month