Groups > Browsers > Opera Browser general discussion > Why can I not view this site using Opera




Re: Why can I not view this site using Opera

Re: Why can I not view this site using Opera
Sun, 30 Mar 2008 04:41:39 -050
"GSD" <nospam@badexample.com> writes:

>http://afl.com.au/

>Can anyone view this site fully in Opera and if so tell me what =
>adjustments I need to make . I have Java and Flash installed for Opera

I fail to be able to see the main part of the page. Instead, I see just
a white expanse. However, the links above seem to work and so perhaps
this is a Flash issue?
-- 
Aaron Hsu <arcfide@sacrideo.us> | Jabber: arcfide@jabber.org
``Government is the great fiction through which everybody endeavors to
Post Reply
Re: Why can I not view this site using Opera
Sun, 30 Mar 2008 10:46:49 +000
~GSD~ said in
<news:47ef41cc$0$13240$5a62ac22@per-qv1-newsreader-01.iinet.net.au>:

> I like to get Australian rules football news and live match scores
> from the following web site http://afl.com.au/
>

The source code for the page looks awful. Full of javascript.
They seem to do a browser check, which goes like this:

====
/* Browser check */ var fMozilla = (typeof document.implementation !=
'undefined') && (typeof document.implementation.createDocument !=
'undefined') && (typeof HTMLDocument!='undefined'); var fSafari =
navigator.userAgent.toLowerCase().indexOf("safari") != -1; var fIE =
!this.fMozilla && !this.fSafari; /* default to IE */ var fIE7 =
navigator.userAgent.indexOf("MSIE 7.0") != -1; var fDNNAdminMode =
false; var fJSPage = true; var logoMouseOver = false; var tstyletype =
(fIE) ? "filter" : "MozOpacity";
====

Where' Opera?

-- 
Anne

Post Reply
Re: Why can I not view this site using Opera
Sun, 30 Mar 2008 11:22:29 +000
On Sun, 30 Mar 2008 18:31:24 +1100, "GSD"
<nospam@badexample.com>
wrote the following:

>I like to get Australian rules football news and live match scores from the
following web site 
>http://afl.com.au/
>
> Using Windows XP Serv Pack 2 I use Opera - latest version - as my main
browser but unfortunately it will not load the above  site whereas both IE7 and
Firefox do .
>
>Can anyone view this site fully in Opera and if so tell me what adjustments
I need to make . I have Java and Flash installed for Opera 

I tried with Opera 9.26 Build 8835 and Opera 9.50 Build 9841 and the
page wouldn't fully open. I tried K-Meleon which opened the page OK.
-- 

Post Reply
Re: Why can I not view this site using Opera
Sun, 30 Mar 2008 13:21:18 +010
On Sun, 30 Mar 2008 08:31:24 +0100, GSD <nospam@badexample.com> wrote:

> http://afl.com.au/
>
>  Using Windows XP Serv Pack 2 I use Opera - latest version - as my main  
> browser but unfortunately it will not load the above  site whereas both  
> IE7 and Firefox do .

I don't have a fix but the problem is that the Javascript in that page  
stops running when it tries to create a new object:

There's a function called 'LoadFlipper' that runs when you load the page.  
This function contains the following line:

   var pb = new utl2.Ticker({parent: p.body,lst: lst,fading: 1,duration:  
1000})

This Tries to make a copy (sort of) of another function called  
'utl2.Ticker'.

The first line of that function is:

   var args = utl2.findArgs(_TickerDef)

This runs yet another function called 'utl2.findArgs' and the problem lies  
with that function.

In 'utl2.findArgs', there is a line that says:

   var args = fIE ? arguments.caller : utl2.findArgs.caller.arguments;

...and what that code essentially means is, if the browser's IE7 then get  
'arguments.caller' otherwise get 'utl2.findArgs.caller.arguments'.

However, 'caller' is a deprecated part of Javascript and isn't supported  
by Opera 9 (I can't remember if it was supported in Opera 6 and below, but  
it certainly isn't in 7 and above), so it's therefore an 'undefined'  
property. Referencing this and attempting to reference its non-existent  
child properties kills the script in Opera.

Here's a link for 'caller' from Mozilla's Javascript reference guide:

http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Objects:Funct
ion:arguments:caller

It may be possible for someone to write a user Javascript for Opera that  
will replace the necessary functions with better code that works, but  
really the people who run that site should clean up their Javascript.

As an aside, the Javascript uses browser sniffing that checks explicitly  
for IE6, IE7, Mozilla and Safari, but not Opera or any other browser. This  
might lead to problems, but it's not the cause of the main issue that's  
Post Reply
Why can I not view this site using Opera
Sun, 30 Mar 2008 18:31:24 +110
I like to get Australian rules football news and live match scores from the
following web site 
http://afl.com.au/

 Using Windows XP Serv Pack 2 I use Opera - latest version - as my main browser
but unfortunately it will not load the above  site whereas both IE7 and Firefox
do .

Can anyone view this site fully in Opera and if so tell me what adjustments I
need to make . I have Java and Flash installed for Opera 

Post Reply
<< Previous 1 2 3 Next >>
( Page 1 of 3 )
about | contact