Skip to content

Commit b746224

Browse files
committed
fix namespace
1 parent 6955e05 commit b746224

11 files changed

Lines changed: 24 additions & 27 deletions

no_support/DarkMode.user.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// ==UserScript==
22
// @name WFES - WF+ Dark Mode
3-
// @namespace https://gitlab.com/fotofreund0815/WFES
3+
// @namespace https://github.com/AlterTobi/WFES/
44
// @version 1.0.1
55
// @description Apply WayFarer+ like dark mode on the "new" (sept 21) Wayfarer
66
// @author MrJPGames / AlterTobi
@@ -39,7 +39,7 @@
3939
styleElem.innerText = customStyleSheet;
4040
headElem.appendChild(styleElem);
4141

42-
//Apply default dark mode if not already enabled:
42+
// Apply default dark mode if not already enabled:
4343
window.addEventListener("WFESPropertiesLoaded", () => document.getElementsByTagName("body")[0].classList.add("dark"));
4444

4545
console.log( "WFES Beta Script loaded: Dark Mode");

no_support/ExpireTimer.user.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// ==UserScript==
22
// @name WFES - Expire Timer
3-
// @namespace https://gitlab.com/fotofreund0815/WFES
3+
// @namespace https://github.com/AlterTobi/WFES/
44
// @version 0.1.1
55
// @description Adds a simple timer to the top of the screen showing how much time you have left on the current review.
66
// @author MrJPGames / AlterTobi
@@ -41,18 +41,18 @@
4141
var tDiffSec = Math.ceil(tDiff / 1000 - 60 * tDiffMin);
4242
timeElem.innerText = pad(tDiffMin, 2) + ":" + pad(tDiffSec, 2);
4343
headerTimer.innerText = "Time remaining: ";
44-
//Retrigger function in 1 second
44+
// Retrigger function in 1 second
4545
setTimeout(updateTimer, 1000);
4646
} else {
4747
timeElem.innerText = "EXPIRED!";
4848
timeElem.setAttribute("style", "color: red;");
4949
}
5050
}
5151

52-
//Helper functions
52+
// Helper functions
5353
function pad(num, size) {
5454
var s = num + "";
55-
while (s.length < size) s = "0" + s;
55+
while (s.length < size){s = "0" + s;}
5656
return s;
5757
}
5858

no_support/NominationsStreetView.user.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// ==UserScript==
22
// @name WFES - Nomination page StreetView
3-
// @namespace https://gitlab.com/fotofreund0815/WFES
3+
// @namespace https://github.com/AlterTobi/WFES/
44
// @version 1.0.2
55
// @description Adds the streetview view a reviewer will see on your own nominations!
66
// @author MrJPGames / AlterTobi

templates/wfes-template.user.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// ==UserScript==
22
// @name WFES - Userscript
3-
// @namespace https://gitlab.com/fotofreund0815/WFES
3+
// @namespace https://github.com/AlterTobi/WFES/
44
// @version 0.0.1
55
// @description WFES
66
// @author AlterTobi
@@ -15,10 +15,10 @@
1515
'use strict';
1616

1717
function myTemplate() {
18-
//CODE HERE
18+
// CODE HERE
1919
}
2020

2121
window.addEventListener("EVENT", myTemplate);
2222

23-
console.log( "WFES Script loaded: TEMPLATE");
23+
console.log("WFES Script loaded: TEMPLATE");
2424
})();

wfes-AddTranslationButtons.user.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// ==UserScript==
22
// @name WFES - Add Translation Buttons
3-
// @namespace https://gitlab.com/fotofreund0815/WFES
3+
// @namespace https://github.com/AlterTobi/WFES/
44
// @version 0.1.6
55
// @description Adds buttons to translate parts or all of the text associated with a wayspot
66
// @author MrJPGames / AlterTobi

wfes-Base.user.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// ==UserScript==
22
// @name WFES - Base
3-
// @namespace https://gitlab.com/fotofreund0815/WFES
3+
// @namespace https://github.com/AlterTobi/WFES/
44
// @version 0.6.6
55
// @description basic functionality for WFES
66
// @author AlterTobi

wfes-ImageMod.user.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// ==UserScript==
22
// @name WFES - image Mods
3-
// @namespace https://gitlab.com/fotofreund0815/WFES
3+
// @namespace https://github.com/AlterTobi/WFES/
44
// @version 0.1.4
55
// @description open fullsize images in "named" tabs
66
// @author AlterTobi

wfes-NominationNotify.user.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// ==UserScript==
22
// @name WFES - Nomination Notify
3-
// @namespace https://gitlab.com/fotofreund0815/WFES
3+
// @namespace https://github.com/AlterTobi/WFES/
44
// @version 0.2.4
55
// @description show nomination status updates
66
// @author AlterTobi

wfes-OpenIn.user.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// ==UserScript==
22
// @name WFES - maps open in
3-
// @namespace https://gitlab.com/fotofreund0815/WFES
3+
// @namespace https://github.com/AlterTobi/WFES/
44
// @version 0.3.5
55
// @description add "Open In" for maps
66
// @author AlterTobi

wfes-Showcase.user.js

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// ==UserScript==
22
// @name WFES - Showcase
3-
// @namespace https://gitlab.com/fotofreund0815/WFES
3+
// @namespace https://github.com/AlterTobi/WFES/
44
// @version 0.2.4
55
// @description Improve Wayfarer Showcase
66
// @author AlterTobi
@@ -16,7 +16,7 @@
1616

1717
function addCSS(){
1818
let myID = 'showcaseCSS';
19-
//already there?
19+
// already there?
2020
if ( null === document.getElementById(myID)) {
2121
let headElem = document.getElementsByTagName("HEAD")[0];
2222
let customStyleElem = document.createElement("style");
@@ -74,15 +74,12 @@ IYqHgkTBHM2N/P+MPR7hIjB3OzN427/WvgQYAPTTeKqgtlNiAAAAAElFTkSuQmCC');
7474
let myGameID = "wfesGame";
7575

7676
/*
77-
if ( null === document.getElementById(myDescID)) {
78-
let descriptionText = document.createElement("div");
79-
descriptionText.setAttribute('id',myDescID);
80-
descriptionText.innerText = details.description;
81-
window.document.getElementsByClassName('showcase-item__title')[0].appendChild(descriptionText);
82-
} else {
83-
document.getElementById(myDescID).innerText = details.description;
84-
}
85-
*/
77+
* if ( null === document.getElementById(myDescID)) { let descriptionText =
78+
* document.createElement("div"); descriptionText.setAttribute('id',myDescID);
79+
* descriptionText.innerText = details.description;
80+
* window.document.getElementsByClassName('showcase-item__title')[0].appendChild(descriptionText); }
81+
* else { document.getElementById(myDescID).innerText = details.description; }
82+
*/
8683
let userBox = window.document.getElementsByClassName('showcase-item__image-caption nightwind-prevent')[0];
8784
let klasse = null;
8885

0 commit comments

Comments
 (0)