PageSourceSearch

https://detarame.pages.dev/jquery.cbiframesize.min.js

js detarame.pages.dev collected 2026-10-03 06:40:18 UTC 1,389 bytes, 7 lines download raw bytes

1/*!
2  * jquery.cbiframesize.js v1.0.4
3  * Auther @maechabin
4  * Licensed under mit license
5  * https://github.com/maechabin/jquery.cb-iframe-size.js
6  */
7!function(a){"object"==typeof module&&"object"==typeof module.exports?module.exports=a(require("jquery"),window,document):a(jQuery,window,document)}(function(a,b){"use strict";var c=function(c,d){this.iframe=c,this.$iframe=a(c),this.defaults={width:this.$iframe.width(),height:this.$iframe.height(),responsive:{width:this.$iframe.width(),height:this.$iframe.height()}},this.options=d,this.config={},this.timer=null,this.ww=a(b).width(),this.width=this.$iframe.width(),this.responsive_side=this.ww-this.width};c.prototype.changeSize=function(){var c=this.config.width/this.config.height,d=this.$iframe.width(),e=d/c,f=a(b).width(),g=this.config.responsive.width,h=this.config.responsive.height;this.$iframe.css(f<=g+this.responsive_side?{height:e+"px"}:{height:h+"px"})},c.prototype.checkTimer=function(){var a=this;clearTimeout(this.timer),this.timer=setTimeout(function(){a.changeSize()},40)},c.prototype.getResize=function(){var c=this;a(b).on("resize",function(){c.checkTimer()})},c.prototype.init=function(){return this.$iframe.css({"max-width":"100%"}),this.config=a.extend({},this.defaults,this.options),this.changeSize(),this.getResize(),this},a.fn.cbIframeSize=function(a){return this.each(function(){new c(this,a).init()})}});

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.