Treefort54 Party Headquarters

Full Version: Chrome extension to hide unimportant threads
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
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.
zOMG POTATODEFECATION

I wonder if it works for admins...
If you wanna tweak it to your liking, here's the code

https://github.com/tobobo/dreamless
Will this work in Chrome for iOS or Android?
(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).
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.
You could make it a bookmarklet.

Buuuut the mobile theme doesn't show the thread creator so it wouldn't work there.
No love for Firefox users? Shakefist
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!
(10-25-2013, 11:25 AM)agedgruel Wrote: [ -> ]No love for Firefox users? Shakefist

Pfft. Who uses Firefox anymore?
(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?
No calling home to google.
And, since Chromium doesn't have an auto updater: https://gist.github.com/Gipetto/1351770
(10-26-2013, 02:50 PM)Gippy Wrote: [ -> ]No calling home to google.

Little Snitch says otherwise. FYI
Then, by all means, share the details.
Surely you can trust google not to pry
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.
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)
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, 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
INTERNET EXPLORER MASTER RACE
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.
Casual Googling suggests that this could be made to work in Safari, too. But I'm not gonna.
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.
Pages: 1 2