Page 1 of 1

How to permanently allow an object (e.g. google talk)

Posted: Thu Jun 23, 2011 7:28 pm
by Elvey
How do I permanently allow an object?

I'm trying to make google talk (within gmail) work better.
{Temporarily allow googletalk@https://mail.google.com/mail} works to make google talk work, but I'd like to make the change permanent.

Until I do that, google talk displays the misleading error message: "Please download the voice plugin to make a call." (I have 'Forbid other plugins' checked in Options..Embeddings; I don't recall if that's the default, but it seems like a good idea.)

I thought adding something to the ABE USER ruleset would work, but I tried this:

Site mail.google.com
Accept ALL from https://mail.google.com

and it didn't help.


PS: https://mail.google.com/rules.abe doesn't exist. I enabled 'Allow sites to push their own rulesets' and it didn't help (but it did cause the reload to take a LONG time.)

Re: How to permanently allow an object (e.g. google talk)

Posted: Thu Jun 23, 2011 7:41 pm
by dhouwn
noscript.allowedMimeRegExp is what you are looking for.

ABE is something completely different, generally working on a different layer (the one where requests are made). It could theoretically be made into its own extension without much work.

Re: How to permanently allow an object (e.g. google talk)

Posted: Fri Jun 24, 2011 2:04 am
by Elvey
dhouwn wrote:noscript.allowedMimeRegExp is what you are looking for.

ABE is something completely different, generally working on a different layer (the one where requests are made). It could theoretically be made into its own extension without much work.
Aha. Thanks!

I tried simply setting that variable to "googletalk" (in about:config, and then reloading the gmail page), but that didn't do it. Nor did "googletalk.*", or "application/googletalk", or "application/googletalk" - including the double quotes, but I didn't really expect 'em to.

"application/pdf" is given as an example.

The NoScript changelog mentions:
ยท mime/type@http://site.com syntax support for noscript.allowedMimeRegExp preference

application/googletalk seems to be the mime type. :?


BTW, I already have google.com in my whitelist.

Re: How to permanently allow an object (e.g. google talk)

Posted: Fri Jun 24, 2011 5:26 pm
by dhouwn
Is the MIME type the same as displayed at about:plugins?

Re: How to permanently allow an object (e.g. google talk)

Posted: Thu Jul 07, 2011 8:17 am
by Elvey
@dhouwn: Yes.
about:plugins lists
MIME Type .......................Description ...............................Suffixes
application/googletalk......Google voice and video chat ....googletalk

Re: How to permanently allow an object (e.g. google talk)

Posted: Thu Jul 07, 2011 4:17 pm
by Giorgio Maone

Code: Select all

application/googletalk@https?://.*\.google\.com

Re: How to permanently allow an object (e.g. google talk)

Posted: Sat Sep 10, 2011 4:42 pm
by Elvey
Awesome! Grazie mille!

FYI, this is a common problem! (There are many, many threads at https://www.google.com/support/chat/bin ... re%3Aforum) so I suggest adding an FAQ entry, or even perhaps adding this to the default config.

Re: How to permanently allow an object (e.g. google talk)

Posted: Tue Oct 11, 2011 7:25 am
by Elvey
Giorgio Maone wrote:

Code: Select all

application/googletalk@https?://.*\.google\.com
Ok, so if I want to allow google voice messages to play back,

application/shockwave-flash@https?://.*\.google\.com//voice
Should work, and if I want to allow both, use (foo|bar) syntax like this? Escaping the lost, I guess? :

\(application/googletalk@https?://.*\.google\.com\|application/shockwave-flash@https?://.*\.google\.com//voice\)

I guess I can try it and report back...

Re: How to permanently allow an object (e.g. google talk)

Posted: Thu Nov 03, 2011 10:00 pm
by Elvey
No, that didn't work... What's wrong with this? :

\(application/googletalk@https?://.*\.google\.com\|application/shockwave-flash@https?://.*\.google\.com//voice\)


This works, but it's not as secure as I'd like:
application/.*@https?://.*\.google\.com