-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
92 changed files
with
5,797 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
root = true | ||
|
||
[*] | ||
indent_style = tab |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
.DS_Store | ||
.*.swp | ||
*.zip | ||
.idea/* | ||
.vscode | ||
local/* | ||
|
||
dump.rdb | ||
|
||
node_modules | ||
|
||
browsers/firefox/news-feed-eradicator.xpi | ||
|
||
dist | ||
build | ||
typings |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
// prettier.config.js or .prettierrc.js | ||
module.exports = { | ||
trailingComma: 'es5', | ||
useTabs: true, | ||
semi: true, | ||
singleQuote: true, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,78 @@ | ||
# Changelog | ||
|
||
All notable changes to this project will be documented in this file. | ||
|
||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), | ||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). | ||
|
||
## [Unreleased] | ||
|
||
- No unreleased changes | ||
|
||
## [2.2.7] - 2024-06-09 | ||
|
||
- Fix x.com | ||
|
||
## [2.2.6] - 2024-03-02 | ||
|
||
- Fix new Reddit | ||
- Fix non-English Twitter/X and prepare for redirect to x.com | ||
|
||
## [2.2.5] - 2023-05-09 | ||
|
||
- [Fix Facebook for languages other than English (thanks @nzawirski)](https://github.com/jordwest/news-feed-eradicator/pull/256) | ||
- [Fix GitHub home (thanks @Khanaru220)](https://github.com/jordwest/news-feed-eradicator/pull/251) | ||
- [Fix logged out Twitter feed (thanks @weeksling)](https://github.com/jordwest/news-feed-eradicator/pull/263) | ||
|
||
## [2.2.4] - 2022-11-15 | ||
|
||
- [Fixed Facebook (thanks @nzawirski)](https://github.com/jordwest/news-feed-eradicator/pull/244) | ||
- Fixed Hacker News | ||
|
||
## [2.2.3] - 2022-09-27 | ||
|
||
### Fixed | ||
|
||
- Fixed Facebook | ||
- Fixed Twitter | ||
- Reverted change that made YouTube related vids appears | ||
|
||
## [2.2.2] - 2022-07-29 | ||
|
||
### Fixed | ||
|
||
- Fixed instagram | ||
|
||
## [2.2.1] - 2021-06-05 | ||
|
||
### Added | ||
|
||
- [Instagram support by @ryanmonro](https://github.com/jordwest/news-feed-eradicator/pull/105) | ||
|
||
### Fixed | ||
|
||
|
||
## [2.2.0] - 2021-01-25 | ||
|
||
### Added | ||
|
||
- YouTube support | ||
- [LinkedIn support by @viswanathgs](https://github.com/jordwest/news-feed-eradicator/pull/101) | ||
|
||
### Fixed | ||
|
||
- Also blocks feed | ||
on `facebook.com/home.php` [(thanks @hannoeru)](https://github.com/jordwest/news-feed-eradicator/pull/109) | ||
- Ekhart Tolle is Eckhart Tolle | ||
|
||
## [2.1.0] - 2020-10-21 | ||
|
||
### Added | ||
|
||
- [Reddit support by @kessido](https://github.com/jordwest/news-feed-eradicator/pull/98) | ||
- [Hacker News support by @rjshade](https://github.com/jordwest/news-feed-eradicator/pull/97) | ||
|
||
### Fixed | ||
|
||
- Fixed Twitter feed showing up when first visiting Twitter directly (#99) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
The MIT License (MIT) | ||
|
||
Copyright (c) 2013 Jordan West | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy of | ||
this software and associated documentation files (the "Software"), to deal in | ||
the Software without restriction, including without limitation the rights to | ||
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of | ||
the Software, and to permit persons to whom the Software is furnished to do so, | ||
subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in all | ||
copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS | ||
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR | ||
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER | ||
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN | ||
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
.PHONY: all clean install dev copy-assets package-source | ||
|
||
# The current git tag is used as the version number | ||
GITTAG=$(shell git describe --always --tag) | ||
BIN=$(shell npm bin) | ||
|
||
build: install copy-assets | ||
mkdir -p build | ||
NODE_ENV=production ./node_modules/.bin/rollup -c | ||
mkdir -p dist | ||
(cd build && zip -r ../dist/NewsFeedEradicator_$(GITTAG).zip .) | ||
|
||
# Typecheck only | ||
check: | ||
npm run check | ||
|
||
# Firefox Add-on store requires source to be submitted as a zip, so this command builds that zip | ||
package-source: | ||
mkdir -p dist | ||
git archive --output=dist/NewsFeedEradicator_source_$(GITTAG).zip HEAD | ||
|
||
copy-assets: | ||
mkdir -p build | ||
mkdir -p build/icons | ||
cp src/icons/* build/icons/ | ||
cp src/manifest-chrome.json build/manifest.json | ||
cp src/options/options.html build/options.html | ||
cp assets/icon16.png build/icon16.png | ||
cp assets/icon32.png build/icon32.png | ||
cp assets/icon48.png build/icon48.png | ||
cp assets/icon64.png build/icon64.png | ||
cp assets/icon128.png build/icon128.png | ||
|
||
dev: install copy-assets | ||
mkdir -p build | ||
./node_modules/.bin/rollup -c --watch | ||
|
||
install: | ||
npm install | ||
|
||
clean: | ||
rm -rf dist | ||
rm -rf build | ||
rm -rf node_modules |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# News Feed Eradicator | ||
|
||
A browser extension that deletes your Facebook news feed | ||
and replaces it with a nice quote. | ||
|
||
[Install Chrome Extension](https://chrome.google.com/webstore/detail/news-feed-eradicator-for/fjcldmjmjhkklehbacihaiopjklihlgg?hl=en) | ||
|
||
[Install Firefox Add-on](https://addons.mozilla.org/en-US/firefox/addon/news-feed-eradicator/) | ||
|
||
 | ||
|
||
## Development | ||
|
||
This plugin is built as a WebExtension - a standard for browser plugins currently supported in both Chrome and Firefox. | ||
|
||
To build for either browser, clone the repository and then run: | ||
|
||
make dev | ||
|
||
If everything is successful, check the `build` folder for the extension contents. You can load the `build` directory into either Chrome or Firefox as an _unpacked_ or _temporary_ extension. See the instructions for [Chrome](https://developer.chrome.com/docs/extensions/get-started/tutorial/hello-world#load-unpacked) or [Firefox](https://developer.mozilla.org/en-US/Add-ons/WebExtensions/Temporary_Installation_in_Firefox). | ||
|
||
Running `make dev` will watch for changes and recompile, however each time you make changes you'll need to tell the browser to reload the temporary extension. | ||
|
||
To build a distributable `.zip` for production, just run: | ||
|
||
make | ||
|
||
The extension package can be found in the `dist` folder. |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.