[RESOLVED] XDA and GoogleAPIs
[RESOLVED] XDA and GoogleAPIs
It doesn't matter what I try, the FAQ just isn't explaining the concept well enough.
Site *.xda-developers.com
Accept from *.googleapis.com *.xda-developers.com
Deny
No logical variation of this syntax will allow googleapis.com for xda.
What am I doing wrong?
Site *.xda-developers.com
Accept from *.googleapis.com *.xda-developers.com
Deny
No logical variation of this syntax will allow googleapis.com for xda.
What am I doing wrong?
Mozilla/5.0 (X11; FreeBSD i386; rv:15.0) Gecko/20100101 Firefox/15.0.1
Re: XDA and GoogleAPIs
Reversing the requesting site and the destination of the request.
Also, you must *allow* googleapis in NoScript. Then your ABE rule DENY blocks requests to googleapis from every site on the planet except the one from which you specifically allowed this request to pass (from xda to Gapi).
Also, you must *allow* googleapis in NoScript. Then your ABE rule DENY blocks requests to googleapis from every site on the planet except the one from which you specifically allowed this request to pass (from xda to Gapi).
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:15.0.1) Gecko/20100101 Firefox/15.0.1
- GµårÐïåñ
- Lieutenant Colonel
- Posts: 3370
- Joined: Fri Mar 20, 2009 5:19 am
- Location: PST - USA
- Contact:
Re: XDA and GoogleAPIs
Did you actually allow XDA and GAPI permanently in NoScript side of the equation?
/edit: holy crap, as soon as I wrote this, I read what TOM said and its practically the same thing. oh well, at least you hear it twice.
/edit: holy crap, as soon as I wrote this, I read what TOM said and its practically the same thing. oh well, at least you hear it twice.
~.:[ Lï£ê ï§ å Lêmðñ åñÐ Ì Wåñ† M¥ Mðñê¥ ßå¢k ]:.~
________________ .: [ Major Mike's ] :. ________________
________________ .: [ Major Mike's ] :. ________________
Mozilla/5.0 (Windows NT 6.1; rv:15.0) Gecko/20100101 Firefox/15.0.1
Re: XDA and GoogleAPIs
You made the same mistake as the OP: Reversing things. Maybe next time, try it the other way around:GµårÐïåñ wrote:Did you actually allow XDA and GAPI permanently in NoScript side of the equation?
/edit: holy crap, as soon as I wrote this, I read what TOM said and its practically the same thing. oh well, at least you hear it twice.
Read the previous comments *before* posting, instead of *after*.

(said all in good fun and friendship; you know that, my friend.

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:15.0.1) Gecko/20100101 Firefox/15.0.1
- GµårÐïåñ
- Lieutenant Colonel
- Posts: 3370
- Joined: Fri Mar 20, 2009 5:19 am
- Location: PST - USA
- Contact:
Re: XDA and GoogleAPIs
No, its the freaking last read message issue, and I am pretty good at not falling for that, but occasionally since it will stop at that, I read it and gut shot reply without realizing there was post by another until AFTER it refreshes and I see, crap, there are others in between. It doesn't happen often, you know me, but it happens. Good to know at least that I am still humanTom T. wrote:You made the same mistake as the OP: Reversing things. Maybe next time, try it the other way around:
Read the previous comments *before* posting, instead of *after*.![]()
(said all in good fun and friendship; you know that, my friend.)


~.:[ Lï£ê ï§ å Lêmðñ åñÐ Ì Wåñ† M¥ Mðñê¥ ßå¢k ]:.~
________________ .: [ Major Mike's ] :. ________________
________________ .: [ Major Mike's ] :. ________________
world is a vampire and browsers are zombies and users are the virus
Re: XDA and GoogleAPIs
Oh, OK. I've been bitten by that "last read" thing, too. Really bad when the new posts are on a new page, and you get taken to the old page, to the post right after yours.
I'll edit out the Mr. Greens.
I'll edit out the Mr. Greens.

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:15.0.1) Gecko/20100101 Firefox/15.0.1
- GµårÐïåñ
- Lieutenant Colonel
- Posts: 3370
- Joined: Fri Mar 20, 2009 5:19 am
- Location: PST - USA
- Contact:
Re: XDA and GoogleAPIs
Bingo, that's what happened. I am pretty good at not falling for it, but on rare occasions, it happens. The usual ones that get me are the ones that get like a bazillion posts within like 30 minutes and you don't even realize that, hell you not only have a few posts, but few pages often on top of you. So when you make the statement you realize its freaking 5 pages too obsolete or by then so OT and irrelevant to the OP or the CT that it wasn't worth the time. Anyway, my apologies. The only reason I left the post was to basically publicly flog myself for making the mistake and utterly humiliate and shame myself into not doing it again.Tom T. wrote:Oh, OK. I've been bitten by that "last read" thing, too. Really bad when the new posts are on a new page, and you get taken to the old page, to the post right after yours.

~.:[ Lï£ê ï§ å Lêmðñ åñÐ Ì Wåñ† M¥ Mðñê¥ ßå¢k ]:.~
________________ .: [ Major Mike's ] :. ________________
________________ .: [ Major Mike's ] :. ________________
world is a vampire and browsers are zombies and users are the virus
Re: XDA and GoogleAPIs
I did try all variations; including reversing those. Good to know what the right order is.Tom T. wrote:Reversing the requesting site and the destination of the request.
Also, you must *allow* googleapis in NoScript. Then your ABE rule DENY blocks requests to googleapis from every site on the planet except the one from which you specifically allowed this request to pass (from xda to Gapi).
Now having to allow googleapis! That is what I missed.
I don't like that. I want to see that it is being blocked, and be able to optionally allow it on other websites too.
Also, it isn't working. I allowed it, and here's my code:
Site *.googleapis.com
Accept from .xda-developers.com
Deny
With this, googleapis is being accepted everywhere. This is really, really frustrating me. If, on the off chance ABE is silently blocking it and giving no user feedback that it is doing so, then this is terrible. If I compiled a large list in ABE and all objects showed up as allowed on every website that tried to access them, I'd be in a real clusterflock trying to figure out what isn't working...
Last edited by Tom T. on Tue Oct 09, 2012 9:13 am, edited 1 time in total.
Reason: edited for language
Reason: edited for language
Mozilla/5.0 (X11; FreeBSD i386; rv:15.0) Gecko/20100101 Firefox/15.0.1
Re: XDA and GoogleAPIs
The interface for ABE does need work. Want to help?link68759 wrote:This is really, really frustrating me. If, on the off chance ABE is silently blocking it and giving no user feedback that it is doing so, then this is terrible.
======
Thrawn
------------
Religion is not the opium of the masses. Daily life is the opium of the masses.
True religion, which dares to acknowledge death and challenge the way we live, is an attempt to wake up.
Thrawn
------------
Religion is not the opium of the masses. Daily life is the opium of the masses.
True religion, which dares to acknowledge death and challenge the way we live, is an attempt to wake up.
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:15.0) Gecko/20100101 Firefox/15.0.1
Re: XDA and GoogleAPIs
It's also user-configurable. Please look at NoScript Options > Notifications and ensure that ABE is checked. If it isn't, there is your problem.link68759 wrote: ...With this, googleapis is being accepted everywhere. This is really, really frustrating me. If, on the off chance ABE is silently blocking it and giving no user feedback that it is doing so, then this is terrible. ...
If checking this box eventually drives you nuts from all of the notifications, you may uncheck it once you are satisfied that ABE actually works.
If that doesn't do it, we'll go from there.
Then you're better off not using ABE at all for this purpose (which was not its original purpose -- see the introductory phrase of FAQ 8.10). It's too cumbersome to keep modifying your rules over and over, so just remove googleapis from the whitelist (it's there by default), which puts it in the "default-deny" zone. (Don't "Mark As Untrusted", or it will not show in the main menu; you'd need to look in the Untrusted sub-menu.)be able to optionally allow it on other websites too
Then temporarily allow it at the sites you wish. Be sure to "revoke temporary permissions" before leaving the page or opening new tabs at which you don't want it allowed. (Or close/restart the browser, which ends temp permissions.) One mouseover to open the NS menu, and one click on TA Gapi. Simple and fast.
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:15.0.1) Gecko/20100101 Firefox/15.0.1
- GµårÐïåñ
- Lieutenant Colonel
- Posts: 3370
- Joined: Fri Mar 20, 2009 5:19 am
- Location: PST - USA
- Contact:
Re: XDA and GoogleAPIs
NO, it only appears that way. You are marking the rule to allow googleapis.com and it may seem like, oh god all sites have access now, but that's not true. Your rule in ABE is giving ONLY XDA access to it, which means be default EVERYONE gets hit by the deny portion. SO if anything, you crippled GAPI more than it would have been had you selectively allowed it in NS.link68759 wrote:With this, googleapis is being accepted everywhere. This is really, really frustrating me. If, on the off chance ABE is silently blocking it and giving no user feedback that it is doing so, then this is terrible. If I compiled a large list in ABE and all objects showed up as allowed on every website that tried to access them, I'd be in a real clusterflock trying to figure out what isn't working...
~.:[ Lï£ê ï§ å Lêmðñ åñÐ Ì Wåñ† M¥ Mðñê¥ ßå¢k ]:.~
________________ .: [ Major Mike's ] :. ________________
________________ .: [ Major Mike's ] :. ________________
world is a vampire and browsers are zombies and users are the virus
Re: XDA and GoogleAPIs
I hate to break it to you but I just verified that the ABE config I posted above is allowing googleapis globally. I switched out .xda-developers.com with another site, and xda is certainly still using it (and things are broken when I disable it within noscript).GµårÐïåñ wrote:NO, it only appears that way. You are marking the rule to allow googleapis.com and it may seem like, oh god all sites have access now, but that's not true. Your rule in ABE is giving ONLY XDA access to it, which means be default EVERYONE gets hit by the deny portion. SO if anything, you crippled GAPI more than it would have been had you selectively allowed it in NS.link68759 wrote:With this, googleapis is being accepted everywhere. This is really, really frustrating me. If, on the off chance ABE is silently blocking it and giving no user feedback that it is doing so, then this is terrible. If I compiled a large list in ABE and all objects showed up as allowed on every website that tried to access them, I'd be in a real clusterflock trying to figure out what isn't working...
EDIT;
I finally fixed it.
Site .googleapis.com
Accept from .xda-developers.com
Deny INCLUSION
Apparently the first . is required for googleapis: in the various literature (faq, manual), the . is suggested but examples are often listed without it, this should be corrected.
Edit 2:
What does "deny inclusion" actually mean?
Mozilla/5.0 (X11; FreeBSD i386; rv:15.0) Gecko/20100101 Firefox/15.0.1
Re: XDA and GoogleAPIs
I was going to suggest getting rid of the asterisks in the first place, but couldn't immediately find the old discussions on that issue, or remember the outcome.
They were here and here.
That was in January of this year. The ABE Rules .pdf, Version 0.9, dated 2012-03-15, still shows asterisks before the dot in glob expressions.
I will again ask Giorgio to make all ABE documentation consistent on this issue, thanks.
"Cross Site Script Inclusion (XSSI)"
They were here and here.
That was in January of this year. The ABE Rules .pdf, Version 0.9, dated 2012-03-15, still shows asterisks before the dot in glob expressions.
I will again ask Giorgio to make all ABE documentation consistent on this issue, thanks.
There's an excellent, brief, non-tech explanation of that here; go down the page to the part entitledWhat does "deny inclusion" actually mean?
"Cross Site Script Inclusion (XSSI)"
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:15.0.1) Gecko/20100101 Firefox/15.0.1
- Giorgio Maone
- Site Admin
- Posts: 9526
- Joined: Wed Mar 18, 2009 11:22 pm
- Location: Palermo - Italy
- Contact:
Re: XDA and GoogleAPIs
Could you please point out the misleading places for me to correct them?link68759 wrote: Apparently the first . is required for googleapis: in the various literature (faq, manual), the . is suggested but examples are often listed without it, this should be corrected.
Thanks.
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:15.0) Gecko/20100101 Firefox/15.0.1
Re: XDA and GoogleAPIs
Chapter 1.3, on Page 5, shows glob expression syntax as follows:Tom T. wrote:... The ABE Rules .pdf, Version 0.9, dated 2012-03-15, still shows asterisks before the dot in glob expressions....
*.some.site.com instead of .some.site.com
FAQ 8.10 shows in the first example:
Code: Select all
Site google-analytics.com *.google-analytics.com
Accept from friend.com *.friend.com friend2.com *.friend2.com
Code: Select all
Site .facebook.com .fbcdn.net .facebook.net
Accept from .facebook.com .fbcdn.net .facebook.net .mafiawars.com .eamobile.com
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:15.0.1) Gecko/20100101 Firefox/15.0.1