Fix encode

fixes the encode on strawpoll (no more å for example)

Verze ze dne 19. 10. 2020. Zobrazit nejnovější verzi.

// ==UserScript==
// @name        Fix encode
// @namespace   Fix encode by C4illin
// @match       https://www.strawpoll.me/*
// @grant       none
// @version     1.0
// @author      C4illin
// @description fixes the encode on strawpoll (no more å for example)
// @license     MIT; https://opensource.org/licenses/MIT
// @copyright   2020, C4illin (https://github.com/C4illin)
// ==/UserScript==

let title = document.querySelector("meta[property='og:title']").content
document.querySelector("div#result-list > h1").textContent = title
document.getElementsByTagName("title")[0].textContent = title