View Code? Open in Web Editor
NEW
Chrome Extension which helps you stop scrolling through social media
Home Page: https://chrome.google.com/webstore/detail/social-feeds-blocker/mnfedbnelejmlpfgcdhplggpclkkllha/
JavaScript 87.92%
HTML 5.91%
CSS 6.16%
social-feed-blocker's People
Watchers
social-feed-blocker's Issues
in config.js file, add selectors for so reddit feed is hidden
when new user installs extension we need to check all options by default
we can introduce one boolean parameter to initConfig function - onInstalled (default false) = if set to true we force selected attribute in config to be true otherwise keep existing logic as is.
and while calling initConfig on line 7 of background.js we set onInstalled argument as true.
chrome extension icon not showing up.
check manifest file for issue
functionality to pause extension for 5/10/20 mins timer.
Add buttons for Pause for: 5, 10 & 20 mins in popup.
on click of button set puasedTill key in storage to current time + 5/10/20 mins (store timestamp).
if stored timestamp is null or is in past then run extension otherwise dont run (add this check in blocker.js)
show difference of stored timestamp & current time in popup
in config.js file, add selectors for twitter so twitter feed will be hidden.
this section need to be hidden if timer is over/timer is not running.
condition would be: if pausedTill value is in past or is null/undefined then dont display (may be css display none)
in config.js file, add selectors for twitter so ig feed will be hidden.