Skip to content

CennoxX/userscripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

userscripts

Userscripts published at greasyfork. The userscripts listed here are only tested with Firefox and Tampermonkey.

Allows hotkeys and media keys to control the Spotify web player from any tab

details

This script adds hotkeys to control the Spotify webplayer from any tab. Note that you have to reload all tabs after installation. It can be used with keyboard hotkeys or with MediaKeys.

keyboard hotkeys:
ctrl + alt + p – play/pause
ctrl + alt + s – stop
ctrl + alt + , – previous title
ctrl + alt + . – next title
ctrl + alt + l – love title
ctrl + alt + u – unlove title

Use tabs to choose the Google search results

details

This script allows to use the tab key to switch between the Google results.

Closes the old tab, if a new one with the same URL emerges

details

This script closes the old tab, if a new one with the same URL emerges. On Firefox you might need to open about:config and set allow_scripts_to_close_windows to true.

Redirects to the last.fm page in the own language

details

This script redirects to the last.fm-page of the own language, if it is available.

Changes the appearance of fullscreen-for-googletasks.com to resemble tasks.google.com

details

Remove the yellowish theme of fullscreen-for-googletasks.com and change the colors to the ones at tasks.google.com.

Gets data from JSON-LD of IMDb to QuickStatements, to publish it on Wikidata

details

This script loads data from IMDb for using it in Wikidata.

To do so, it loads the JSON-LD of currently opened IMDb-sites, where some simple statements like actor, writer, date published, etc. (and their IMDb-IDs) are stored. From Wikidata the script loads the according Wikidata items with the help of the IMDb-IDs. The statements then are inserted to the form of QuickStatements for an import to Wikidata. Source statements are also made. To work, you need to be logged in to QuickStatements and have the tab opened. To import the data click on the button Import V1 commands.

Offers Fernsehserien.de labels based on the episode number or title as Wikidata label

details

This script shows possible labels for Wikidata items of TV episodes, which can be added with one click after verifying them. The titles come from Fernsehserien.de and are determined by the original title of the episode and the episode number. The Fernsehserien.de ID of the series is determined from the corresponding TV series Wikidata item. If there is no ID, the script tries to guess one. The reliability of the label is expressed in colors (red, yellow, green). The link to the Fernsehserien.de episode guide is also added.

Creates QuickStatements for Wikidata episode items from Wikipedia episode lists

details

This script creates missing season and episode items for Wikidata based on Wikipedia episode list articles, IMDb and Fernsehserien.de. It includes basic properties for seasons and episodes, screenwriter and director are identified via Wikipedia links within the episode list, the network, original language and country via the series item from Wikidata. The IMDb-ID and the German label are matched by the episode title and number.

To generate the episode items, open a Wikipedia article with an episode list. After clicking on "Convert episode list for Wikidata" in the userscript menu, the web console (F12) shows the process of generating the items, including the text for QuickStatements, which is also copied to the clipboard. All statements should be checked for correctness before execution.

deutsche Scripte

Füllt bei Anlage eines Kalendereintrages aus einer E-Mail heraus automatisch Datum und Uhrzeit aus

details

Dieses Script ermittelt bei Anlage eines Kalendereintrages aus Googlemail über "Mehr" > "Termin erstellen" den Zeitpunkt entsprechend des Inhaltes der E-Mail. Dazu sucht es nach bekannten Datums- und Uhrzeitformaten und Wochentagen, füllt den Zeitpunkt, setzt die Dauer auf zwei Stunden und löscht alle Kalendertermin-Teilnehmer.

Wandelt die Filmografie von IMDb mithilfe von Wikidata in Wikipedia-Quelltext um

details

Dieses Skript wandelt die Filmografie der IMDb in Wiki-Quelltext einschließlich Wiki-Links um.

Dazu lädt es die Filmografie einer geöffneten IMDb-Seite und vergleicht die IMDb-IDs mit bestehenden Einträgen auf Wikidata. Falls vorhanden, werden die deutschen Titel der Einträge aus dem entsprechenden deutschen Wikipedia-Artikel, der zugehörigen Wikidata-Bezeichnung oder aus der IMDb übernommen. Für den Originaltitel wird zunächst Wikidata konsultiert. Sind dort keine Informationen hinterlegt, wird der Titel aus der Entertainment Identifier Registry oder der IMDb verwendet. Wiki-Links für bestehende Artikel werden automatisch entsprechend den Angaben auf Wikidata gesetzt.

Um die Filmografie zu generieren, muss die Personenseite mit angehangenem /fullcredits geöffnet werden. Dort kann im Menü des Benutzerskripts auf "Filmografie laden" geklickt werden. Nach ein paar Sekunden erscheint eine Meldung, dass die Filmografie kopiert wurde. Die Filmografie kann mit erweiterten Einstellungen in der Browserkonsole geladen werden. Durch die Angabe der Parameter in ladeFilmografie(occupation,showShort,episodeLabel); kann die Episodenbezeichnung ("Folge" oder "Episode") gewählt werden, sowie entschieden werden, ob Kurzfilme angezeigt werden sollen oder nicht (true oder false). Durch die Angabe des Berufs können Filmografien von Drehbuchautoren ("writer"), Regisseuren ("director") und weiteren Berufen statt Filmografien von Schauspielern erstellt werden. Die Angabe des Parameters entspricht dem name-Attribut des jeweiligen Abschnitt-Links der Filmografie auf IMDb.

Erstellt Grundgerüste für Wikipedia-Artikel von Personen aus Wikidata-Daten

details

Dieses Script erstellt auf Basis von Wikidata ein Grundgerüst für Wikipedia-Artikel und vereinfacht so die Anlage von Artikeln. Um ein Artikel-Grundgerüst zu generieren, muss ein Artikel mit dem Quelltext-Editor auf Wikipedia im Artikel-Namensraum erstellt werden (etwa durch Anklicken eines Rotlinks, zB Keith Nobbs (Schauspieler)). Es erscheint eine Eingabeaufforderung mit möglichen auf Wikidata vorhandenen Einträgen. Nach Angabe einer der möglichen Nummern, wird das Grundgerüst geladen. Dies kann einige Zeit dauern. Alternativ kann in der Eingabeaufforderung auch der Bezeichner von Wikidata (Q…) angegeben werden. Derzeit werden nur Personen-Artikel unterstützt.

Das Script ist zurzeit vor allem für Schauspieler-Artikel angepasst, bei anderen Personen-Artikeln werden noch Teile des Artikels geladen, andere Arten von Artikeln führen zurzeit zu einer Fehlermeldung. Abhängig ist das Script dabei immer von der Datengrundlage auf Wikidata. Angelegt werden eine kurze Einleitung mit Bild, Geburtsdaten, Nationalität, Berufen, einige Sätze zum Bildungsweg und Familie, eine kurze Erwähnung wichtiger Filme und Serien, die Filmografie (unter Einbeziehen von Daten der IMDb), Kategorien und Personendaten.

Das Script befindet sich derzeit noch im Entwicklungszustand.