13 lines
390 B
JavaScript
13 lines
390 B
JavaScript
// 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('/');}());
|