purify's People
purify's Issues
Add keyboard shortcuts
There should be a global keyboard shortcut to activate/deactivate Purify. Furthermore, there should be more keyboard shortcuts to navigate the Purify article reader.
Display additional information related to the article (e.g. the author's info, the secondary title, etc.)
Add support for multi-page articles.
Need to add parsing logic to extract the "Next Page" links, and display their contents in the same view.
Note: There are some existing standards that might simplify the parsing. E.g. Opera's fast-forward standard:
Add a reporting feature to make it easy for the users to report bugs and request features.
Purify doesn't work unless tab is refreshed first
The content scripts are not injected immediately when the addon is installed, only when a new page is loaded or an old page is refreshed. To fix this, the addon needs to inject the scripts manually in that case. See this answer on StackOveflow for more info.
Summary: Use chrome.tab.executeScript
to run the scripts, instead of the manifest. This also has the bonus of not running it on every page regardless of being used or not.
The first paragraph of the article is missing on some news sites.
Root cause: On some news sites, the first paragraph is in a different container than the rest of the paragraphs.
Remove images option - improvement
Maybe an option can be added to remove images...
Cannot read property
I tried the first blog post I had open, http://www.greeblemonkey.com/2013/01/the-instagram-conundrum.html and got this error.
Error in event handler for 'undefined': Cannot read property 'document' of undefined TypeError: Cannot read property 'document' of undefined
at ArticleView._createAndAppendFrame (chrome-extension://kjiappjpfpaekdfeioanaphpihpojemc/js/ArticleView.js:69:30)
at new window.ArticleView (chrome-extension://kjiappjpfpaekdfeioanaphpihpojemc/js/ArticleView.js:21:29)
at chrome-extension://kjiappjpfpaekdfeioanaphpihpojemc/js/content_script.js:9:11
at chrome.Event.dispatchToListener (event_bindings:387:21)
at chrome.Event.dispatch_ (event_bindings:373:27)
at chrome.Event.dispatch (event_bindings:393:17)
at miscellaneous_bindings:165:35
at chrome.Event.dispatchToListener (event_bindings:387:21)
at chrome.Event.dispatch_ (event_bindings:373:27)
at chrome.Event.dispatch (event_bindings:393:17)
Provide color customization features (e.g. font color, background color, etc.)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.