News for hackers. Stuff that matters.

XP1

Re:G+ doesn't support Opera... why? on Thursday July 21, 2011 @04:40AM (#2788880)
Not really. If you compare "Identify as Opera" and "Identify as Firefox", you will see that the web toolbar notifications and share buttons are missing for the Opera user agent (also, advanced feedback tools are missing, where it takes a screenshot and allows you to highlight the problem area).

I created the User JS and extension that will inject the code into the DOM. See my earlier post.

Re:G+ doesn't support Opera... why? on Thursday July 21, 2011 @04:37AM (#2788875)
You can bypass that by disabling the browser-checking functions. ;)
Re:G+ doesn't support Opera... why? on Thursday July 21, 2011 @04:34AM (#2788870)
> Probably lack of resources.

WHAT!

If you look at the JavaScript source code, you will see that Google is checking for the presence of Opera and then using that information to make it work in Opera.

The problem is the server-side browser sniffing that nullifies ALL THE THINGS.

Re:G+ doesn't support Opera... why? on Thursday July 21, 2011 @04:30AM (#2788863)
Google+ is blocking Opera, even though it will work fine in Opera.

Why is Google doing it? Ask Google. But Google already has a habit of blocking "unsupported" browsers, such as unknown browsers or browsers with small market share. If you have done something once, chances are that you have done it before. Google is ignorantly following tradition that will chastise people using that "unsupported" browser.

I have looked at the CSS, HTML, and JavaScript source code. Google uses unnecessary, server-side browser sniffing to send Opera a crippled webpage, missing CSS, HTML, and JavaScript, which, in effect, do not include web toolbar buttons and advanced feedback features.

If you don't already know, I created a User JS and extension for Google+ that will inject the missing HTML, CSS, and JavaScript so that the web toolbar notification and share buttons will work correctly.

See my post here, and try out my Google+ Injector User JS or extension: http://my.opera.com/community/forums/findpost.pl?id=9922772

Also, try out my Google +1 Button extension. My extension will let you +1 a webpage even if it lacks +1 buttons.

Feedback requested! Thanks.

--

Google+ Injector 1.03 now tries to detect the language instead of using English by default.

Google+ Injector: https://github.com/XP1/Google--for-Opera/

For the User JS, click on the file and then click "raw". For the extension, click "Downloads" and then install "googlePlusInjector-1.03.oex".

If you use the User JS, "User JavaScript on HTTPS" must be enabled, and you will get an HTTPS warning for each browsing session. opera:config#User%20JavaScript%20on%20HTTPS or opera:config#UserPrefs|UserJavaScriptonHTTPS

If you use the extension, "User JavaScript on HTTPS" does not have to be enabled, so you will not get an HTTPS warning for each browsing session. However, for extensions, "Allow interaction with secure pages" must be enabled.

Known issues: Webpages, like "https://plus.google.com/photos/ and "https://plus.google.com/circles/, do not have the notification and share text, so there is no way to get the the notification and share text for non-English languages. For these webpages, they will always show as "Notifications" and "Share", unless you edit the User JS.