Skip to content

muddled global variables breaking site in Opera #30

@nimbupani

Description

@nimbupani

The problem arises from the ad script, http://pagead2.googlesyndication.com/pagead/show_ads.js In this script, Opera gets into a code path due to the following browser sniffing –

var Ma=navigator.userAgent,Na=window.google_loader_experiment;
Q=(Aa.test(Ma)?i:Ba.test(Ma)?"async_bad_black"==Na:g)&&!window.google_container_id&&(!window.google_ad_output||"html"==window.google_ad_output)}
P=Q

later,
if(P){ ... }else{else window.q=j, ...

This messing up of window.q causes the failures. If we put Gecko or Chrome into this path or simply alter 'window.q' in the code path they take, the same failures are reproduced. Seems like a case of two unrelated scripts messing up with a global variable.

If you are not using these ads, perhaps the script could be removed?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions