Defeat All Paywalls By Building Your Own Google Chrome Extension [DIY]by@ipacheco
3,105 reads

Defeat All Paywalls By Building Your Own Google Chrome Extension [DIY]

May 4th 2020
4m
by @ipacheco 3,105 reads
tldt arrow
Read on Terminal Reader
Read this story w/o Javascript

Too Long; Didn't Read

A Chrome extension can detect we were stopped by the paywall and automatically open the site in private mode. The extension need some permissions, webRequest and webRequestBlocking for blocking a request (for the next chapter), tabs for creating a new window or tab. We need a title for our extension and popup.html to render when someone click on the extension icon. We need an id to send a message to the site body. This is the way our content scripts with the extension communicate the extension.

Company Mentioned

Mention Thumbnail
featured image - Defeat All Paywalls By Building Your Own Google Chrome Extension [DIY]
ignacio HackerNoon profile picture

@ipacheco

ignacio

Receive Stories from @ipacheco

react to story with heart

RELATED STORIES

L O A D I N G
. . . comments & more!