reword + update

master
michael 2023-02-10 11:16:49 -08:00
parent ec018ababc
commit 5b4ba6fb2f
4 changed files with 8 additions and 9 deletions

View File

@ -1,4 +1,3 @@
# Userscript Collection # Userscript Collection
My userscript collection. Tested and used on ViolentMonkey, but should work with any userscript manager

View File

@ -1,3 +1,3 @@
# GitHub Distractionless # 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

View File

@ -1,13 +1,14 @@
// ==UserScript== // ==UserScript==
// @name GitHub Distractionless // @name GitHub Distractionless
// @namespace Violentmonkey Scripts // @namespace Violentmonkey Scripts
// @match https://github.com/ // @match https://github.com/*
// @grant none // @grant none
// @version 0.1 // @version 0.1.1
// @author turtlebasket // @author turtlebasket
// @website https://github.com/turtlebasket/userscripts/tree/master/github-distractionless // @website https://github.com/turtlebasket/userscripts/tree/master/github-distractionless
// @description 2/9/2023, 4:24:34 PM // @license MIT
// @run-at document-start // @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== // ==/UserScript==
let hideEls = []; let hideEls = [];
@ -19,7 +20,6 @@ let titleBarEls = document.getElementsByClassName("js-selected-navigation-item")
for (let i = 0; i < titleBarEls.length; i++) { for (let i = 0; i < titleBarEls.length; i++) {
let el = titleBarEls[i]; let el = titleBarEls[i];
if (titleBarExclude.includes(el.innerHTML.trim())) { if (titleBarExclude.includes(el.innerHTML.trim())) {
console.log(el.innerHTML);
hideEls.push(el); hideEls.push(el);
} }
} }

View File

@ -1,6 +1,6 @@
# LinkedIn Profile Viewers Viewer # 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 Side note, if nothing shows up then try reloading the `/me/profile-views` page until it works lol