• 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

    Opera keeps reverting Local State file

    Opera for Mac
    3
    5
    2846
    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.
    • uapprideque
      uapprideque last edited by

      I live in Hong Kong but I want to use the US version of Google.
      I tried http://www.google.com/ncr and it doesn't work.
      Then I tried modifying ~/Library/Application Support/com.operasoftware.Opera/Local State file:
      "location": {
      "country": "US",
      "country_from_server": "US",
      "timestamp": "1416296750600000000"
      },

      It only works for one browsing session. Which means if I completely exit Opera and reopen it the Local State file would revert to my actual location. (e.g. "country": "HK")
      Next I tried to make the Local State file read only. Now I will always get Google US but there's an annoying problem: every time I
      reopen Opera the speed dial would reset to default and this page (http://www.opera.com/o/welcome-to-opera?fr=1) would open like Opera is just newly installed.

      Reply Quote 0
        1 Reply Last reply
      • sgunhouse
        sgunhouse Moderator Volunteer last edited by

        Try not changing the timestamp - leave it the value currently in the file.

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

          Thank you for your reply. But I doubt the timestamp has anything to do with the issue since I never changed the timestamp in the file.

          Reply Quote 0
            1 Reply Last reply
          • A Former User
            A Former User last edited by

            You can try make the file unwritable.

            PS: Auto-update may misbehave afterwards.

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

              Thanks. I actually did make the file unwritable. While it solve my original problem, the speed dial would reset to default and this page (http://www.opera.com/o/welcome-to-opera?fr=1) would open every time I reopen Opera.

              Reply Quote 0
                1 Reply Last reply
              • 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