Treefort54 Party Headquarters
Chrome extension to hide unimportant threads - Printable Version

+- Treefort54 Party Headquarters (https://treefort54.com/mies)
+-- Forum: Internals (https://treefort54.com/mies/forum-6.html)
+--- Forum: Politburo (https://treefort54.com/mies/forum-7.html)
+--- Thread: Chrome extension to hide unimportant threads (/thread-289.html)

Pages: 1 2


Chrome extension to hide unimportant threads - tobobo - 10-24-2013

Download here: https://www.dropbox.com/s/5jbwstlj3cngb89/Dreamless.crx

It uses a sophisticated algorithm to determine which threads should be hidden from view. Source code here:

Code:
Array.prototype.slice.call(document.querySelectorAll('.author')).forEach(function(el){
  if (el.innerHTML.indexOf('FuturDreamz') > 0) {
    while (!!el.parentNode) {
      el = el.parentNode;
      if (el.nodeName === 'TR') {
        el.parentNode.removeChild(el);
        break;
      }
    }
  }
});

Open your Chrome extensions page, drag the .crx file in, and enjoy.


RE: Chrome extension to hide unimportant threads - Og - 10-24-2013

zOMG POTATODEFECATION

I wonder if it works for admins...


RE: Chrome extension to hide unimportant threads - tobobo - 10-24-2013

If you wanna tweak it to your liking, here's the code

https://github.com/tobobo/dreamless


RE: Chrome extension to hide unimportant threads - more or less - 10-25-2013

Will this work in Chrome for iOS or Android?


RE: Chrome extension to hide unimportant threads - tobobo - 10-25-2013

(10-25-2013, 03:35 AM)more or less Wrote: Will this work in Chrome for iOS or Android?

Can chrome for Android support extensions to the same degree Chrome on desktop can? That would be neat, if also an easy way to really slow down your browsing. My answer is maybe (definitely not on iOS).


RE: Chrome extension to hide unimportant threads - more or less - 10-25-2013

Yeah I have only tried Chrome in Android and Win7 and have no idea. But essentially this is analogous to ad blocking and Atomic Browser supports that.


RE: Chrome extension to hide unimportant threads - tobobo - 10-25-2013

You could make it a bookmarklet.

Buuuut the mobile theme doesn't show the thread creator so it wouldn't work there.


RE: Chrome extension to hide unimportant threads - agedgruel - 10-25-2013

No love for Firefox users? Shakefist


RE: Chrome extension to hide unimportant threads - Gippy - 10-25-2013

As far as my life is concerned right now there is only Chromium. I haven't opened another browser in months. Ok, except for that time when Safari opened because it was some weird built in Apple link that defined Safari as the handler. BUY THAT'S IT!


RE: Chrome extension to hide unimportant threads - FuturDreamz - 10-25-2013

(10-25-2013, 11:25 AM)agedgruel Wrote: No love for Firefox users? Shakefist

Pfft. Who uses Firefox anymore?


RE: Chrome extension to hide unimportant threads - tobobo - 10-25-2013

(10-25-2013, 11:25 AM)agedgruel Wrote: No love for Firefox users? Shakefist

You could add the above as a greasemonkey script.

(10-25-2013, 12:11 PM)Gippy Wrote: As far as my life is concerned right now there is only Chromium. I haven't opened another browser in months. Ok, except for that time when Safari opened because it was some weird built in Apple link that defined Safari as the handler. BUY THAT'S IT!

What does chromium have that chrome/chrome canary don't, besides open sourceness?


RE: Chrome extension to hide unimportant threads - Gippy - 10-26-2013

No calling home to google.


RE: Chrome extension to hide unimportant threads - Gippy - 10-26-2013

And, since Chromium doesn't have an auto updater: https://gist.github.com/Gipetto/1351770


RE: Chrome extension to hide unimportant threads - roo - 10-26-2013

(10-26-2013, 02:50 PM)Gippy Wrote: No calling home to google.

Little Snitch says otherwise. FYI


RE: Chrome extension to hide unimportant threads - Gippy - 10-27-2013

Then, by all means, share the details.


RE: Chrome extension to hide unimportant threads - fizzwinkus - 10-27-2013

Surely you can trust google not to pry


RE: Chrome extension to hide unimportant threads - Gippy - 10-27-2013

Oh, totally. I'm sure that chromium has to call home for some things, like malicious site detection and shit like that, but it's my understanding that the data collection code is proprietary google code and that it is not included in the open source project.


RE: Chrome extension to hide unimportant threads - roo - 10-27-2013

I opened Chromium. Before it even loaded the empty window with the thumbnails of stuff I've been to, it tried to contact:

2001:4860:4860::8888 (google-public-dns-a.google.com)
clients3.google.com
ssl.gstatic.com

I decided to leave it open in the background. A few minutes later, it tried:
google.com

If I leave it running, it's just a matter of time before it tries to reach out to maps.google.com. But I'm going to close it down.

Also, this is Version: 29.0.1505.0 (199522)


RE: Chrome extension to hide unimportant threads - tobobo - 10-27-2013

I tried chromium and was pleasantly surprised that I could still "sign in to Chrome," but that probably defeats the whole purpose of trying to hide from Google. And I like automatic updates, so I'm back on Canary.


RE: Chrome extension to hide unimportant threads - agedgruel - 10-27-2013

(10-27-2013, 11:32 AM)roo Wrote: I opened Chromium. Before it even loaded the empty window with the thumbnails of stuff I've been to, it tried to contact:

2001:4860:4860::8888 (google-public-dns-a.google.com)
clients3.google.com
ssl.gstatic.com

I decided to leave it open in the background. A few minutes later, it tried:
google.com

If I leave it running, it's just a matter of time before it tries to reach out to maps.google.com. But I'm going to close it down.

Also, this is Version: 29.0.1505.0 (199522)
As I said,

Quote: Why no love for Firefox? Shakefist

Cry2


RE: Chrome extension to hide unimportant threads - FuturDreamz - 10-27-2013

INTERNET EXPLORER MASTER RACE


RE: Chrome extension to hide unimportant threads - tobobo - 10-27-2013

Okay fine, here's the Firefox version. I downloaded FF just to test this out.
First, install the Greasemonkey extension. You'll have to restart Firefox after you do this cause Firefox is Firefox.

Then, copy this to your clipboard.
Code:
// ==UserScript==
// @name        Dreamless
// @namespace   dreamless
// @include     http://treefort54.com/*
// @version     0.1
// @grant       none
// ==/UserScript==

Array.prototype.slice.call(document.querySelectorAll('.author')).forEach(function(el){
  if (el.innerHTML.indexOf('FuturDreamz') > 0) {
    while (!!el.parentNode) {
      el = el.parentNode;
      if (el.nodeName === 'TR') {
        el.parentNode.removeChild(el);
        break;
      }
    }
  }
});

Click on the Greasemonkey icon in the upper right corner of your Firefox window and select "New User Script..." then click the "User Script from Clipboard" button. Close the window that appears, refresh the Treefort, and enjoy the enhanced experience.


RE: Chrome extension to hide unimportant threads - Alien - 10-27-2013

Casual Googling suggests that this could be made to work in Safari, too. But I'm not gonna.


RE: Chrome extension to hide unimportant threads - tobobo - 10-27-2013

It looks like it's not much easier to install a userscripts extension on Safari than it is to just make an extension yourself. I might try it, but not tonight.


RE: Chrome extension to hide unimportant threads - Alien - 10-27-2013

[attachment=64]