Opera 12.18
-
A Former User last edited by
Yes, it's really annoying, I don't care what @joshl and others who try to justify the use of the stupid markdown system here say!
Thanks very much for that, but the videos are still not working on churchservices.tv.
Should this have fixed them?
The videos on twitch.tv do seem to be working.
-
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
-
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!
-
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.
-
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?!
-
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.
-
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: -
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..
-
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.
-
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'sC:\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... -
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.
-
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?
-
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.
-
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?