• Login
    • Search
    • Categories
    • Recent
    • Tags
    • Users
    • Groups
    • Rules
    • Help

    Do more on the web, with a fast and secure browser!

    Download Opera browser with:

    • built-in ad blocker
    • battery saver
    • free VPN
    Download Opera

    how to debug mobile opera gx?

    Opera GX
    1
    2
    1022
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • gammes
      gammes last edited by

      We have a website with protected images on it. But we noticed that on the phone version of opera gx the images don't load. we want to debug our javascript to see where it goes wrong but till now can't find a working tutorial on how to debug opera gx.
      We also tested it on the normal opera gx for windows and the normal opera on phone but there it does work which is weird as we expected to find the same behavior.

      Reply Quote 0
        1 Reply Last reply
      • gammes
        gammes last edited by gammes

        We are a bit further but not a lot. I will document what we know and end it with that, in hopes that the next person doesn't have to ask the same questions.
        it seems opera gx uses/copied most of the code of opera touch. So we tried to find debug methods for opera touch
        but could only find: https://forums.opera.com/topic/30160/opera-touch-android-debug-javascript
        It seems that that is also not an option.
        other than that opera gx has a log option but it's not a console log nor does it have a lot of info(you can get it by spamming the version button)

        we think that it's based on opera touch on the fact that the design is the same and also because the javascript that we get back is called window.oprt hence oprt meaning (OPeRa Touch) at least that is what we expect.

        Other than that what we have found out till now:
        opera gx seems to have a switch between if it will add javascript to the site or not. this made finding the problem harder.
        if there are not enough files in the cache it writes over some functions like revokeObjectURL(we don't know if there are more functions getting rewritten).
        after most files are in cache and the user refreshes it won't rewrite those browser functions.
        the problem with how they are rewritten it is that it's on the javascript level, not a browser level. so instead of it getting back
        function functionName() { [native code] } for a native functions
        you will get:
        function functionName() { custom function }
        making it so that you don't know if the function is rewritten by the javascript of the browser or because of malicious intent by a user.

        For now, sadly we could not find anything online about how to disable it for our site or why opera even has this "feature" as it's in non of their windows/ios/mac counterparts, at least as far as we could find.

        Reply Quote 0
          1 Reply Last reply
        • Locked by  leocg leocg 
        • First post
          Last post

        Computer browsers

        • Opera for Windows
        • Opera for Mac
        • Opera for Linux
        • Opera beta version
        • Opera USB

        Mobile browsers

        • Opera for Android
        • Opera Mini
        • Opera Touch
        • Opera for basic phones

        • Add-ons
        • Opera account
        • Wallpapers
        • Opera Ads

        • Help & support
        • Opera blogs
        • Opera forums
        • Dev.Opera

        • Security
        • Privacy
        • Cookies Policy
        • EULA
        • Terms of Service

        • About Opera
        • Press info
        • Jobs
        • Investors
        • Become a partner
        • Contact us

        Follow Opera

        • Opera - Facebook
        • Opera - Twitter
        • Opera - YouTube
        • Opera - LinkedIn
        • Opera - Instagram

        © Opera Software 1995-2025