Code Monkey home page Code Monkey logo

comment-snob's People

Contributors

cfinke avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

comment-snob's Issues

ajaxInitiatorSelector Issue

I am trying to set up a filter for GomTV.net it works fine when the page first loads. However when the "View More Comments" button (found at the bottom of the page) is pressed none of the new comments are filtered. As you can see I have the dynamic option set to true, but I have tried with it set to false.

Another likely related issue is that if you click the "hide comments" link then click to show the comments again they will no longer be filtered.

Here is a sample page: http://www.gomtv.net/2011gslsponsors4/vod/65741

And the filter I am using:

{ "id":"gomtvnet@hamradio", "label":"GomTV.net", "url":"^http://www.gomtv\\.net/", "allCommentsSelector":"#reply", "commentContainerSelector":"#gomChat li", "commentTextSelector":".status-body", "commentHideSelector":"> *", "statusPlacement":"before", "statusElementTag":"div", "statusElementAttributes":{ "class":"status-content" }, "ajaxInitiatorSelector":".comment_control, .comment_control a, #btnMore, a.expand_list", "dynamic":true }

Still functional?

Hey Chris,

I am trying to get this extension working with the comments at http://www.cavstheblog.com/?p=28611.

Right now I am using the following custom rule (which looking at the site source I think should work)

{
  "id": "cavstheblog",
  "label": "cavstheblog.com",
  "url": "cavstheblog\\.com",
  "allCommentsSelector": ".commentlist",
  "commentContainerSelector": ".comment"
}

However I am getting the following error

Error in event handler for extension.onRequest: Cannot read property 'html' of undefined
Stack trace: TypeError: Cannot read property 'html' of undefined
    at createPlaceholder (chrome-extension://gfbnmebccmipejnnlcaenkhfhniaielg/content.js:303:4)
    at HTMLLIElement.<anonymous> (chrome-extension://gfbnmebccmipejnnlcaenkhfhniaielg/content.js:254:31)
    at Function.e.extend.each (chrome-extension://gfbnmebccmipejnnlcaenkhfhniaielg/jquery-1.7.2.min.js:2:11776)
    at e.fn.e.each (chrome-extension://gfbnmebccmipejnnlcaenkhfhniaielg/jquery-1.7.2.min.js:2:8304)
    at filterComments (chrome-extension://gfbnmebccmipejnnlcaenkhfhniaielg/content.js:69:54)
    at chrome-extension://gfbnmebccmipejnnlcaenkhfhniaielg/content.js:29:4
    at EventImpl.dispatchToListener (extensions::event_bindings:397:22)
    at Event.publicClass.(anonymous function) [as dispatchToListener] (extensions::utils:93:26)
    at EventImpl.dispatch_ (extensions::event_bindings:379:35)
    at EventImpl.dispatch (extensions::event_bindings:403:17) 

I am not sure what the problem is. Does comment snob still work? I see it has not been updated in a while. Or am I doing something wrong with my rule.

Thanks for your help!

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.