Scroll Bars on German Ebay
Some web pages have the scroll go stupid and fill up the entire page top to bottom. You can't scroll even though there's more to display.
If I disable the extension then the page works fine.The attached pics are of the same page. Pic 1 has the translate OFF, pic 2 has translate ON. Notice that the scroll bar fills up the page even though there's more to scroll through.
Thanks for reporting this issue. You can observe the same thing happening with the following instructions:
- Disable the Opera Translate Extension in the Extensions Manager page.
- Open a German eBay product listings page (as you showed above).
- Open the 'Web Inspector' in Opera, go to 'Console', paste the following code and press Enter:
// Inject Google Translate callback script to web page
var extensionScript = document.createElement('script');
extensionScript.type = "text/javascript";
extensionScript.textContent =
["function googleTranslateElementInit() {",
' var elem = new google.translate.TranslateElement({',
' pageLanguage: "de"',
' });',
' elem.showBanner();',
'}'
].join('\n');
document.querySelector('BODY').appendChild(extensionScript);
// Inject Google Translate library script to web page
var translateElementScript = document.createElement('script');
translateElementScript.type = "text/javascript"
translateElementScript.src = '//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit&hl=en';
document.querySelector('BODY').appendChild(translateElementScript);
The same problem that you have reported can be observed.
Therefore the problem relates to the Google Translate JavaScript Widget and not the Opera Translate Extension itself. I was unable to find a way to report bugs on the Google Translate JavaScript Widget. If you know how we can do this then we can ask Google to look in to the issue.