Chrome extension to hide unimportant threads
10-24-2013, 01:34 PM, (This post was last modified: 10-24-2013, 01:37 PM by tobobo.)
Post: #1
Chrome extension to hide unimportant threads
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.
10-24-2013, 01:47 PM, (This post was last modified: 10-24-2013, 01:48 PM by Og.)
Post: #2
RE: Chrome extension to hide unimportant threads
zOMG POTATODEFECATION

I wonder if it works for admins...
Obscurum veritas defensor

Clubbie Clubbie Clubbie Clubbie
10-24-2013, 02:05 PM,
Post: #3
RE: Chrome extension to hide unimportant threads
If you wanna tweak it to your liking, here's the code

https://github.com/tobobo/dreamless
10-25-2013, 03:35 AM,
Post: #4
RE: Chrome extension to hide unimportant threads
Will this work in Chrome for iOS or Android?
10-25-2013, 03:36 AM,
Post: #5
RE: Chrome extension to hide unimportant threads
(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).
10-25-2013, 05:45 AM,
Post: #6
RE: Chrome extension to hide unimportant threads
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.
10-25-2013, 05:58 AM, (This post was last modified: 10-25-2013, 05:59 AM by tobobo.)
Post: #7
RE: Chrome extension to hide unimportant threads
You could make it a bookmarklet.

Buuuut the mobile theme doesn't show the thread creator so it wouldn't work there.
10-25-2013, 11:25 AM,
Post: #8
RE: Chrome extension to hide unimportant threads
No love for Firefox users? Shakefist
Clubbie Clubbie Clubbie Clubbie Clubbie Clubbie Clubbie Clubbie ClubbieClubbieClubbieClubbie




10-25-2013, 12:11 PM,
Post: #9
RE: Chrome extension to hide unimportant threads
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!
The chaos army seems suspiciously well organized.
flickr | Stupid Blog | Twitter
10-25-2013, 01:17 PM,
Post: #10
RE: Chrome extension to hide unimportant threads
(10-25-2013, 11:25 AM)agedgruel Wrote: No love for Firefox users? Shakefist

Pfft. Who uses Firefox anymore?
My logic is infallible. Resistance is futile.
10-25-2013, 05:57 PM, (This post was last modified: 10-25-2013, 05:58 PM by tobobo.)
Post: #11
RE: Chrome extension to hide unimportant threads
(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?
10-26-2013, 02:50 PM,
Post: #12
RE: Chrome extension to hide unimportant threads
No calling home to google.
The chaos army seems suspiciously well organized.
flickr | Stupid Blog | Twitter
10-26-2013, 02:53 PM,
Post: #13
RE: Chrome extension to hide unimportant threads
And, since Chromium doesn't have an auto updater: https://gist.github.com/Gipetto/1351770
The chaos army seems suspiciously well organized.
flickr | Stupid Blog | Twitter
10-26-2013, 10:00 PM,
Post: #14
RE: Chrome extension to hide unimportant threads
(10-26-2013, 02:50 PM)Gippy Wrote: No calling home to google.

Little Snitch says otherwise. FYI
bedstuy Wrote:mocking a pair of $500 jeans is a form of class warfare... why do you hate my social status?
10-27-2013, 12:18 AM,
Post: #15
RE: Chrome extension to hide unimportant threads
Then, by all means, share the details.
The chaos army seems suspiciously well organized.
flickr | Stupid Blog | Twitter
10-27-2013, 01:37 AM,
Post: #16
RE: Chrome extension to hide unimportant threads
Surely you can trust google not to pry
grinding is only fun in co-op
10-27-2013, 04:01 AM,
Post: #17
RE: Chrome extension to hide unimportant threads
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.
The chaos army seems suspiciously well organized.
flickr | Stupid Blog | Twitter
10-27-2013, 11:32 AM,
Post: #18
RE: Chrome extension to hide unimportant threads
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)
bedstuy Wrote:mocking a pair of $500 jeans is a form of class warfare... why do you hate my social status?
10-27-2013, 11:45 AM,
Post: #19
RE: Chrome extension to hide unimportant threads
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.
10-27-2013, 02:30 PM,
Post: #20
RE: Chrome extension to hide unimportant threads
(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
Clubbie Clubbie Clubbie Clubbie Clubbie Clubbie Clubbie Clubbie ClubbieClubbieClubbieClubbie




10-27-2013, 02:35 PM,
Post: #21
RE: Chrome extension to hide unimportant threads
INTERNET EXPLORER MASTER RACE
My logic is infallible. Resistance is futile.
10-27-2013, 06:25 PM, (This post was last modified: 10-27-2013, 06:27 PM by tobobo.)
Post: #22
RE: Chrome extension to hide unimportant threads
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.
10-27-2013, 06:44 PM,
Post: #23
RE: Chrome extension to hide unimportant threads
Casual Googling suggests that this could be made to work in Safari, too. But I'm not gonna.
ClubbieClubbieClubbieClubbieClubbieClubbieClubbie
ClubbieClubbieClubbieClubbieClubbieClubbieClubbie
ClubbieClubbieClubbieClubbieClubbieClubbie
10-27-2013, 07:36 PM,
Post: #24
RE: Chrome extension to hide unimportant threads
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.
10-27-2013, 08:26 PM,
Post: #25
RE: Chrome extension to hide unimportant threads

.zip   NoStarch.safariextz.zip (Size: 14.16 KB / Downloads: 7)
ClubbieClubbieClubbieClubbieClubbieClubbieClubbie
ClubbieClubbieClubbieClubbieClubbieClubbieClubbie
ClubbieClubbieClubbieClubbieClubbieClubbie


Forum Jump: