Skip to content

Instantly share code, notes, and snippets.

View Reinachan's full-sized avatar
🧠
Dangerously good at regex

Nina Louise Reinachan

🧠
Dangerously good at regex
  • Norway
View GitHub Profile
@Reinachan
Reinachan / README.md
Last active January 7, 2022 21:44
Pressfire Widget - iOS

Pressfire Widget - iOS

Enkel widget som viser de siste nye Pressfire artiklene.

widget preview

Oppsett

Les gjennom koden for å sjekke at jeg ikke finner på noe fanteri )

/* ==UserStyle==
@name grouvee.com - 18/10/2021, 00:00:25
@namespace github.com/openstyles/stylus
@version 1.0.0
@description A new userstyle
@author Me
==/UserStyle== */
@-moz-document domain("grouvee.com") {
:root {
--background-color: #0c0c0c;
@Reinachan
Reinachan / README.md
Last active August 18, 2021 23:51
AniList Widget - Scriptable

Anime and Manga Widget for AniList

Gives you a quick overview of your most recently updated anime or manga with the option to pick which media type you'd like per widget.

Currently only supports fullsize widget

Install instructions

@Reinachan
Reinachan / full-template-string.js
Last active August 14, 2021 00:42
AniList Latest Updated Anime iOS Widget
const html =
"<html> \
<head> \
<style> \
:root { \
--main-color: #B368F6; \
} \
body { \
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif; \
color: white; \
@Reinachan
Reinachan / AniList-Emoji-Conversion-Bookmarklet-minified.js
Last active October 24, 2022 13:01
AniList Emoji Conversion Tool
javascript:(function(){let textInput=document.querySelectorAll('textarea');const inputLength=textInput.length;function replaceEmoji(inValue){let result='';for(let i=0;i<inValue.value.length;i+=1){var code=inValue.value.codePointAt(i);if(code>0xFFFF){result+=['&#',code,';'].join('');i+=1}else{result+=String.fromCodePoint(code)}}return result}for(let i=0;i<inputLength;i+=1){const input=textInput[i];if(input.value){textInput[i].value=replaceEmoji(input);textInput[i].dispatchEvent(new Event('input'))}}})();