Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Mapbox iframe bug
<!DOCTYPE html>
var content = unescape(`%3C%21DOCTYPE%20html%3E%0A%3Chtml%3E%0A%3Chead%3E%0A%3Cscript%20src%3D%27https%3A//`);
var blob = new Blob([content], {type: 'text/html'});
document.querySelector('iframe').src = URL.createObjectURL(blob);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.