Code Monkey home page Code Monkey logo

9stats's Introduction

9Stats

A byproduct of the blog bost Getting tired of re-uploads, Dismantling 9Gag with perceptual image hashing" demonstrating how duplicates and reuploads of 9Gag could be prevented using JImageHash

The extension removes a lot of clutter and shows the upvote for posts even if they are voted masked (new posts in fresh).

Additionally the downvote count is displayed which was originally shown on 9gag, but has since been hidden in the official version.

examplebrowserextension

When finding similar bug like these I usually resort to get them fixed silently. Due to the unseverity of this leak, this may serve as a friendly reminder to the 9gag dev team that it has never been a good idea to send info to the client they are not supposed to see.

Usage

Install tapermonkey (chrome tested) or greasmonkey (firefox), download the js file in this repository and install the script by clicking new script and copy pasting the content into the window. This method only works for the front page.

The following settings may be adjutsed in the file if you don't want to hide the clutter. I just couldn't bare it and added it out of convinience

var removeTopAdds = true;
var hideRightFeaturedPosts = true;
var hideSections = true;
var hideHeader = true;
var hideTopTags = true;

Disclaimer

This is more of a proof of concept application written in 15 minutes instead of a full supported well tested code. My javascript is subpar so anyone feel free and improve it any way you like (GPL!).

9stats's People

Contributors

kilianb avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.