Newsit: Hacker News and Reddit Links

Find Reddit or Hacker News discussions on the current page!

什么是Newsit: Hacker News and Reddit Links?

Newsit: Hacker News and Reddit Links是由https://benwinding.com开发的Chrome扩展程序,该扩展的主要功能是“Find Reddit or Hacker News discussions on the current page!”。

扩展截图

screenshot
screenshot
screenshot

下载Newsit: Hacker News and Reddit Links扩展crx文件

下载Newsit: Hacker News and Reddit Links扩展crx格式的文件,手动将Chrome插件安装到浏览器中,也可以将crx文件分享给朋友,轻松安装Chrome插件。

扩展使用说明

                        This extension checks Reddit or Hacker News, to see if the current page is listed on their site (see video). If there is a post on one of these sites, there will be a button added to the bottom corner of the screen.

==== Changelog ====

## 2.1.0

- Added the "Use new Reddit links" option

## 2.1.0

- Updated to the extension manifest version 3
- Reddit results parsing moved to content.js script (can't access DOM in service worker)
- Better rendering of icons (using SVG instead of fonts)

## 2.0.10

- Improve post title that's passed into "submit link"

## 2.0.9

- Fix build system to pass firefox's automated build systems

## 2.0.8

- Style fix - Better padding and alignment of buttons

## 2.0.7

- Fix for reddit api with comments over 1,000 (Because there's a comma in the number string)

## 2.0.6

- Fix iframe issue, by using shadow DOM (Closes https://github.com/benwinding/newsit/issues/10)

## 2.0.5

- Fixes "Hide [+] When No Results" feature
- Fixes "SharedArrayBuffer will require cross-origin isolation" messages in console (https://github.com/facebook/create-react-app/issues/10474)

## 2.0.4

- Added option "Hide [+] When No Results"

## 2.0.3

- Added '+' icon to resubmit link, even if results are there

## 2.0.2

- Better search results by ignoring the "www." and "m." in urls

## 2.0.1

- Added the "Submit link" button, when no results are found.

## 2.0.0

- Can now view all results found from HN and Reddit
- Major refactor for reliability and maintainability (details here: https://github.com/benwinding/newsit/pull/4)

## 1.2.4

- Fix Reddit Lookup by Using Background Scripts
- Source code here: https://github.com/benwinding/newsit

## 1.2.4

- Submit to Hacker News
- Submit to Reddit

## 1.2.3

- Adds link to Reddit post (if it was posted there)
- Adds link to Hacker News post (if it was posted there)
- Displays number of comments for that discussion on link
- Works asynchronously as the page loads
- Works on SPA's (Single Page Applications)
- Enable globally or on a site by site basis

Hope it's as useful to you as it is to me!

*** UPDATES ***
* Smaller size < 150kb
* Code not bundled, minified or obfuscated

SOURCE CODE:
https://github.com/benwinding/newsit

PRIVACY POLICY:
https://benwinding.com/newsit/privacy_policy.html

TERMS AND CONDITIONS:
https://benwinding.com/newsit/terms_and_conditions.html                    

扩展基本信息

名称 Newsit: Hacker News and Reddit Links Newsit: Hacker News and Reddit Links
ID nngjdplpkehilhcinpccdbkjaknkkifl
官方URL https://chromewebstore.google.com/detail/newsit-hacker-news-and-re/nngjdplpkehilhcinpccdbkjaknkkifl
简介 Find Reddit or Hacker News discussions on the current page!
文件大小 309 KB
安装次数 217
当前版本 2.1.1
更新时间 2023-04-23
上架时间 2020-03-12
评分 5.00/5 共3次评分
开发者 https://benwinding.com
电子邮箱 [email protected]
付费类型 free
扩展官网 https://newsit.benwinding.com/
帮助页面URL https://github.com/benwinding/newsit/issues
隐私政策页面URL https://newsit.benwinding.com/privacy_policy.html
支持的语言 en
manifest.json
{
    "update_url": "https:\/\/clients2.google.com\/service\/update2\/crx",
    "description": "Find Reddit or Hacker News discussions on the current page!",
    "version": "2.1.1",
    "manifest_version": 3,
    "author": "Ben Winding",
    "name": "Newsit: Hacker News and Reddit Links",
    "short_name": "Newsit",
    "homepage_url": "https:\/\/newsit.benwinding.com\/",
    "minimum_chrome_version": "93",
    "background": {
        "service_worker": "background-wrapper.js"
    },
    "content_scripts": [
        {
            "matches": [
                ""
            ],
            "js": [
                "vendor\/purify.min.js",
                "vendor\/react.min.js",
                "vendor\/react-dom.min.js",
                "js\/content.js"
            ]
        }
    ],
    "action": {
        "default_popup": "popup.html",
        "default_icon": "img\/favicon-32x32.png"
    },
    "web_accessible_resources": [
        {
            "resources": [
                "img\/*.png"
            ],
            "matches": [
                ""
            ]
        }
    ],
    "icons": {
        "32": "img\/favicon-32x32.png",
        "128": "img\/favicon-128x128.png"
    },
    "permissions": [
        "storage",
        "tabs"
    ],
    "host_permissions": [
        "*:\/\/*\/*"
    ],
    "options_page": "options.html"
}