This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* ==UserStyle== | |
@name 24.hu - Dark | |
@namespace github.com/d3n972/styles | |
@version 1.0.6 | |
@description Opinioned 24.hu dark theme | |
@author d3n972 | |
@ | |
==/UserStyle== */ | |
@-moz-document url-prefix("https://24.hu/") { | |
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:wght@400;700&display=swap'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class t { | |
blockregex = /\{\{(([@!]?)(.+?))\}\}(([\s\S]+?)(\{\{:\1\}\}([\s\S]+?))?)\{\{\/\1\}\}/g; | |
valregex = /\{\{([=%])(.+?)\}\}/g; | |
constructor(template) { | |
this._t = template; | |
} | |
scrub(val) { | |
return val.replace(/"/g, """); | |
} |