├── .gitignore ├── LICENSE ├── README.md ├── after.png ├── before.png ├── content.js ├── facebook.css ├── icon.png └── manifest.json /.gitignore: -------------------------------------------------------------------------------- 1 | *.swp 2 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2018 Matt Baer 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 |

2 | Available in the Chrome Web Store 3 | Get the Firefox Add-on 4 |

5 |
6 | 7 | Make Facebook Browsable is a [Chrome extension](https://chrome.google.com/webstore/detail/deonhbbbllfoliccambkefchaikengaa) and [Firefox add-on](https://addons.mozilla.org/en-US/firefox/addon/make-facebook-browsable/) for people who don't use Facebook but still unfortunately come across Facebook links. It gets rid of login and signup prompts so you can get whatever information you need and then get the hell out of there. 8 | 9 | ### Preview 10 | 11 | _Facebook: WTF? (before)_ 12 | ![Facebook: unbrowsable](before.png) 13 | 14 | _Well at least I can read this now (after)_ 15 | ![Facebook made slightly more usable](after.png) 16 | 17 | ### Contributing 18 | 19 | Want to improve something? Please do! Send a pull request or file an issue! 20 | 21 | ### License 22 | 23 | MIT 24 | 25 | ### Related 26 | 27 | Other extensions to make the internet less annoying: 28 | 29 | * [Make Medium Readable Again](https://github.com/thebaer/MMRA) 30 | -------------------------------------------------------------------------------- /after.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thebaer/MFbB/3fb5290a4d43987addf6dcba184fefea1e22ba86/after.png -------------------------------------------------------------------------------- /before.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thebaer/MFbB/3fb5290a4d43987addf6dcba184fefea1e22ba86/before.png -------------------------------------------------------------------------------- /content.js: -------------------------------------------------------------------------------- 1 | // 2 | // Make Facebook Browsable 3 | // 4 | 5 | var makeBrowsable = function() { 6 | // Inject remaining styles 7 | // This check makes sure the extension works on Chrome and Firefox. 8 | if (typeof browser === 'undefined') { 9 | browser = chrome; 10 | } 11 | document.head.insertAdjacentHTML('beforeend', ''); 12 | }; 13 | 14 | var observer = new MutationObserver(function(mutations){ 15 | mutations.forEach(function(){ 16 | makeBrowsable(); 17 | }); 18 | }); 19 | 20 | var config = {attributes: true}; 21 | makeBrowsable(); 22 | observer.observe(document.body, config); 23 | -------------------------------------------------------------------------------- /facebook.css: -------------------------------------------------------------------------------- 1 | /** 2 | * facebook.css 3 | * Contains default styles to inject into Facebook 4 | */ 5 | #pagelet_bluebar, 6 | #pagelet_growth_expanding_cta { 7 | display: none; 8 | } 9 | -------------------------------------------------------------------------------- /icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thebaer/MFbB/3fb5290a4d43987addf6dcba184fefea1e22ba86/icon.png -------------------------------------------------------------------------------- /manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "manifest_version": 2, 3 | 4 | "name": "Make Facebook Browsable", 5 | "description": "Makes Facebook slightly more usable when you're not logged in.", 6 | "version": "1.0", 7 | 8 | "icons": { 9 | "128": "icon.png" 10 | }, 11 | "browser_action": { 12 | "default_icon": "icon.png" 13 | }, 14 | "permissions": [ 15 | "https://*.facebook.com/*" 16 | ], 17 | "content_scripts": [ 18 | { 19 | "matches": ["https://*.facebook.com/*"], 20 | "js": ["content.js"] 21 | } 22 | ], 23 | "web_accessible_resources": [ 24 | "facebook.css" 25 | ] 26 | } 27 | --------------------------------------------------------------------------------