Coder Social home page Coder Social logo

nduitz / ghostery-extension Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ghostery/ghostery-extension

0.0 1.0 0.0 16.91 MB

Ghostery Browser Extension for Firefox, Chrome, Opera and Edge

License: Mozilla Public License 2.0

JavaScript 77.59% CSS 21.56% HTML 0.40% Shell 0.43% Dockerfile 0.02%

ghostery-extension's Introduction

Ghostery

Build Status   GitHub manifest version   Chat on Gitter   Twitter Follow

Ghostery helps you browse smarter by giving you control over ads and tracking technologies to speed up page loads, eliminate clutter, and protect your data. This is the unified code repository for the Ghostery browser extensions in Chrome, Firefox, Opera and Edge.

Downloads

Firefox / CliqzDownload

ChromeDownload

OperaDownload

EdgeDownload

Installation

Install yarn

https://yarnpkg.com/en/docs/install

Install local npm packages

$ yarn install --frozen-lockfile

Upgrade packages

# Upgrade packages according to package.json version range
# https://yarnpkg.com/en/docs/cli/upgrade/
$ yarn upgrade

Building

# Build all sources
$ yarn build.dev
# Build for production
$ yarn build.prod
# Build and watch for changes
$ yarn build.watch

Enable Debugging / Logging

// In manifest.json set
"debug": true,
"log": true,

Testing and Linting

# Update Jest snapshot artifacts
$ yarn test.snapshot
# Run unit tests
$ yarn test
# Run linter over the ./app and ./src folders
$ yarn lint
# Lint a specific file
$ yarn lint.raw src/utils/matcher.js
# Test i18n string lengths for panel UI
$ yarn leet
# Reset back to original en language file
$ yarn leet.reset

Build Docs

# Build JSDoc files to ./docs
$ yarn docs

Internationalization

This project is configured to use the Transifex CLI. See their documentation to get started. Note: You do not need to run tx config as the project configuration file has already been generated.

Generate a Transifex API Token link

# Configure the Transifex CLI
$ tx init
# Submit translation files to Transifex
$ tx push -s
# Download translated files from Transifex
$ tx pull -a
# Add the placeholders into the downloaded translation files.
$ node tools/transifex.js

Cliqz Source Code

Ghostery implements the following open-source products from Cliqz

Human Web

Anti-Tracking

Ad Blocker

MyOffrz

Building Cliqz Modules for Ghostery

Cliqz modules are pre-built and included under the browser-core NPM dependency in package.json. To reproduce this build process, download the appropriate Ghostery release (v7.x.x) from the browser-core project.

$ npm ci
$ ./fern.js build configs/ghostery.js --environment=production --no-debug

Compatibility

  • Firefox: 52+
  • Firefox Android: 55+
  • Chrome: 58+
  • Opera: 45+
  • Edge: 79+

Contribute

See CONTRIBUTING and CODE OF CONDUCT

Links

Additional Open Source Ghostery Projects

Ghostery Team

Ghostery relies on contributions from lots of talented people. See the full montage of uncommonly attractive Ghosterians/Cliqzers here.

License

MPL-2.0 Copyright 2019 Ghostery, Inc. All rights reserved.

See LICENSE

Tracker Databases

The databases folder contains JSON skeletons to show the schema expected by the extension pattern matcher. See the Database README for more information. Ghostery's production tracker databases have been purposely excluded from this project, as they remain proprietary to Ghostery, Inc. Which leads us to this grim, yet obligatory...

Copyright Notice

The proprietary databases are the intellectual property of Ghostery, Inc. and are protected by copyright and other applicable laws. All rights to them are expressly reserved by Ghostery, Inc. You may not use these databases or any portion thereof for any purpose that is not expressly granted in writing by Ghostery, Inc. All inquires should be sent to [email protected]. Ghostery, Inc. retains the sole discretion in determining whether or not to grant permission to use the databases. Unauthorized use of the databases, or any portion of them, will cause irreparable harm to Ghostery, Inc. and may result in legal proceedings against you, seeking monetary damages and an injunction against you, including the payment of legal fees and costs.

Ghostery

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.