Skip to content

Instantly share code, notes, and snippets.

@zrubinrattet
zrubinrattet / Insect Post
Created September 5, 2018 17:59
Insect Post Content with Javascript
<script>
// self-executing function to protect $ and set it to jQuery
(function($, document, window){
// fire when document ready
$(document).ready(function(){
// handles the iframes
var IframeHandler = {
// the iframes
iframes : $('.post-content iframe'),
// the entry point