Skip to content
This repository was archived by the owner on Nov 2, 2025. It is now read-only.
This repository was archived by the owner on Nov 2, 2025. It is now read-only.

[BUG] Filter javascript garbage (especially for clickbait detector) #11

Description

@brogly-zz

There is a lot of garbage javascript on many pages that ends up being passed into the clickbait detector. This results in essentially just code being classified which throws off overall page results.

Usually, these contain

  • "function() {"
  • a large number of curly brackets
  • var statements

Have not investigated why/where this JS code gets pulled in from thoroughly but it frequently happens and should be prevented.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions