Firefox gets wide!

Bug reports and enhancement requests
Post Reply
rayeshman
Posts: 4
Joined: Fri Feb 12, 2016 5:13 pm

Firefox gets wide!

Post by rayeshman »

Image

Here's what happens when I open some sites (here for example:https://www.coursera.org/learn/calculus1)
I first tried with latest stable version and then with latest devel version, both gives the same.
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:42.0) Gecko/20100101 Firefox/42.0
barbaz
Senior Member
Posts: 11109
Joined: Sat Aug 03, 2013 5:45 pm

Re: Firefox gets wide!

Post by barbaz »

Do you have a HOSTS file (or similar) blocking facebook?
*Always* check the changelogs BEFORE updating that important software!
-
rayeshman
Posts: 4
Joined: Fri Feb 12, 2016 5:13 pm

Re: Firefox gets wide!

Post by rayeshman »

barbaz wrote:Do you have a HOSTS file (or similar) blocking facebook?
NO, but actually yes!
I live in Iran so, it is blocked by the government/ISP.
If it is that, please do something for your Iranian users.
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:42.0) Gecko/20100101 Firefox/42.0
barbaz
Senior Member
Posts: 11109
Joined: Sat Aug 03, 2013 5:45 pm

Re: Firefox gets wide!

Post by barbaz »

IMO they are doing you a favor blocking Facebook, but judging by that ABE message it seems their method of blocking is... suboptimal. Can you please open a Terminal, run

Code: Select all

dig www.facebook.com
and post here its output? Thanks.
*Always* check the changelogs BEFORE updating that important software!
-
rayeshman
Posts: 4
Joined: Fri Feb 12, 2016 5:13 pm

Re: Firefox gets wide!

Post by rayeshman »

barbaz wrote:IMO they are doing you a favor blocking Facebook, but judging by that ABE message it seems their method of blocking is... suboptimal. Can you please open a Terminal, run

Code: Select all

dig www.facebook.com
and post here its output? Thanks.

Code: Select all

 <<>> DiG 9.9.5-3ubuntu0.5-Ubuntu <<>> www.facebook.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 64623
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;www.facebook.com.		IN	A

;; ANSWER SECTION:
www.facebook.com.	842	IN	A	10.10.34.36

;; Query time: 50 msec
;; SERVER: 127.0.1.1#53(127.0.1.1)
;; WHEN: Mon Feb 15 16:22:49 IRST 2016
;; MSG SIZE  rcvd: 61
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:42.0) Gecko/20100101 Firefox/42.0
barbaz
Senior Member
Posts: 11109
Joined: Sat Aug 03, 2013 5:45 pm

Re: Firefox gets wide!

Post by barbaz »

Thanks.
That is not what I expected to see... I'm not sure enough details of your network setup to say what the real fix is here, so I'll post two possible fixes and let you pick the one you think is best. Please let us know, thanks.

:arrow: Possible fix #1 - just allow these requests to happen:
NoScript Options > Advanced > ABE > SYSTEM
add at the very top

Code: Select all

Site 10.10.34.36
Accept
:arrow: Possible fix #2 - continue to block the requests, but suppress the notification for subdocuments (which is a bug: viewtopic.php?f=23&t=18996):
change the SYSTEM rule (same SYSTEM as above) to read

Code: Select all

# Prevent Internet sites from requesting LAN resources.
Site LOCAL
Accept from LOCAL
Deny INC
Deny
*Always* check the changelogs BEFORE updating that important software!
-
rayeshman
Posts: 4
Joined: Fri Feb 12, 2016 5:13 pm

Re: Firefox gets wide!

Post by rayeshman »

Forget about your first solution because one of the most useful usage of NoScript is stoping THAT site from redirecting :/
But the second one seems to be working; though I expect you to fix it up in the next version so all the Iranians wouldn't have to change NoScript default settings and be unable to see notifs.
Thanks for your awesome addon :)
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:42.0) Gecko/20100101 Firefox/42.0
barbaz
Senior Member
Posts: 11109
Joined: Sat Aug 03, 2013 5:45 pm

Re: Firefox gets wide!

Post by barbaz »

(On behalf of Giorgio too) You're welcome! Image
*Always* check the changelogs BEFORE updating that important software!
-
Post Reply