Toggle easily the FB News Feed on and off.
really simple extension that toggles your News Feed for better productivity.
It is so simple that the whole source code is shown below!
background: var shown = false; chrome.browserAction.onClicked.addListener(function (tab) { shown = !shown; var t = (shown) show : hide; chrome.browserAction.setIcon({path:t+-fbnf.png, tabId:tab.id}); chrome.tabs.sendMessage(tab.id, {text:t}, function(response) {}); }); chrome.extension.onMessage.addListener(function(message,sender,sendResponse){ var t = (shown) show : hide; if(message.text == getstuff) { sendResponse({type:t}); } chrome.browserAction.setIcon({path:t+-fbnf.png}); }); content_script: var toggle = function(type) { var style = document.createElement(style); style.type = text/css; if(type == hide) { style.innerHTML = .newsFeedComposer ._5pcr { display: none; } .newsFeedComposer ._5jmm:after { content: "Just useless content... trust me :)"; font-size: 12pt; text-align: center; width: 100%; display: block; padding: 50px 0; }; } else if(type == show) { style.innerHTML = .newsFeedComposer ._5pcr { display: block; } .newsFeedComposer ._5jmm:after { display: none }; } document.getElementsByTagName(head)[0].appendChild(style); } chrome.extension.sendMessage({text:"getStuff"},function(response){ toggle(response.type); }); chrome.extension.onMessage.addListener(function(message,sender,sendResponse){ toggle(message.text); sendResponse({type:"ok"}); });
Increases productivity by replacing Facebook News Feed with photo and inspirational quote
Find yourself spending too much time on LinkedIn? Eradicate distractions by replacing your entire news feed with an inspiring quote.
Get the news you care about from the publishers you love with every new tab you open. Find any news topic or news source!
Replace your social media feeds with inspiring quotes, a new modern version of News Feed Eradicator
Eradicate social media noise by replacing your entire news feed with an inspiring quote
Find yourself spending too much time online? Remove distractions by hiding your entire news feed or replacing it with a quote.
Keep your news feed sorted by most recent stories.
Making the GitHub news feeds great again
News about gaming from around the web. A gamer's must!
Saves your time by removing the Facebook news feed and Stories in your Browser.