noscript, boingboing.net and disqus
-
- Posts: 8
- Joined: Wed Jul 15, 2009 3:07 am
noscript, boingboing.net and disqus
BoingBoing just switched over to using a Disqus back-end for comments on its blog posts. Until now, I've been able to use that site with JS completely off, but no longer. So I'm going to have to allow Disqus to take part in any discussions over there.
Does anyone have any tips for only allowing JS from Disqus when it's used on that site (or any single site, more generally)? I don't really want it enabled for every random site I visit ...
Does anyone have any tips for only allowing JS from Disqus when it's used on that site (or any single site, more generally)? I don't really want it enabled for every random site I visit ...
Mozilla/5.0 (Windows NT 6.0; WOW64; rv:8.0a1) Gecko/20110723 Firefox/8.0a1
- Giorgio Maone
- Site Admin
- Posts: 9524
- Joined: Wed Mar 18, 2009 11:22 pm
- Location: Palermo - Italy
- Contact:
Re: noscript, boingboing.net and disqus
Mozilla/5.0 (Windows NT 5.2; WOW64; rv:5.0) Gecko/20100101 Firefox/5.0
-
- Posts: 8
- Joined: Wed Jul 15, 2009 3:07 am
Re: noscript, boingboing.net and disqus
Wow. I was pessimistic when I first asked, but that looks a lot better than I expected. Maybe I shouldn't be surprised at NoScript functionality.
Thanks.

Mozilla/5.0 (Windows NT 6.0; WOW64; rv:8.0a1) Gecko/20110723 Firefox/8.0a1
-
- Posts: 8
- Joined: Wed Jul 15, 2009 3:07 am
Re: noscript, boingboing.net and disqus
What's the difference, for items in the "Blocked Objects..." submenu, between an item, and the same item with a second site in parens next to it?
I.e., what's the difference between these two?
Temporarily allow *@http://mediacdn.disqus.com
Temporarily allow *@http://mediacdn.disqus.com (http://boingboing.net)
I.e., what's the difference between these two?
Temporarily allow *@http://mediacdn.disqus.com
Temporarily allow *@http://mediacdn.disqus.com (http://boingboing.net)
Mozilla/5.0 (Windows NT 6.0; WOW64; rv:8.0a1) Gecko/20110724 Firefox/8.0a1
-
- Posts: 8
- Joined: Wed Jul 15, 2009 3:07 am
Re: noscript, boingboing.net and disqus
I'm getting a ClearClick warning for the post comment "reply" box on BoingBoing's Disqus implementation. I usually don't allow things I get a ClearClick warning for .. if I allow it does the permission persist? I notice there's no UI for a ClearClick exceptions whitelist (just the checkboxes for Trusted and Untrusted, as far as I've seen) so if the permission persists, where is that stored? In noscript.clearClick.exceptions, noscript.clearClick.subexceptions?
Mozilla/5.0 (Windows NT 6.0; WOW64; rv:8.0a1) Gecko/20110724 Firefox/8.0a1
- Giorgio Maone
- Site Admin
- Posts: 9524
- Joined: Wed Mar 18, 2009 11:22 pm
- Location: Palermo - Italy
- Contact:
Re: noscript, boingboing.net and disqus
The former unconditionally allows embedding object from http://mediacdn.disqus.com on any page, the latter on http://boingboing.net only.orangesoda wrote: I.e., what's the difference between these two?
Temporarily allow *@http://mediacdn.disqus.com
Temporarily allow *@http://mediacdn.disqus.com (http://boingboing.net)
Regarding the ClearClick warning, you probably want to add some disqus URL to the noscript.clearClick.subexceptionbs (page which can be embedded without being checked) about:config preference.
However, since the problem with discus may be widespread, could you send me a Report ID so I can see if the exception is worth adding to the default preference?
Mozilla/5.0 (Windows NT 5.2; WOW64; rv:5.0) Gecko/20100101 Firefox/5.0
-
- Posts: 8
- Joined: Wed Jul 15, 2009 3:07 am
Re: noscript, boingboing.net and disqus
Thanks for the answers.
Sure, I just sent Report ID 1840947.Giorgio Maone wrote:.. could you send me a Report ID so I can see if the exception is worth adding to the default preference?
Mozilla/5.0 (Windows NT 6.0; WOW64; rv:8.0a1) Gecko/20110724 Firefox/8.0a1
Re: noscript, boingboing.net and disqus
Hi, I've read the FAQ and made an honest attempt on figuring this out but still can't setup ABE to allow disqus only on boingboing.net. What is missing in this code:
Code: Select all
Site *.disqus.com disqus.com
Accept from boingboing.net
Deny
Mozilla/5.0 (Windows NT 5.1; rv:9.0.1) Gecko/20100101 Firefox/9.0.1
Re: noscript, boingboing.net and disqus
If we look at the sample rule in that FAQ,thomas4 wrote:Hi, I've read the FAQ and made an honest attempt on figuring this out but still can't setup ABE to allow disqus only on boingboing.net. What is missing in this code:Code: Select all
Site *.disqus.com disqus.com Accept from boingboing.net Deny
Code: Select all
# google-analytics.com rule
Site google-analytics.com *.google-analytics.com
Accept from friend.com *.friend.com friend2.com *.friend2.com
Deny
once as only the domain name, friend.com, and once as *.friend.com. ("wildcarding" the friend.com domain)
The site name may be www dot boingboing.net, but the JSView add-on also shows scripts from
http// boingbiong.net (no www) and mint.boingboing.net.
So add to your rule:
Code: Select all
Site *.disqus.com disqus.com
Accept from boingboing.net *.boingboing.net
Deny

I'm a big believer in following instructions, even before all else fails

Code: Select all
Site disqus.com *.disqus.com
Accept from boingboing.net *.boingboing.net
Deny
(The documentation isn't clear on whether just
*.friend.com,
or just
.friend.com
will suffice as wildcards or "globs" by themselves, and there's already a request to Giorgio to clarify that when he's able to turn his attention to it. So let's just follow the entire pattern until then.)
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.25) Gecko/20111212 Firefox/3.6.25
Re: noscript, boingboing.net and disqus
Tom, the ABE rules specification says on p. 5:Tom T. wrote: (The documentation isn't clear on whether just
*.friend.com,
or just
.friend.com
will suffice as wildcards or "globs" by themselves, and there's already a request to Giorgio to clarify that when he's able to turn his attention to it. So let's just follow the entire pattern until then.)
Thus, .boingboing.net should cover both boingboing.net and *.boingboing.net. And in my experience it does indeed.*.some.site.com
glob expression; a glob expression starting with “.” will match both the subdomains having
it as a suffix and the domain stripped of the leading dot.
Mozilla/5.0 (Ubuntu; X11; Linux x86_64; rv:9.0.1) Gecko/20100101 Firefox/9.0.1
- GµårÐïåñ
- Lieutenant Colonel
- Posts: 3369
- Joined: Fri Mar 20, 2009 5:19 am
- Location: PST - USA
- Contact:
Re: noscript, boingboing.net and disqus
*.<any_domain> simply means it will include all the subdomains, such as www. xyz. abc. as in *.google.com will accept www.google.com, mail.google.com, plus.google.com, etc. If you want JUST the domain and nothing descendent from it, then don't use the *. in the front.
~.:[ Lï£ê ï§ å Lêmðñ åñÐ Ì Wåñ† M¥ Mðñê¥ ßå¢k ]:.~
________________ .: [ Major Mike's ] :. ________________
________________ .: [ Major Mike's ] :. ________________
Mozilla/5.0 (Windows NT 6.1; rv:8.0) Gecko/20100101 Firefox/8.0
Re: noscript, boingboing.net and disqus
Tom T. et al: Your suggested revised code doesn't fix the problem in my Firefox.
When I load an article on boingboing.net noscript in default blocks these:
disqus.com
admob.com
chartbeat.com
fmpub.net
typekit.com
Without your ABE code (modelled on the FAQ), I can display the discuss discussion posts by temporarily allowing all of the above. (Temporarily allowing only disqus.com and not the others is not enough.)
In contrast, using your ABE code doesn't show the discussion automatically. Furthermore, temporarily allowing all of the above still doesn't result in the discussion posts being shown as long as the ABE code is active. But if I then go to ABE settings and remove the code and press OK then the discussion posts are shown. So the code under examination effectively prevents the discussions posts it seems.
When I load an article on boingboing.net noscript in default blocks these:
disqus.com
admob.com
chartbeat.com
fmpub.net
typekit.com
Without your ABE code (modelled on the FAQ), I can display the discuss discussion posts by temporarily allowing all of the above. (Temporarily allowing only disqus.com and not the others is not enough.)
In contrast, using your ABE code doesn't show the discussion automatically. Furthermore, temporarily allowing all of the above still doesn't result in the discussion posts being shown as long as the ABE code is active. But if I then go to ABE settings and remove the code and press OK then the discussion posts are shown. So the code under examination effectively prevents the discussions posts it seems.
Mozilla/5.0 (Windows NT 5.1; rv:9.0.1) Gecko/20100101 Firefox/9.0.1
Re: noscript, boingboing.net and disqus
Those are two different statements. If you look at the thread to which I linked, the confusion is:tlu wrote:Tom, the ABE rules specification says on p. 5:Tom T. wrote: (The documentation isn't clear on whether just
*.friend.com,
or just
.friend.com
will suffice as wildcards or "globs" by themselves, and there's already a request to Giorgio to clarify that when he's able to turn his attention to it. So let's just follow the entire pattern until then.)*.some.site.com
glob expression; a glob expression starting with “.” will match both the subdomains having
it as a suffix and the domain stripped of the leading dot.
*.some.site.com starts with a leading asterisk.
"." doesn't include a leading asterisk.
.some.site.com is not the same syntax as *.some.site.com. Agreed?
This is the ambiguity that needs to be cleared up in the documentation.
That's useful to know, and thanks for the input. But again, the documentation should say exactly that.tlu wrote:Thus, .boingboing.net should cover both boingboing.net and *.boingboing.net. And in my experience it does indeed.
For max simplicity, if .site.com works identically as *.site.com, then *.site.com should be dropped from the rules altogether.
That would have been useful information in your first post.thomas4 wrote:I can display the discuss discussion posts by temporarily allowing all of the above. (Temporarily allowing only disqus.com and not the others is not enough.)
I'll have to go to the site itself, play with the comment things, etc., see what's needed, and come back with the results. Will do so when time permits, thanks.
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.25) Gecko/20111212 Firefox/3.6.25
Re: noscript, boingboing.net and disqus
I was able to display comments (with no ABE rule) by temp-allowing only boingboing.net and disqus.com, plus pointing to Blocked Objects (which doesn't show until the page reloads after the allow), and temp-allowing
If you have boing and disqus whitelisted, this object should already show in your NS menu.
The ABE rule does seem to prevent the latter from loading. I ran out of time after eliminating, one-by-one, all of those other scripts that you said were necessary to display comments. (They aren't. Somewhere in there, probably by "Allow all this page", the above object got allowed.)
So, anyone know off the top of their head how to allow the Font@ thing in ABE? I tried a couple of ways, without success, but had to move on.
ETA: That was on 3.6.25, and once allowed, it seemed to be sticky. On Fx 9.01, comments display without that object, which doesn't show in the menu. But the ABE rule still kills the comments, which is why that object is the suspected culprit.
Code: Select all
Font@http://mediacdn.disqus.com (http://boingboing.net)
The ABE rule does seem to prevent the latter from loading. I ran out of time after eliminating, one-by-one, all of those other scripts that you said were necessary to display comments. (They aren't. Somewhere in there, probably by "Allow all this page", the above object got allowed.)
So, anyone know off the top of their head how to allow the Font@ thing in ABE? I tried a couple of ways, without success, but had to move on.
ETA: That was on 3.6.25, and once allowed, it seemed to be sticky. On Fx 9.01, comments display without that object, which doesn't show in the menu. But the ABE rule still kills the comments, which is why that object is the suspected culprit.
Mozilla/5.0 (Windows NT 5.1; rv:9.0.1) Gecko/20100101 Firefox/9.0.1
Re: noscript, boingboing.net and disqus
Thanks Tom! I will test this out more later today when I get back from work. I should say that I'm new to both noscript and ABE so there is a steep learning curve on all aspects of this for me.
Mozilla/5.0 (Windows NT 5.1; rv:9.0.1) Gecko/20100101 Firefox/9.0.1