GithubHelp home page GithubHelp logo

leggett / simplify-trackers Goto Github PK

View Code? Open in Web Editor NEW
28.0 28.0 4.0 56 KB

List of email spy pixels blocked by Simplify Gmail

License: BSD 3-Clause "New" or "Revised" License

JavaScript 28.13% Ruby 40.50% Awk 5.47% Java 25.89%

simplify-trackers's People

Contributors

apparition47 avatar leggett avatar sw030453 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

simplify-trackers's Issues

Publish on npm

First, huge thanks for sharing the tracker list! It would be useful if you could publish the js script as a package on npm for the ease of keeping the list updated as a consumer.

Escape hyphens to ease conversion to Ruby?

I'm getting regex compile warnings on regexes like

mail.[a-zA-Z0-9-.]+.pl\\/o\\/
email.[a-zA-Z0-9-.]+\\/o\\/[a-zA-Z0-9-_.]{64}

Ruby issues a warning when it compiles these:

warning: character class has '-' without escape:...

If I change the original regexes to

mail.[a-zA-Z0-9\\-.]+.pl\\/o\\/
email.[a-zA-Z0-9\\-.]+\\/o\\/[a-zA-Z0-9\\-_.]{64}

to escape the 'naked' dash, the regexes compile just fine. I'm pretty sure this is an artifact of JS that makes this legal but I just don't know for sure...

My question is: Are the second versions legal JS regexes?
My followup question is: Does this change alter the meanings of the original regexes?
My 2nd followup question would be: Which of the two versions are 'more correct™' ?

I'm not trying to start a JS vs Ruby flamewar here...just trying to make the awk script as robust as I can. I'm not a JS guy... So many languages...so little time...

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.