From 738bb9117860a1ba0316bbfe699078d00f0c0613 Mon Sep 17 00:00:00 2001 From: Nikurasu Date: Thu, 24 Nov 2022 15:36:33 +0100 Subject: [PATCH] First commit UwU --- GitLab/SwitchProfile.js | 12 ++++++++++++ README.md | 3 +++ 2 files changed, 15 insertions(+) create mode 100644 GitLab/SwitchProfile.js create mode 100644 README.md diff --git a/GitLab/SwitchProfile.js b/GitLab/SwitchProfile.js new file mode 100644 index 0000000..e4f17a8 --- /dev/null +++ b/GitLab/SwitchProfile.js @@ -0,0 +1,12 @@ +// Switch GitLab Profile +( + function() { + user = prompt('Input Git User to switch to:'); + link = window.location.href.split('/'); + link[3] = user; + window.location.href = link.join('/'); + }() +); + +// Minified +(function(){user=prompt('Input Git User to switch to:');link=window.location.href.split('/');link[3]=user;window.location.href=link.join('/');}()); diff --git a/README.md b/README.md new file mode 100644 index 0000000..c002c17 --- /dev/null +++ b/README.md @@ -0,0 +1,3 @@ +# Nikus Bookmarklets + +Just my collection of bookmarklets. Use them if they are useful for you too.