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
#DB-cardSelector { | |
zoom: 75%; | |
} | |
#DB-fakeCardListH { | |
background-color: #058; | |
background-image: url("/images/bgs/prophe.jpg"); | |
background-blend-mode: multiply; | |
background-size: 136%; | |
background-position-x: right; |
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
function createElementFromHTML(htmlString) { | |
var div = document.createElement('div'); | |
div.innerHTML = htmlString.trim(); | |
// Change this to div.childNodes to support multiple top-level nodes | |
return div.firstChild; | |
} | |
function addCommentLine() { | |
var el = createElementFromHTML('<textarea id="decKomment" rows="1" placeholder="by Bepoest" style="background-color: rgba(0,0,0,0); border: 0px; color: rgb(204, 204, 204); font-family: Fira; font-size: 1.1rem; margin: 0px; width: 95%; z-index: 10;"></textarea>'); |
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
#!/usr/bin/env python | |
# time python pwb.py scripts/pagefromfile.py -notitle -force -file:/home/fgombault/Sync/duelyst/duelyst-api/wiki_articles.txt | |
import json | |
import re | |
def getCardImageName(p): | |
return p['name'].replace(" ", "_") |
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
$(function () { | |
var confirmObserver = new MutationObserver(function (mutations) { | |
// Auto click OK on confirmation dialogs | |
if ($('.confirm-dialog').is(':visible')) { | |
$('.confirm-dialog').click(); | |
return; | |
} | |
// Auto click Got It on Crafting Rewards dialogs | |
if ($('.modal-title:contains("Crafting Rewards")').is(':visible')) { | |
$('.cancel-dialog').click(); |