From 622f0b5fb76420b08058d3907a847b253e946d43 Mon Sep 17 00:00:00 2001 From: Jacob Strieb Date: Sat, 12 Feb 2022 14:07:45 -0500 Subject: [PATCH 1/2] Remove details from modification section of README --- README.md | 6 ------ 1 file changed, 6 deletions(-) diff --git a/README.md b/README.md index 9248df2..a1c4c22 100644 --- a/README.md +++ b/README.md @@ -307,10 +307,6 @@ support, just ask first – open an issue to do so. # How to Modify This Code -
- -Details - 1. Fork your own copy of the repository 2. [Create a new project](https://console.cloud.google.com/projectcreate) in BigQuery @@ -322,8 +318,6 @@ support, just ask first – open an issue to do so. 7. Make your fork public if you want to be able to access it unauthenticated 8. Change the repo to your liking, maintaining attribution and the LICENSE file! -
- # Known Issues From 13e741c3982f1c5bacfa089fba64af8246db1a27 Mon Sep 17 00:00:00 2001 From: Jacob Strieb Date: Sat, 12 Feb 2022 14:15:18 -0500 Subject: [PATCH 2/2] Fix HN story link selector and bump minor version --- add-latest.js | 2 +- manifest.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/add-latest.js b/add-latest.js index 01b9b12..94bd358 100644 --- a/add-latest.js +++ b/add-latest.js @@ -15,7 +15,7 @@ * the Bloom filter was downloaded. */ function sendLatest() { - let stories = Array.from(document.querySelectorAll(".storylink")); + let stories = Array.from(document.querySelectorAll(".titlelink")); let scoreParents = Array.from(document.querySelectorAll(".subtext")); if (stories.length != scoreParents.length) { console.error("Different number of story links and scores!"); diff --git a/manifest.json b/manifest.json index befe50e..0e0d419 100644 --- a/manifest.json +++ b/manifest.json @@ -3,7 +3,7 @@ "name": "Hacker News Discussion Button", "description": "Links to the Hacker News discussion for the current page. Preserves privacy.", - "version": "0.6", + "version": "0.6.1", "author": "Jacob Strieb", "homepage_url": "https://github.com/jstrieb/hackernews-button", "icons": {