GithubHelp home page GithubHelp logo

kingcobra2468 / gfg-debloater Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 995 KB

A Simple UX improvement and de-bloater for the geeksforgeeks.org website.

JavaScript 100.00%
debloat extension firefox firefox-addon firefox-extension geeksforgeeks

gfg-debloater's Introduction

GFG Debloater

A Simple UX improvement and de-bloater extension Firefox meant for the geeksforgeeks.org site. Once a good site, the current UI makes it tedious to read articles as promotions, ads, and recommended pages greatly reduce the content viewport. This extension removes all the bloat and makes the article take up the whole screen (100% width instead of the original 65%).

Examples

Simple demo showing the before and after of the de-bloating.

Banners

Banners are the site promotions as seen in the screenshot.

Before

After

Sidebar

The sidebar is the area that appears to the right of the article (remaining 35% of the viewport).

Before

After

All Changes

  • Removal of side banner.
  • Removal of Sign Up and Login bloat.
  • removal of ad banner at the start of the article.

Installation

Installation and setup could be achieved by either running the the build locally or via Jenkins (via the Jenkinsflie).

Manual Signing

  1. Install and setup nodejs and npm on the system.
  2. Clone the repo and install the dependencies via npm install.
  3. Create a Firefox developers account and obtain WRT issuer and WRT secret API keys. Export, as enviornmental varaibles, the two keys under the env variables WEB_EXT_API_KEY and WEB_EXT_API_SECRET respectively.
  4. Sign the extension via the command npm run sign-ext. After a few minutes , the signed extension would be downloaded to web-ext-artifacts/. The packaged.xpi extension could now be loaded into Firefox.

Jenkins Integration

  1. Install and setup nodejs and npm on the system.
  2. Clone the repo and install the dependencies via npm install.
  3. Create a Firefox developers account and obtain WRT issuer and WRT secret API keys. Save these two API keys as secrets named jwt-firefox-dev-issuer and jwt-firefox-dev-secret respectively.
  4. Upon parameterizing the job and supplying the BRANCH to build, the job could be built. If successful, the extension would be saved as an artifact.

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.