Skip to content

Instantly share code, notes, and snippets.

@Matcha-WL
Matcha-WL / iframe.js
Created November 22, 2020 05:43 — forked from wlarch/iframe.js
Overwrite/bypass <iframe></iframe> height limit imposed by Wordpress
/**
* Overwrite/bypass <iframe></iframe> height limit imposed by Wordpress
* Original idea from bypass-iframe-height-limit plugin by Justin Carboneau
* Adapted from original /wp-includes/js/wp-embed.js
*/
(function(window, document) {
'use strict';
var supportedBrowser = false;