Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

slashdot.org #2212

Closed
g-i-o-r-g-i-o opened this issue Nov 6, 2018 · 13 comments
Closed

slashdot.org #2212

g-i-o-r-g-i-o opened this issue Nov 6, 2018 · 13 comments

Comments

@g-i-o-r-g-i-o
Copy link

What is your browser and browser version?

63.0.1
the previous versions had the same problem

What is broken and where?

on slashdot.org and on all the subdomains (it, news etc), the site is completely broken (it shows only the text, no color at all)

@ghostwords
Copy link
Member

Hello! Were you able to follow the debug instructions to find the domain that breaks the site when blocked, and to get the debug output for that domain?

@g-i-o-r-g-i-o
Copy link
Author

g-i-o-r-g-i-o commented Nov 7, 2018 via email

@ghostwords
Copy link
Member

Which domains does Privacy Badger block on Slashdot sites for you?

@g-i-o-r-g-i-o
Copy link
Author

Yes

@g-i-o-r-g-i-o
Copy link
Author

g-i-o-r-g-i-o commented Nov 9, 2018

is anyone able to reproduce this? thanks

@ghostwords
Copy link
Member

ghostwords commented Nov 9, 2018

I wasn't yet able to reproduce but I see that other users run into the same problem when their Privacy Badger somehow learns to block "a.fsdn.com". You should be able to fix this for yourself by toggling "a.fsdn.com" to "green" in Privacy Badger's popup.

Could you run the following JavaScript code in your Privacy Badger's background page console and let us know what it shows?

(function () {
  const STR = getBaseDomain("a.fsdn.com");
  console.log("**** ACTION_MAP for", STR);
  _.each(badger.storage.getBadgerStorageObject('action_map').getItemClones(), (obj, domain) => {
    if (domain.indexOf(STR) != -1) console.log(domain, JSON.stringify(obj, null, 2));
  });
  console.log("**** SNITCH_MAP for", STR);
  _.each(badger.storage.getBadgerStorageObject('snitch_map').getItemClones(), (sites, domain) => {
    if (domain.indexOf(STR) != -1) console.log(domain, JSON.stringify(sites, null, 2));
  });
}());

To get to the background page console in Chrome, visit chrome://extensions, make sure "Developer mode" is checked, click on the "background page" link in Privacy Badger's row, and select the Console tab.

In Firefox, visit about:debugging, enable add-on debugging, click Debug next to Privacy Badger, click the OK button on the popup warning about remote debugging (if it gets shown), and enter the above script into the console after the >>.

@ghostwords
Copy link
Member

This might be related to #1538.

@g-i-o-r-g-i-o
Copy link
Author

g-i-o-r-g-i-o commented Nov 11, 2018

**** ACTION_MAP for fsdn.com
a.fsdn.com {
  "userAction": "",
  "dnt": false,
  "heuristicAction": "block",
  "nextUpdateTime": 1542118021702
}
fsdn.com {
  "userAction": "",
  "dnt": false,
  "heuristicAction": "block",
  "nextUpdateTime": 0
}
**** SNITCH_MAP for fsdn.com
fsdn.com [
  "slashdot.org",
  "sourceforge.net",
  "virtuallyfun.com"
]

@g-i-o-r-g-i-o
Copy link
Author

after running that I removed the fsdn data, but slashdot is still broken

@ghostwords
Copy link
Member

How did you remove the fsdn data? Did you reload Slashdot afterwards?

I can reproduce breakage when a.fsdn.com is blocked. I cannot reproduce breakage otherwise.

@ghostwords
Copy link
Member

Error report counts by page domain and exact blocked "fsdn.com" subdomain:

+----------------------------+--------------+-------+
| fqdn                       | blocked_fqdn | count |
+----------------------------+--------------+-------+
| slashdot.org               | a.fsdn.com   |    97 |
| sourceforge.net            | a.fsdn.com   |    62 |
| news.slashdot.org          | a.fsdn.com   |    14 |
| tech.slashdot.org          | a.fsdn.com   |    10 |
| science.slashdot.org       | a.fsdn.com   |     9 |
| yro.slashdot.org           | a.fsdn.com   |     9 |
| hardware.slashdot.org      | a.fsdn.com   |     6 |
...

@g-i-o-r-g-i-o
Copy link
Author

I still have the same problem on
https://entertainment.slashdot.org/story/18/11/28/1757205/nike-and-boeing-are-paying-sci-fi-writers-to-predict-their-futures

I had to enable the webdomain
a.fsdn.com

@ghostwords
Copy link
Member

Yep, that makes sense. We haven't released the fix yet, only finished it, so this won't be fixed automatically for all Badger users until the next release, which should be early next week.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants