Could you elaborate on how this isn't working? What are you expecting to happen and what happens instead? If you enable web developer extensions, are there any errors in the console, and what are those errors, and in what browser and browser version do they appear?
This file contains hidden or 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
import base64 | |
import hashlib | |
import json | |
from urllib import request | |
from cryptography.hazmat.primitives.ciphers import Cipher, algorithms, modes | |
from cryptography.hazmat.backends import default_backend | |
This file contains hidden or 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
This file is only here to provide the title of the gist |
This file contains hidden or 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
license: MIT |
This file contains hidden or 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
// If we can create a SVG element, and it has the basic function of SVG | |
if(!!document.createElementNS | |
&& !!document.createElementNS('http://www.w3.org/2000/svg', "svg").createSVGRect) { | |
// The browser supports SVG | |
} else { | |
// The browser DOESN'T support SVG yet | |
} |