From 5b4ba6fb2fcbd25244657203c58636f6187cb326 Mon Sep 17 00:00:00 2001 From: turtlebasket Date: Fri, 10 Feb 2023 11:16:49 -0800 Subject: [PATCH] reword + update --- README.md | 3 +-- github-distractionless/README.md | 2 +- github-distractionless/distractionless.js | 10 +++++----- linkedin-profile-views/README.md | 2 +- 4 files changed, 8 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 8c0ad14..20c1865 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,3 @@ # Userscript Collection - - +My userscript collection. Tested and used on ViolentMonkey, but should work with any userscript manager diff --git a/github-distractionless/README.md b/github-distractionless/README.md index 9d55a83..cf3bbed 100644 --- a/github-distractionless/README.md +++ b/github-distractionless/README.md @@ -1,3 +1,3 @@ # GitHub Distractionless -Userscript that makes sure that GitHub stays a work tool and doesn't turn into a social media website. +Userscript that makes sure that GitHub stays a work tool and doesn't turn into a social media website diff --git a/github-distractionless/distractionless.js b/github-distractionless/distractionless.js index 58b4482..f476b5f 100644 --- a/github-distractionless/distractionless.js +++ b/github-distractionless/distractionless.js @@ -1,13 +1,14 @@ // ==UserScript== // @name GitHub Distractionless // @namespace Violentmonkey Scripts -// @match https://github.com/ +// @match https://github.com/* // @grant none -// @version 0.1 +// @version 0.1.1 // @author turtlebasket // @website https://github.com/turtlebasket/userscripts/tree/master/github-distractionless -// @description 2/9/2023, 4:24:34 PM -// @run-at document-start +// @license MIT +// @description Userscript that makes sure that GitHub stays a work tool and doesn't turn into a social media website +// @run-at document-end // ==/UserScript== let hideEls = []; @@ -19,7 +20,6 @@ let titleBarEls = document.getElementsByClassName("js-selected-navigation-item") for (let i = 0; i < titleBarEls.length; i++) { let el = titleBarEls[i]; if (titleBarExclude.includes(el.innerHTML.trim())) { - console.log(el.innerHTML); hideEls.push(el); } } diff --git a/linkedin-profile-views/README.md b/linkedin-profile-views/README.md index e0fdf92..3fd148f 100644 --- a/linkedin-profile-views/README.md +++ b/linkedin-profile-views/README.md @@ -1,6 +1,6 @@ # LinkedIn Profile Viewers Viewer -Userscript that allows you to see who recently viewed your profile without buying premium - tested and used on [ViolentMonkey](https://violentmonkey.github.io/), but should work with any userscript manager +Userscript that allows you to see who recently viewed your profile without buying premium. Side note, if nothing shows up then try reloading the `/me/profile-views` page until it works lol