Expand Reddit posts without having to open them in a new tab

Latest Version

Version
1.1.1
Update
April 28, 2018
Size
39.43KiB
Developer
Category
Users
146
Rating
0 ★
Manifest Version
2
Web Store Status
Languages Support
English
See more
Permissions
ActiveTab
*://*.reddit.com/*
Storage
See more

Reddit Expand Extension

This extension adds a little \"Expand\" option to the end of the title of a reddit post that is listed on either a front page or inside a subreddit. Clicking on said option opens a full preview of the post that can be closed by clicking on \"Expand\" again. The preview can be resized by using the provided edge on its bottom-right corner. You can edit your settings by clicking on the extension's icon while visiting Reddit.

Please note that, although it works in some instances, posts that refer to websites other than Reddit might not load at all. This happens because the third-party website does not allow previews in iframes (e.g. YouTube).

This extension uses the jQuery library that can be found at http://jquery.com/
Read more

Source Manifest.json

{"update_url": "https://clients2.google.com/service/update2/crx", "name": "Reddit Expand", "version": "1.1.1", "description": "Expand Reddit posts without having to open them in a new tab", "manifest_version": 2, "permissions": [ "activeTab","*://*.reddit.com/*", "storage" ], "content_scripts": [{ "js": ["res/jquery-3.3.1.min.js", "inject.js"], "matches": ["*://www.reddit.com/", "*://www.reddit.com/r/*", "*://www.reddit.com/hot*", "*://www.reddit.com/new*", "*://www.reddit.com/rising*", "*://www.reddit.com/controversial*", "*://www.reddit.com/top*", "*://www.reddit.com/gilded*"] }], "icons": { "16": "icons/icon-16.png", "48": "icons/icon-48.png", "128": "icons/icon-128.png" }, "page_action": { "default_icon": "icons/icon-48.png", "default_title": "Reddit Expand", "default_popup": "menu.html" }, "background": { "scripts": ["background.js"], "persistent": false } }
Read more