Giter Site home page Giter Site logo

habr-comments-filter's Introduction

HabrCommentsFilter

This userscript allows you to filter comments by rating on Habrahabr.ru, Geektimes.ru and Megamozg.ru

##How to install

  1. get repository
  2. install dest/habr-comments-filter.user.js into your browser
    • firefox:
      1. install Greasemonkey
      2. drag the userscript onto the page
    • chrome:
      1. open extensions page (there are two ways):
        • click on the Customize and control -> Settings -> Extensions
        • open the URL: chrome://extensions/
      2. drag the userscript onto page

##Hotkeys increment min rating: CTRL + up
decrement min rating: CTRL + down

##Changelog ###v2.2.1

  • add support for Megamozg.ru
  • fix after updating markup on the sites

###v2.2

  • add support for Geektimes.ru

###v2.1

  • add hotkeys
  • change design

###v2.0

  • rewrite filtering without jQuery
  • rewrite calculating of average rating
  • add instant filter
  • add number of shown comments
  • add support for Firefox and Chrome
  • add tests (Karma and Jasmine)
  • add build with Grunt

habr-comments-filter's People

Contributors

ivantsov avatar owyn avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

habr-comments-filter's Issues

no longer works after 31.10.14

Syntax error @ 'habrCommentsFilter'!

JSHINT output:
script: (W041) Use '===' to compare with '0' on line: 205 at character: 99

TypeError: Cannot read property 'replace' of null
at Z (eval at (unknown source), :26:184)
at aa (eval at (unknown source), :63:93)
at b (eval at (unknown source), :63:501)
at u.push.fn (eval at (unknown source), :33:267) VM56:29(anonymous function) VM56:29
Uncaught TypeError: Cannot read property 'replace' of null (index):29
Failed to load resource: net::ERR_CACHE_MISS http://geektimes.ru/post/240836/

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.