Navigation

    • 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 12.18

    Opera for Windows
    28
    170
    51722
    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.
    • joshl
      joshl last edited by

      Dave, it's not for me, it's simple. Angles, for example. 😛

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

        @davehawley

        https://developer.mozilla.org/en-US/docs/Web/API/Document/hasFocus#Browser_compatibility

        opera doesnt support hasFocus, but there is non generic fix in browser.js

        if(hostname.endsWith('accounts.google.com')){
        		document.hasFocus=function(){return !document["hidden"];}
        		log('PATCH-1152, Google sign-on - fake hasFocus method');
        	}
        

        why its not generic I dont know, pretty stupid 😕

        here is a fix for you, make a file called whatever.js, put it in userjs directory:

        // ==UserScript==
        // @name blah
        // @version 0.1
        // @author Rasz_pl
        // @namespace
        // @description blah
        // @include			*churchservices.tv/*
        // ==/UserScript==
        document.hasFocus=function(){return !document["hidden"];};
        

        works like a charm, you are welcome 🙂

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

          It certainly does!
          @winterling will be delighted I'm sure!
          I take it this will fix any site with the same issue, not just churchservices.tv.
          I hope spammers don't harvest your e-mail address from that code BTW!
          🙂

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

            no, its only for this one site, you could change it by leaving only "*", but this is the first time I ever encountered hasFocus in ~13 years of using Opera, so I wouldnt sweat it. I would rather message admin of that site and tell him to remove it. Its in the code, but I dont think its even used, opened this site in Chrome and there is no difference between browser having focus or not = another case of clueless web designer making something non standard and broken.

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

              Thanks again!
              You haven't got a fix for the Facebook search field now being mis-placed have you?!
              😃

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

                You haven't got a fix for the Facebook search field now being mis-placed have you?!

                Actually, I already do.

                Make a CSS file containing the following:

                ._50tk, ._2t-e {
                    display: flex;
                }
                
                ._2t-e, ._50tm {
                    flex: 1;
                }
                

                Then set this file as the custom style sheet in site preferences for FB. Of course this solution may break when they make changes to the site again, but we'll see. 😉

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

                  A small fix – the first line of the CSS should be:

                  ._50tk, ._2t-e, ._2t-f {
                  
                  Reply Quote 0
                    1 Reply Last reply
                  • A Former User
                    A Former User last edited by

                    Thanks for the correction, that explains why the log off icon was missing in the first version!
                    So good to see the search field back where it should be, you sir, are a genius!
                    :love:

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

                      Email removed from here anyway ...

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

                        Good update... I is still usin Opera 12.18...

                        Reply Quote 0
                          1 Reply Last reply
                        • Deleted User
                          Deleted User last edited by

                          i cannot save ebay passwords anymore, there is no "save" popup after i have entered them.
                          also my saved ones from before are not offered, the yellow border is missing.

                          anyone same experience? can the save be triggered somehow manually?
                          would be immensly annoying if i would have to enter this every time.

                          rest of the sites work so far..

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

                            Go into the password manager, search for "ebay" and delete all the entries.
                            When you next go to the site the password save should be offered again.
                            Be aware that not all sites' login pages work with Opera 12's password manager now.
                            🙂

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

                              Be aware that not all sites' login pages work with Opera 12's password manager now.

                              This is often because those sites add autocomplete="off" attribute to their login forms. I've made a User JavaScript that fixes this:

                              // ==UserScript==
                              // @include http://stupidsite.com/login.php
                              // ==/UserScript==
                              
                              // prevent disabling autocomplete in forms
                              (function() {
                                  var tags = ["form", "input"];
                                  for (var t = 0, tag; tag = tags[t]; t++) {
                                      var nodes = document.getElementsByTagName(tag);
                                      for (var n = 0, node; node = nodes[n]; n++) {
                                          if (node.getAttribute("autocomplete") == "off") {
                                              node.setAttribute("autocomplete", "on"); // Opera 12 doesn't support autocomplete property
                                              node.parentElement.innerHTML += ""; // needed to make changes effective for form elements
                                          }
                                      }
                                  }
                              }());
                              

                              Place this in a file named autocompleteOn.user.js in your User JavaScript directory (specified here, usually it's C:\Users\<username>\AppData\Roaming\Opera\Opera\userjs) and adjust the site's address in the @include line. You can add @include lines for more sites. Then enable User JavaScript. Note that most login pages use HTTPS, so for this to work you also need to enable User JavaScript on HTTPS, but then please use it with caution as suggested in the docs (at the very bottom of the page).

                              EDIT: Apparently this dumb forum's software mangles Opera config links, so you need to remove the denied: prefix from them manually...

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

                                Just disable

                                opera:config#UserPrefs|AutocompleteOffDisablesWand
                                
                                Reply Quote 0
                                  1 Reply Last reply
                                • robkaw
                                  robkaw last edited by

                                  Just disable opera:config#UserPrefs|AutocompleteOffDisablesWand

                                  I have this one disabled yet Wand still won't work without the User JavaScript.

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

                                    Yes that option is un-checked for me too and has been for a long time, but I still get sites that won't prompt for their login details to be saved.
                                    Thanks so much again @robkaw for the userjs, I will certainly implement it!
                                    I assume that the double forward slash at the start of the @include line needs to be removed to make the list active?
                                    🙂

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

                                      I assume that the double forward slash at the start of the @include line needs to be removed to make the list active?

                                      No, the double slash is needed there. UserJS uses special markers in JS comments.

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

                                        Ah thanks, notation like that it sometimes used to mark inactive comments, so I thought I'd better check.
                                        If I add multiple web addresses to the script, do they each go on a new line with their own @include at the start and double forward slash at the beginning?
                                        🙂

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

                                          Yes.

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

                                            Thank you!
                                            🙂

                                            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-