17 |
- |
1 |
|
68 |
- |
2 |
|
|
|
3 |
|
|
|
4 |
|
|
|
5 |
|
|
|
6 |
|
|
|
7 |
<!DOCTYPE html>
|
|
|
8 |
<html lang="en">
|
|
|
9 |
<head>
|
|
|
10 |
<meta charset="utf-8">
|
|
|
11 |
<link rel="dns-prefetch" href="https://github.githubassets.com">
|
|
|
12 |
<link rel="dns-prefetch" href="https://avatars0.githubusercontent.com">
|
|
|
13 |
<link rel="dns-prefetch" href="https://avatars1.githubusercontent.com">
|
|
|
14 |
<link rel="dns-prefetch" href="https://avatars2.githubusercontent.com">
|
|
|
15 |
<link rel="dns-prefetch" href="https://avatars3.githubusercontent.com">
|
|
|
16 |
<link rel="dns-prefetch" href="https://github-cloud.s3.amazonaws.com">
|
|
|
17 |
<link rel="dns-prefetch" href="https://user-images.githubusercontent.com/">
|
|
|
18 |
|
|
|
19 |
|
|
|
20 |
|
|
|
21 |
<link crossorigin="anonymous" media="all" integrity="sha512-7uoDIEGQ8zTwUS9KjTP+/2I13FQPHvJ9EKoeUThfin5R1+27bcUC08VQzUo4CIjCdhvJM4zxuI+3HcSycAUTCg==" rel="stylesheet" href="https://github.githubassets.com/assets/frameworks-abba74d6e28a6842788159fec056bf26.css" />
|
|
|
22 |
<link crossorigin="anonymous" media="all" integrity="sha512-5LDBQ/DhsFq/ry7aepdbc1FV0mW/0lPqH6GlYFfzzd5wo8MBz9Rb67LigKe0uKM8kK5QrA/QsJCpsE1+hOLF6w==" rel="stylesheet" href="https://github.githubassets.com/assets/site-0e25450ff46c1fbf61d504f9ffc4d784.css" />
|
|
|
23 |
<link crossorigin="anonymous" media="all" integrity="sha512-jiYfuCC6laAkC/UmxmKA8LyJf0P7Tnr/Spj2/FaAntS9JxlHc5qy/spf/hZy1IiTPbsL2fQ7HGm54wsTQqD1sg==" rel="stylesheet" href="https://github.githubassets.com/assets/github-c21717b983d9e056fa427742984a76c0.css" />
|
|
|
24 |
|
|
|
25 |
|
|
|
26 |
|
|
|
27 |
|
|
|
28 |
|
|
|
29 |
<meta name="viewport" content="width=device-width">
|
|
|
30 |
|
|
|
31 |
<title>iframe-resizer/iframeResizer.contentWindow.min.js at master · davidjbradshaw/iframe-resizer · GitHub</title>
|
|
|
32 |
<meta name="description" content="Keep same and cross domain iFrames sized to their content with support for window/content resizing, in page links, nesting and multiple iFrames - davidjbradshaw/iframe-resizer">
|
|
|
33 |
<link rel="search" type="application/opensearchdescription+xml" href="/opensearch.xml" title="GitHub">
|
|
|
34 |
<link rel="fluid-icon" href="https://github.com/fluidicon.png" title="GitHub">
|
|
|
35 |
<meta property="fb:app_id" content="1401488693436528">
|
|
|
36 |
|
|
|
37 |
|
|
|
38 |
<meta property="og:image" content="https://avatars0.githubusercontent.com/u/591634?s=400&v=4" /><meta property="og:site_name" content="GitHub" /><meta property="og:type" content="object" /><meta property="og:title" content="davidjbradshaw/iframe-resizer" /><meta property="og:url" content="https://github.com/davidjbradshaw/iframe-resizer" /><meta property="og:description" content="Keep same and cross domain iFrames sized to their content with support for window/content resizing, in page links, nesting and multiple iFrames - davidjbradshaw/iframe-resizer" />
|
|
|
39 |
|
|
|
40 |
<link rel="assets" href="https://github.githubassets.com/">
|
|
|
41 |
|
|
|
42 |
<meta name="pjax-timeout" content="1000">
|
|
|
43 |
|
|
|
44 |
<meta name="request-id" content="C536:34E3:5BCEAA:A5878D:5C9A1190" data-pjax-transient>
|
|
|
45 |
|
|
|
46 |
|
|
|
47 |
|
|
|
48 |
|
|
|
49 |
<meta name="selected-link" value="repo_source" data-pjax-transient>
|
|
|
50 |
|
|
|
51 |
<meta name="google-site-verification" content="KT5gs8h0wvaagLKAVWq8bbeNwnZZK1r1XQysX3xurLU">
|
|
|
52 |
<meta name="google-site-verification" content="ZzhVyEFwb7w3e0-uOTltm8Jsck2F5StVihD0exw2fsA">
|
|
|
53 |
<meta name="google-site-verification" content="GXs5KoUUkNCoaAZn7wPN-t01Pywp9M3sEjnt_3_ZWPc">
|
|
|
54 |
|
|
|
55 |
<meta name="octolytics-host" content="collector.githubapp.com" /><meta name="octolytics-app-id" content="github" /><meta name="octolytics-event-url" content="https://collector.githubapp.com/github-external/browser_event" /><meta name="octolytics-dimension-request_id" content="C536:34E3:5BCEAA:A5878D:5C9A1190" /><meta name="octolytics-dimension-region_edge" content="iad" /><meta name="octolytics-dimension-region_render" content="iad" />
|
|
|
56 |
<meta name="analytics-location" content="/<user-name>/<repo-name>/blob/show" data-pjax-transient="true" />
|
|
|
57 |
|
|
|
58 |
|
|
|
59 |
|
|
|
60 |
<meta name="google-analytics" content="UA-3769691-2">
|
|
|
61 |
|
|
|
62 |
|
|
|
63 |
<meta class="js-ga-set" name="dimension1" content="Logged Out">
|
|
|
64 |
|
|
|
65 |
|
|
|
66 |
|
|
|
67 |
|
|
|
68 |
|
|
|
69 |
<meta name="hostname" content="github.com">
|
|
|
70 |
<meta name="user-login" content="">
|
|
|
71 |
|
|
|
72 |
<meta name="expected-hostname" content="github.com">
|
|
|
73 |
<meta name="js-proxy-site-detection-payload" content="NWM4MTBkZmY2ZjIxMjg3NWEyZDAxOWU4YjMwMzdiY2JjZTUyOTYxZGM1NDg1Y2U1ZjAyNmI5MmU3YWI5ODkwNnx7InJlbW90ZV9hZGRyZXNzIjoiNzIuMjE5LjIzOC4xMzUiLCJyZXF1ZXN0X2lkIjoiQzUzNjozNEUzOjVCQ0VBQTpBNTg3OEQ6NUM5QTExOTAiLCJ0aW1lc3RhbXAiOjE1NTM2MDA5MTIsImhvc3QiOiJnaXRodWIuY29tIn0=">
|
|
|
74 |
|
|
|
75 |
<meta name="enabled-features" content="UNIVERSE_BANNER,MARKETPLACE_SOCIAL_PROOF,MARKETPLACE_SOCIAL_PROOF_CUSTOMERS,MARKETPLACE_TRENDING_SOCIAL_PROOF,MARKETPLACE_UNVERIFIED_LISTINGS,MARKETPLACE_PLAN_RESTRICTION_EDITOR">
|
|
|
76 |
|
|
|
77 |
<meta name="html-safe-nonce" content="24d01f779b8410b23c31e11fb71c27ec62ba00fb">
|
|
|
78 |
|
|
|
79 |
<meta http-equiv="x-pjax-version" content="d6b17baaeacfa20baee4577946a6b390">
|
|
|
80 |
|
|
|
81 |
|
|
|
82 |
<link href="https://github.com/davidjbradshaw/iframe-resizer/commits/master.atom" rel="alternate" title="Recent Commits to iframe-resizer:master" type="application/atom+xml">
|
|
|
83 |
|
|
|
84 |
<meta name="go-import" content="github.com/davidjbradshaw/iframe-resizer git https://github.com/davidjbradshaw/iframe-resizer.git">
|
|
|
85 |
|
|
|
86 |
<meta name="octolytics-dimension-user_id" content="591634" /><meta name="octolytics-dimension-user_login" content="davidjbradshaw" /><meta name="octolytics-dimension-repository_id" content="10696042" /><meta name="octolytics-dimension-repository_nwo" content="davidjbradshaw/iframe-resizer" /><meta name="octolytics-dimension-repository_public" content="true" /><meta name="octolytics-dimension-repository_is_fork" content="false" /><meta name="octolytics-dimension-repository_network_root_id" content="10696042" /><meta name="octolytics-dimension-repository_network_root_nwo" content="davidjbradshaw/iframe-resizer" /><meta name="octolytics-dimension-repository_explore_github_marketplace_ci_cta_shown" content="false" />
|
|
|
87 |
|
|
|
88 |
|
|
|
89 |
<link rel="canonical" href="https://github.com/davidjbradshaw/iframe-resizer/blob/master/js/iframeResizer.contentWindow.min.js" data-pjax-transient>
|
|
|
90 |
|
|
|
91 |
|
|
|
92 |
<meta name="browser-stats-url" content="https://api.github.com/_private/browser/stats">
|
|
|
93 |
|
|
|
94 |
<meta name="browser-errors-url" content="https://api.github.com/_private/browser/errors">
|
|
|
95 |
|
|
|
96 |
<link rel="mask-icon" href="https://github.githubassets.com/pinned-octocat.svg" color="#000000">
|
|
|
97 |
<link rel="icon" type="image/x-icon" class="js-site-favicon" href="https://github.githubassets.com/favicon.ico">
|
|
|
98 |
|
|
|
99 |
<meta name="theme-color" content="#1e2327">
|
|
|
100 |
|
|
|
101 |
|
|
|
102 |
|
|
|
103 |
|
|
|
104 |
<link rel="manifest" href="/manifest.json" crossOrigin="use-credentials">
|
|
|
105 |
|
|
|
106 |
</head>
|
|
|
107 |
|
|
|
108 |
<body class="logged-out env-production page-blob">
|
|
|
109 |
|
|
|
110 |
|
|
|
111 |
<div class="position-relative js-header-wrapper ">
|
|
|
112 |
<a href="#start-of-content" tabindex="1" class="px-2 py-4 bg-blue text-white show-on-focus js-skip-to-content">Skip to content</a>
|
|
|
113 |
<div id="js-pjax-loader-bar" class="pjax-loader-bar"><div class="progress"></div></div>
|
|
|
114 |
|
|
|
115 |
|
|
|
116 |
|
|
|
117 |
|
|
|
118 |
|
|
|
119 |
|
|
|
120 |
|
|
|
121 |
<header class="Header-old header-logged-out position-relative f4 py-3" role="banner">
|
|
|
122 |
<div class="container-lg d-flex px-3">
|
|
|
123 |
<div class="d-flex flex-justify-between flex-items-center">
|
|
|
124 |
<a class="mr-4" href="https://github.com/" aria-label="Homepage" data-ga-click="(Logged out) Header, go to homepage, icon:logo-wordmark">
|
|
|
125 |
<svg height="32" class="octicon octicon-mark-github text-white" viewBox="0 0 16 16" version="1.1" width="32" aria-hidden="true"><path fill-rule="evenodd" d="M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.013 8.013 0 0 0 16 8c0-4.42-3.58-8-8-8z"/></svg>
|
|
|
126 |
</a>
|
|
|
127 |
</div>
|
|
|
128 |
|
|
|
129 |
<div class="HeaderMenu HeaderMenu--logged-out d-flex flex-justify-between flex-items-center flex-auto">
|
|
|
130 |
<div class="d-none">
|
|
|
131 |
<button class="btn-link js-details-target" type="button" aria-label="Toggle navigation" aria-expanded="false">
|
|
|
132 |
<svg height="24" class="octicon octicon-x text-gray" viewBox="0 0 12 16" version="1.1" width="18" aria-hidden="true"><path fill-rule="evenodd" d="M7.48 8l3.75 3.75-1.48 1.48L6 9.48l-3.75 3.75-1.48-1.48L4.52 8 .77 4.25l1.48-1.48L6 6.52l3.75-3.75 1.48 1.48L7.48 8z"/></svg>
|
|
|
133 |
</button>
|
|
|
134 |
</div>
|
|
|
135 |
|
|
|
136 |
<nav class="mt-0" aria-label="Global">
|
|
|
137 |
<ul class="d-flex list-style-none">
|
|
|
138 |
<li class=" mr-3 mr-lg-3 edge-item-fix position-relative flex-wrap flex-justify-between d-flex flex-items-center ">
|
|
|
139 |
<details class="HeaderMenu-details details-overlay details-reset width-full">
|
|
|
140 |
<summary class="HeaderMenu-summary HeaderMenu-link px-0 py-3 border-0 no-wrap d-inline-block">
|
|
|
141 |
Why GitHub?
|
|
|
142 |
<svg x="0px" y="0px" viewBox="0 0 14 8" xml:space="preserve" fill="none" class="icon-chevon-down-mktg position-relative">
|
|
|
143 |
<path d="M1,1l6.2,6L13,1"></path>
|
|
|
144 |
</svg>
|
|
|
145 |
</summary>
|
|
|
146 |
<div class="dropdown-menu flex-auto rounded-1 bg-white px-0 mt-0 p-4 left-n4 position-absolute">
|
|
|
147 |
<a href="/features" class="py-2 lh-condensed-ultra d-block link-gray-dark no-underline h5 Bump-link--hover" data-ga-click="(Logged out) Header, go to Features">Features <span class="Bump-link-symbol float-right text-normal text-gray-light">→</span></a>
|
|
|
148 |
<ul class="list-style-none f5 pb-3">
|
|
|
149 |
<li class="edge-item-fix"><a href="/features/code-review/" class="py-2 lh-condensed-ultra d-block link-gray no-underline f5" data-ga-click="(Logged out) Header, go to Code review">Code review</a></li>
|
|
|
150 |
<li class="edge-item-fix"><a href="/features/project-management/" class="py-2 lh-condensed-ultra d-block link-gray no-underline f5" data-ga-click="(Logged out) Header, go to Project management">Project management</a></li>
|
|
|
151 |
<li class="edge-item-fix"><a href="/features/integrations" class="py-2 lh-condensed-ultra d-block link-gray no-underline f5" data-ga-click="(Logged out) Header, go to Integrations">Integrations</a></li>
|
|
|
152 |
<li class="edge-item-fix"><a href="/features/actions" class="py-2 lh-condensed-ultra d-block link-gray no-underline f5" data-ga-click="(Logged out) Header, go to Actions">Actions</a>
|
|
|
153 |
<li class="edge-item-fix"><a href="/features#team-management" class="py-2 lh-condensed-ultra d-block link-gray no-underline f5" data-ga-click="(Logged out) Header, go to Team management">Team management</a></li>
|
|
|
154 |
<li class="edge-item-fix"><a href="/features#social-coding" class="py-2 lh-condensed-ultra d-block link-gray no-underline f5" data-ga-click="(Logged out) Header, go to Social coding">Social coding</a></li>
|
|
|
155 |
<li class="edge-item-fix"><a href="/features#documentation" class="py-2 lh-condensed-ultra d-block link-gray no-underline f5" data-ga-click="(Logged out) Header, go to Documentation">Documentation</a></li>
|
|
|
156 |
<li class="edge-item-fix"><a href="/features#code-hosting" class="py-2 lh-condensed-ultra d-block link-gray no-underline f5" data-ga-click="(Logged out) Header, go to Code hosting">Code hosting</a></li>
|
|
|
157 |
</ul>
|
|
|
158 |
|
|
|
159 |
<ul class="list-style-none mb-0 border-lg-top pt-lg-3">
|
|
|
160 |
<li class="edge-item-fix"><a href="/customer-stories" class="py-2 lh-condensed-ultra d-block no-underline link-gray-dark no-underline h5 Bump-link--hover" data-ga-click="(Logged out) Header, go to Customer stories">Customer stories <span class="Bump-link-symbol float-right text-normal text-gray-light">→</span></a></li>
|
|
|
161 |
<li class="edge-item-fix"><a href="/security" class="py-2 lh-condensed-ultra d-block no-underline link-gray-dark no-underline h5 Bump-link--hover" data-ga-click="(Logged out) Header, go to Security">Security <span class="Bump-link-symbol float-right text-normal text-gray-light">→</span></a></li>
|
|
|
162 |
</ul>
|
|
|
163 |
</div>
|
|
|
164 |
</details>
|
|
|
165 |
</li>
|
|
|
166 |
<li class=" mr-3 mr-lg-3">
|
|
|
167 |
<a href="/enterprise" class="HeaderMenu-link no-underline py-3 d-block d-lg-inline-block" data-ga-click="(Logged out) Header, go to Enterprise">Enterprise</a>
|
|
|
168 |
</li>
|
|
|
169 |
|
|
|
170 |
<li class=" mr-3 mr-lg-3 edge-item-fix position-relative flex-wrap flex-justify-between d-flex flex-items-center ">
|
|
|
171 |
<details class="HeaderMenu-details details-overlay details-reset width-full">
|
|
|
172 |
<summary class="HeaderMenu-summary HeaderMenu-link px-0 py-3 border-0 no-wrap d-inline-block">
|
|
|
173 |
Explore
|
|
|
174 |
<svg x="0px" y="0px" viewBox="0 0 14 8" xml:space="preserve" fill="none" class="icon-chevon-down-mktg position-relative">
|
|
|
175 |
<path d="M1,1l6.2,6L13,1"></path>
|
|
|
176 |
</svg>
|
|
|
177 |
</summary>
|
|
|
178 |
|
|
|
179 |
<div class="dropdown-menu flex-auto rounded-1 bg-white px-0 pt-2 pb-0 mt-0 p-4 left-n4 position-absolute">
|
|
|
180 |
<ul class="list-style-none mb-3">
|
|
|
181 |
<li class="edge-item-fix"><a href="/explore" class="py-2 lh-condensed-ultra d-block link-gray-dark no-underline h5 Bump-link--hover" data-ga-click="(Logged out) Header, go to Explore">Explore GitHub <span class="Bump-link-symbol float-right text-normal text-gray-light">→</span></a></li>
|
|
|
182 |
</ul>
|
|
|
183 |
|
|
|
184 |
<h4 class="text-gray-light text-normal text-mono f5 mb-2 border-top pt-3">Learn & contribute</h4>
|
|
|
185 |
<ul class="list-style-none mb-3">
|
|
|
186 |
<li class="edge-item-fix"><a href="/topics" class="py-2 lh-condensed-ultra d-block link-gray no-underline f5" data-ga-click="(Logged out) Header, go to Topics">Topics</a></li>
|
|
|
187 |
<li class="edge-item-fix"><a href="/collections" class="py-2 lh-condensed-ultra d-block link-gray no-underline f5" data-ga-click="(Logged out) Header, go to Collections">Collections</a></li>
|
|
|
188 |
<li class="edge-item-fix"><a href="/trending" class="py-2 lh-condensed-ultra d-block link-gray no-underline f5" data-ga-click="(Logged out) Header, go to Trending">Trending</a></li>
|
|
|
189 |
<li class="edge-item-fix"><a href="https://lab.github.com/" class="py-2 lh-condensed-ultra d-block link-gray no-underline f5" data-ga-click="(Logged out) Header, go to Learning lab">Learning Lab</a></li>
|
|
|
190 |
<li class="edge-item-fix"><a href="https://opensource.guide" class="py-2 lh-condensed-ultra d-block link-gray no-underline f5" data-ga-click="(Logged out) Header, go to Open source guides">Open source guides</a></li>
|
|
|
191 |
</ul>
|
|
|
192 |
|
|
|
193 |
<h4 class="text-gray-light text-normal text-mono f5 mb-2 border-top pt-3">Connect with others</h4>
|
|
|
194 |
<ul class="list-style-none mb-0">
|
|
|
195 |
<li class="edge-item-fix"><a href="https://github.com/events" class="py-2 lh-condensed-ultra d-block link-gray no-underline f5" data-ga-click="(Logged out) Header, go to Events">Events</a></li>
|
|
|
196 |
<li class="edge-item-fix"><a href="https://github.community" class="py-2 lh-condensed-ultra d-block link-gray no-underline f5" data-ga-click="(Logged out) Header, go to Community forum">Community forum</a></li>
|
|
|
197 |
<li class="edge-item-fix"><a href="https://education.github.com" class="py-2 pb-0 lh-condensed-ultra d-block link-gray no-underline f5" data-ga-click="(Logged out) Header, go to GitHub Education">GitHub Education</a></li>
|
|
|
198 |
</ul>
|
|
|
199 |
</div>
|
|
|
200 |
</details>
|
|
|
201 |
</li>
|
|
|
202 |
|
|
|
203 |
<li class=" mr-3 mr-lg-3">
|
|
|
204 |
<a href="/marketplace" class="HeaderMenu-link no-underline py-3 d-block d-lg-inline-block" data-ga-click="(Logged out) Header, go to Marketplace">Marketplace</a>
|
|
|
205 |
</li>
|
|
|
206 |
|
|
|
207 |
<li class=" mr-3 mr-lg-3 edge-item-fix position-relative flex-wrap flex-justify-between d-flex flex-items-center ">
|
|
|
208 |
<details class="HeaderMenu-details details-overlay details-reset width-full">
|
|
|
209 |
<summary class="HeaderMenu-summary HeaderMenu-link px-0 py-3 border-0 no-wrap d-inline-block">
|
|
|
210 |
Pricing
|
|
|
211 |
<svg x="0px" y="0px" viewBox="0 0 14 8" xml:space="preserve" fill="none" class="icon-chevon-down-mktg position-relative">
|
|
|
212 |
<path d="M1,1l6.2,6L13,1"></path>
|
|
|
213 |
</svg>
|
|
|
214 |
</summary>
|
|
|
215 |
|
|
|
216 |
<div class="dropdown-menu flex-auto rounded-1 bg-white px-0 pt-2 pb-4 mt-0 p-4 left-n4 position-absolute">
|
|
|
217 |
<a href="/pricing" class="pb-2 lh-condensed-ultra d-block link-gray-dark no-underline h5 Bump-link--hover" data-ga-click="(Logged out) Header, go to Pricing">Plans <span class="Bump-link-symbol float-right text-normal text-gray-light">→</span></a>
|
|
|
218 |
|
|
|
219 |
<ul class="list-style-none mb-3">
|
|
|
220 |
<li class="edge-item-fix"><a href="/pricing#feature-comparison" class="py-2 lh-condensed-ultra d-block link-gray no-underline f5" data-ga-click="(Logged out) Header, go to Compare plans">Compare plans</a></li>
|
|
|
221 |
<li class="edge-item-fix"><a href="https://enterprise.github.com/contact" class="py-2 lh-condensed-ultra d-block link-gray no-underline f5" data-ga-click="(Logged out) Header, go to Contact Sales">Contact Sales</a></li>
|
|
|
222 |
</ul>
|
|
|
223 |
|
|
|
224 |
<ul class="list-style-none mb-0 border-top pt-3">
|
|
|
225 |
<li class="edge-item-fix"><a href="/nonprofit" class="py-2 lh-condensed-ultra d-block no-underline link-gray-dark no-underline h5 Bump-link--hover" data-ga-click="(Logged out) Header, go to Nonprofits">Nonprofit <span class="Bump-link-symbol float-right text-normal text-gray-light">→</span></a></li>
|
|
|
226 |
<li class="edge-item-fix"><a href="https://education.github.com" class="py-2 pb-0 lh-condensed-ultra d-block no-underline link-gray-dark no-underline h5 Bump-link--hover" data-ga-click="(Logged out) Header, go to Education">Education <span class="Bump-link-symbol float-right text-normal text-gray-light">→</span></a></li>
|
|
|
227 |
</ul>
|
|
|
228 |
</div>
|
|
|
229 |
</details>
|
|
|
230 |
</li>
|
|
|
231 |
</ul>
|
|
|
232 |
</nav>
|
|
|
233 |
|
|
|
234 |
<div class="d-flex flex-items-center px-0 text-center text-left">
|
|
|
235 |
<div class="d-lg-flex ">
|
|
|
236 |
<div class="header-search mr-3 scoped-search site-scoped-search js-site-search position-relative js-jump-to"
|
|
|
237 |
role="combobox"
|
|
|
238 |
aria-owns="jump-to-results"
|
|
|
239 |
aria-label="Search or jump to"
|
|
|
240 |
aria-haspopup="listbox"
|
|
|
241 |
aria-expanded="false"
|
|
|
242 |
>
|
|
|
243 |
<div class="position-relative">
|
|
|
244 |
<!-- '"` --><!-- </textarea></xmp> --></option></form><form class="js-site-search-form" role="search" aria-label="Site" data-scope-type="Repository" data-scope-id="10696042" data-scoped-search-url="/davidjbradshaw/iframe-resizer/search" data-unscoped-search-url="/search" action="/davidjbradshaw/iframe-resizer/search" accept-charset="UTF-8" method="get"><input name="utf8" type="hidden" value="✓" />
|
|
|
245 |
<label class="form-control input-sm header-search-wrapper p-0 header-search-wrapper-jump-to position-relative d-flex flex-justify-between flex-items-center js-chromeless-input-container">
|
|
|
246 |
<input type="text"
|
|
|
247 |
class="form-control input-sm header-search-input jump-to-field js-jump-to-field js-site-search-focus js-site-search-field is-clearable"
|
|
|
248 |
data-hotkey="s,/"
|
|
|
249 |
name="q"
|
|
|
250 |
value=""
|
|
|
251 |
placeholder="Search"
|
|
|
252 |
data-unscoped-placeholder="Search GitHub"
|
|
|
253 |
data-scoped-placeholder="Search"
|
|
|
254 |
autocapitalize="off"
|
|
|
255 |
aria-autocomplete="list"
|
|
|
256 |
aria-controls="jump-to-results"
|
|
|
257 |
aria-label="Search"
|
|
|
258 |
data-jump-to-suggestions-path="/_graphql/GetSuggestedNavigationDestinations#csrf-token=/XyPSjCyqKUeZXXVigpv0jtRULOJJ4U/FcDc7EUkk/oeo8Ine2vpWtq01QLbTul/LjVM8YXe6wy0Fb1Y+5tLRg=="
|
|
|
259 |
spellcheck="false"
|
|
|
260 |
autocomplete="off"
|
|
|
261 |
>
|
|
|
262 |
<input type="hidden" class="js-site-search-type-field" name="type" >
|
|
|
263 |
<img src="https://github.githubassets.com/images/search-key-slash.svg" alt="" class="mr-2 header-search-key-slash">
|
|
|
264 |
|
|
|
265 |
<div class="Box position-absolute overflow-hidden d-none jump-to-suggestions js-jump-to-suggestions-container">
|
|
|
266 |
|
|
|
267 |
<ul class="d-none js-jump-to-suggestions-template-container">
|
|
|
268 |
|
|
|
269 |
|
|
|
270 |
<li class="d-flex flex-justify-start flex-items-center p-0 f5 navigation-item js-navigation-item js-jump-to-suggestion" role="option">
|
|
|
271 |
<a tabindex="-1" class="no-underline d-flex flex-auto flex-items-center jump-to-suggestions-path js-jump-to-suggestion-path js-navigation-open p-2" href="">
|
|
|
272 |
<div class="jump-to-octicon js-jump-to-octicon flex-shrink-0 mr-2 text-center d-none">
|
|
|
273 |
<svg height="16" width="16" class="octicon octicon-repo flex-shrink-0 js-jump-to-octicon-repo d-none" title="Repository" aria-label="Repository" viewBox="0 0 12 16" version="1.1" role="img"><path fill-rule="evenodd" d="M4 9H3V8h1v1zm0-3H3v1h1V6zm0-2H3v1h1V4zm0-2H3v1h1V2zm8-1v12c0 .55-.45 1-1 1H6v2l-1.5-1.5L3 16v-2H1c-.55 0-1-.45-1-1V1c0-.55.45-1 1-1h10c.55 0 1 .45 1 1zm-1 10H1v2h2v-1h3v1h5v-2zm0-10H2v9h9V1z"/></svg>
|
|
|
274 |
<svg height="16" width="16" class="octicon octicon-project flex-shrink-0 js-jump-to-octicon-project d-none" title="Project" aria-label="Project" viewBox="0 0 15 16" version="1.1" role="img"><path fill-rule="evenodd" d="M10 12h3V2h-3v10zm-4-2h3V2H6v8zm-4 4h3V2H2v12zm-1 1h13V1H1v14zM14 0H1a1 1 0 0 0-1 1v14a1 1 0 0 0 1 1h13a1 1 0 0 0 1-1V1a1 1 0 0 0-1-1z"/></svg>
|
|
|
275 |
<svg height="16" width="16" class="octicon octicon-search flex-shrink-0 js-jump-to-octicon-search d-none" title="Search" aria-label="Search" viewBox="0 0 16 16" version="1.1" role="img"><path fill-rule="evenodd" d="M15.7 13.3l-3.81-3.83A5.93 5.93 0 0 0 13 6c0-3.31-2.69-6-6-6S1 2.69 1 6s2.69 6 6 6c1.3 0 2.48-.41 3.47-1.11l3.83 3.81c.19.2.45.3.7.3.25 0 .52-.09.7-.3a.996.996 0 0 0 0-1.41v.01zM7 10.7c-2.59 0-4.7-2.11-4.7-4.7 0-2.59 2.11-4.7 4.7-4.7 2.59 0 4.7 2.11 4.7 4.7 0 2.59-2.11 4.7-4.7 4.7z"/></svg>
|
|
|
276 |
</div>
|
|
|
277 |
|
|
|
278 |
<img class="avatar mr-2 flex-shrink-0 js-jump-to-suggestion-avatar d-none" alt="" aria-label="Team" src="" width="28" height="28">
|
|
|
279 |
|
|
|
280 |
<div class="jump-to-suggestion-name js-jump-to-suggestion-name flex-auto overflow-hidden text-left no-wrap css-truncate css-truncate-target">
|
|
|
281 |
</div>
|
|
|
282 |
|
|
|
283 |
<div class="border rounded-1 flex-shrink-0 bg-gray px-1 text-gray-light ml-1 f6 d-none js-jump-to-badge-search">
|
|
|
284 |
<span class="js-jump-to-badge-search-text-default d-none" aria-label="in this repository">
|
|
|
285 |
In this repository
|
|
|
286 |
</span>
|
|
|
287 |
<span class="js-jump-to-badge-search-text-global d-none" aria-label="in all of GitHub">
|
|
|
288 |
All GitHub
|
|
|
289 |
</span>
|
|
|
290 |
<span aria-hidden="true" class="d-inline-block ml-1 v-align-middle">↵</span>
|
|
|
291 |
</div>
|
|
|
292 |
|
|
|
293 |
<div aria-hidden="true" class="border rounded-1 flex-shrink-0 bg-gray px-1 text-gray-light ml-1 f6 d-none d-on-nav-focus js-jump-to-badge-jump">
|
|
|
294 |
Jump to
|
|
|
295 |
<span class="d-inline-block ml-1 v-align-middle">↵</span>
|
|
|
296 |
</div>
|
|
|
297 |
</a>
|
|
|
298 |
</li>
|
|
|
299 |
|
|
|
300 |
</ul>
|
|
|
301 |
|
|
|
302 |
<ul class="d-none js-jump-to-no-results-template-container">
|
|
|
303 |
<li class="d-flex flex-justify-center flex-items-center f5 d-none js-jump-to-suggestion p-2">
|
|
|
304 |
<span class="text-gray">No suggested jump to results</span>
|
|
|
305 |
</li>
|
|
|
306 |
</ul>
|
|
|
307 |
|
|
|
308 |
<ul id="jump-to-results" role="listbox" class="p-0 m-0 js-navigation-container jump-to-suggestions-results-container js-jump-to-suggestions-results-container">
|
|
|
309 |
|
|
|
310 |
|
|
|
311 |
<li class="d-flex flex-justify-start flex-items-center p-0 f5 navigation-item js-navigation-item js-jump-to-scoped-search d-none" role="option">
|
|
|
312 |
<a tabindex="-1" class="no-underline d-flex flex-auto flex-items-center jump-to-suggestions-path js-jump-to-suggestion-path js-navigation-open p-2" href="">
|
|
|
313 |
<div class="jump-to-octicon js-jump-to-octicon flex-shrink-0 mr-2 text-center d-none">
|
|
|
314 |
<svg height="16" width="16" class="octicon octicon-repo flex-shrink-0 js-jump-to-octicon-repo d-none" title="Repository" aria-label="Repository" viewBox="0 0 12 16" version="1.1" role="img"><path fill-rule="evenodd" d="M4 9H3V8h1v1zm0-3H3v1h1V6zm0-2H3v1h1V4zm0-2H3v1h1V2zm8-1v12c0 .55-.45 1-1 1H6v2l-1.5-1.5L3 16v-2H1c-.55 0-1-.45-1-1V1c0-.55.45-1 1-1h10c.55 0 1 .45 1 1zm-1 10H1v2h2v-1h3v1h5v-2zm0-10H2v9h9V1z"/></svg>
|
|
|
315 |
<svg height="16" width="16" class="octicon octicon-project flex-shrink-0 js-jump-to-octicon-project d-none" title="Project" aria-label="Project" viewBox="0 0 15 16" version="1.1" role="img"><path fill-rule="evenodd" d="M10 12h3V2h-3v10zm-4-2h3V2H6v8zm-4 4h3V2H2v12zm-1 1h13V1H1v14zM14 0H1a1 1 0 0 0-1 1v14a1 1 0 0 0 1 1h13a1 1 0 0 0 1-1V1a1 1 0 0 0-1-1z"/></svg>
|
|
|
316 |
<svg height="16" width="16" class="octicon octicon-search flex-shrink-0 js-jump-to-octicon-search d-none" title="Search" aria-label="Search" viewBox="0 0 16 16" version="1.1" role="img"><path fill-rule="evenodd" d="M15.7 13.3l-3.81-3.83A5.93 5.93 0 0 0 13 6c0-3.31-2.69-6-6-6S1 2.69 1 6s2.69 6 6 6c1.3 0 2.48-.41 3.47-1.11l3.83 3.81c.19.2.45.3.7.3.25 0 .52-.09.7-.3a.996.996 0 0 0 0-1.41v.01zM7 10.7c-2.59 0-4.7-2.11-4.7-4.7 0-2.59 2.11-4.7 4.7-4.7 2.59 0 4.7 2.11 4.7 4.7 0 2.59-2.11 4.7-4.7 4.7z"/></svg>
|
|
|
317 |
</div>
|
|
|
318 |
|
|
|
319 |
<img class="avatar mr-2 flex-shrink-0 js-jump-to-suggestion-avatar d-none" alt="" aria-label="Team" src="" width="28" height="28">
|
|
|
320 |
|
|
|
321 |
<div class="jump-to-suggestion-name js-jump-to-suggestion-name flex-auto overflow-hidden text-left no-wrap css-truncate css-truncate-target">
|
|
|
322 |
</div>
|
|
|
323 |
|
|
|
324 |
<div class="border rounded-1 flex-shrink-0 bg-gray px-1 text-gray-light ml-1 f6 d-none js-jump-to-badge-search">
|
|
|
325 |
<span class="js-jump-to-badge-search-text-default d-none" aria-label="in this repository">
|
|
|
326 |
In this repository
|
|
|
327 |
</span>
|
|
|
328 |
<span class="js-jump-to-badge-search-text-global d-none" aria-label="in all of GitHub">
|
|
|
329 |
All GitHub
|
|
|
330 |
</span>
|
|
|
331 |
<span aria-hidden="true" class="d-inline-block ml-1 v-align-middle">↵</span>
|
|
|
332 |
</div>
|
|
|
333 |
|
|
|
334 |
<div aria-hidden="true" class="border rounded-1 flex-shrink-0 bg-gray px-1 text-gray-light ml-1 f6 d-none d-on-nav-focus js-jump-to-badge-jump">
|
|
|
335 |
Jump to
|
|
|
336 |
<span class="d-inline-block ml-1 v-align-middle">↵</span>
|
|
|
337 |
</div>
|
|
|
338 |
</a>
|
|
|
339 |
</li>
|
|
|
340 |
|
|
|
341 |
|
|
|
342 |
|
|
|
343 |
<li class="d-flex flex-justify-start flex-items-center p-0 f5 navigation-item js-navigation-item js-jump-to-global-search d-none" role="option">
|
|
|
344 |
<a tabindex="-1" class="no-underline d-flex flex-auto flex-items-center jump-to-suggestions-path js-jump-to-suggestion-path js-navigation-open p-2" href="">
|
|
|
345 |
<div class="jump-to-octicon js-jump-to-octicon flex-shrink-0 mr-2 text-center d-none">
|
|
|
346 |
<svg height="16" width="16" class="octicon octicon-repo flex-shrink-0 js-jump-to-octicon-repo d-none" title="Repository" aria-label="Repository" viewBox="0 0 12 16" version="1.1" role="img"><path fill-rule="evenodd" d="M4 9H3V8h1v1zm0-3H3v1h1V6zm0-2H3v1h1V4zm0-2H3v1h1V2zm8-1v12c0 .55-.45 1-1 1H6v2l-1.5-1.5L3 16v-2H1c-.55 0-1-.45-1-1V1c0-.55.45-1 1-1h10c.55 0 1 .45 1 1zm-1 10H1v2h2v-1h3v1h5v-2zm0-10H2v9h9V1z"/></svg>
|
|
|
347 |
<svg height="16" width="16" class="octicon octicon-project flex-shrink-0 js-jump-to-octicon-project d-none" title="Project" aria-label="Project" viewBox="0 0 15 16" version="1.1" role="img"><path fill-rule="evenodd" d="M10 12h3V2h-3v10zm-4-2h3V2H6v8zm-4 4h3V2H2v12zm-1 1h13V1H1v14zM14 0H1a1 1 0 0 0-1 1v14a1 1 0 0 0 1 1h13a1 1 0 0 0 1-1V1a1 1 0 0 0-1-1z"/></svg>
|
|
|
348 |
<svg height="16" width="16" class="octicon octicon-search flex-shrink-0 js-jump-to-octicon-search d-none" title="Search" aria-label="Search" viewBox="0 0 16 16" version="1.1" role="img"><path fill-rule="evenodd" d="M15.7 13.3l-3.81-3.83A5.93 5.93 0 0 0 13 6c0-3.31-2.69-6-6-6S1 2.69 1 6s2.69 6 6 6c1.3 0 2.48-.41 3.47-1.11l3.83 3.81c.19.2.45.3.7.3.25 0 .52-.09.7-.3a.996.996 0 0 0 0-1.41v.01zM7 10.7c-2.59 0-4.7-2.11-4.7-4.7 0-2.59 2.11-4.7 4.7-4.7 2.59 0 4.7 2.11 4.7 4.7 0 2.59-2.11 4.7-4.7 4.7z"/></svg>
|
|
|
349 |
</div>
|
|
|
350 |
|
|
|
351 |
<img class="avatar mr-2 flex-shrink-0 js-jump-to-suggestion-avatar d-none" alt="" aria-label="Team" src="" width="28" height="28">
|
|
|
352 |
|
|
|
353 |
<div class="jump-to-suggestion-name js-jump-to-suggestion-name flex-auto overflow-hidden text-left no-wrap css-truncate css-truncate-target">
|
|
|
354 |
</div>
|
|
|
355 |
|
|
|
356 |
<div class="border rounded-1 flex-shrink-0 bg-gray px-1 text-gray-light ml-1 f6 d-none js-jump-to-badge-search">
|
|
|
357 |
<span class="js-jump-to-badge-search-text-default d-none" aria-label="in this repository">
|
|
|
358 |
In this repository
|
|
|
359 |
</span>
|
|
|
360 |
<span class="js-jump-to-badge-search-text-global d-none" aria-label="in all of GitHub">
|
|
|
361 |
All GitHub
|
|
|
362 |
</span>
|
|
|
363 |
<span aria-hidden="true" class="d-inline-block ml-1 v-align-middle">↵</span>
|
|
|
364 |
</div>
|
|
|
365 |
|
|
|
366 |
<div aria-hidden="true" class="border rounded-1 flex-shrink-0 bg-gray px-1 text-gray-light ml-1 f6 d-none d-on-nav-focus js-jump-to-badge-jump">
|
|
|
367 |
Jump to
|
|
|
368 |
<span class="d-inline-block ml-1 v-align-middle">↵</span>
|
|
|
369 |
</div>
|
|
|
370 |
</a>
|
|
|
371 |
</li>
|
|
|
372 |
|
|
|
373 |
|
|
|
374 |
</ul>
|
|
|
375 |
|
|
|
376 |
</div>
|
|
|
377 |
</label>
|
|
|
378 |
</form> </div>
|
|
|
379 |
</div>
|
|
|
380 |
|
|
|
381 |
</div>
|
|
|
382 |
|
|
|
383 |
<a class="HeaderMenu-link no-underline mr-3" data-hydro-click="{"event_type":"authentication.click","payload":{"location_in_page":"site header menu","repository_id":null,"auth_type":"LOG_IN","client_id":null,"originating_request_id":"C536:34E3:5BCEAA:A5878D:5C9A1190","originating_url":"https://github.com/davidjbradshaw/iframe-resizer/blob/master/js/iframeResizer.contentWindow.min.js","referrer":null,"user_id":null}}" data-hydro-click-hmac="e9e5cc2c42075e216af5d14779fde5aaaf0c8b16329ebf8129e48a0e56830279" data-ga-click="(Logged out) Header, clicked Sign in, text:sign-in" href="/login?return_to=%2Fdavidjbradshaw%2Fiframe-resizer%2Fblob%2Fmaster%2Fjs%2FiframeResizer.contentWindow.min.js">
|
|
|
384 |
Sign in
|
|
|
385 |
</a> <a class="HeaderMenu-link d-inline-block no-underline border border-gray-dark rounded-1 px-2 py-1" data-hydro-click="{"event_type":"authentication.click","payload":{"location_in_page":"site header menu","repository_id":null,"auth_type":"SIGN_UP","client_id":null,"originating_request_id":"C536:34E3:5BCEAA:A5878D:5C9A1190","originating_url":"https://github.com/davidjbradshaw/iframe-resizer/blob/master/js/iframeResizer.contentWindow.min.js","referrer":null,"user_id":null}}" data-hydro-click-hmac="f419ff4b8a368bc4834632d6e666f706045333b7244eab9f8840b431b8b8cec8" data-ga-click="(Logged out) Header, clicked Sign up, text:sign-up" href="/join">
|
|
|
386 |
Sign up
|
|
|
387 |
</a> </div>
|
|
|
388 |
</div>
|
|
|
389 |
</div>
|
|
|
390 |
</header>
|
|
|
391 |
|
|
|
392 |
</div>
|
|
|
393 |
|
|
|
394 |
<div id="start-of-content" class="show-on-focus"></div>
|
|
|
395 |
|
|
|
396 |
<div id="js-flash-container">
|
|
|
397 |
|
|
|
398 |
</div>
|
|
|
399 |
|
|
|
400 |
|
|
|
401 |
|
|
|
402 |
<div class="application-main " data-commit-hovercards-enabled>
|
|
|
403 |
<div itemscope itemtype="http://schema.org/SoftwareSourceCode" class="">
|
|
|
404 |
<main id="js-repo-pjax-container" data-pjax-container >
|
|
|
405 |
|
|
|
406 |
|
|
|
407 |
|
|
|
408 |
|
|
|
409 |
|
|
|
410 |
|
|
|
411 |
|
|
|
412 |
|
|
|
413 |
|
|
|
414 |
|
|
|
415 |
<div class="pagehead repohead instapaper_ignore readability-menu experiment-repo-nav ">
|
|
|
416 |
<div class="repohead-details-container clearfix container">
|
|
|
417 |
|
|
|
418 |
<ul class="pagehead-actions">
|
|
|
419 |
|
|
|
420 |
|
|
|
421 |
|
|
|
422 |
<li>
|
|
|
423 |
<a class="btn btn-sm btn-with-count tooltipped tooltipped-s" aria-label="You must be signed in to watch a repository" rel="nofollow" data-hydro-click="{"event_type":"authentication.click","payload":{"location_in_page":"notification subscription menu watch","repository_id":null,"auth_type":"LOG_IN","client_id":null,"originating_request_id":"C536:34E3:5BCEAA:A5878D:5C9A1190","originating_url":"https://github.com/davidjbradshaw/iframe-resizer/blob/master/js/iframeResizer.contentWindow.min.js","referrer":null,"user_id":null}}" data-hydro-click-hmac="61220cab7845a97376e9dd18f733b8d658b686f33d13b55d24070f8ed33c9630" href="/login?return_to=%2Fdavidjbradshaw%2Fiframe-resizer">
|
|
|
424 |
<svg class="octicon octicon-eye v-align-text-bottom" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"><path fill-rule="evenodd" d="M8.06 2C3 2 0 8 0 8s3 6 8.06 6C13 14 16 8 16 8s-3-6-7.94-6zM8 12c-2.2 0-4-1.78-4-4 0-2.2 1.8-4 4-4 2.22 0 4 1.8 4 4 0 2.22-1.78 4-4 4zm2-4c0 1.11-.89 2-2 2-1.11 0-2-.89-2-2 0-1.11.89-2 2-2 1.11 0 2 .89 2 2z"/></svg>
|
|
|
425 |
Watch
|
|
|
426 |
</a> <a class="social-count" href="/davidjbradshaw/iframe-resizer/watchers"
|
|
|
427 |
aria-label="156 users are watching this repository">
|
|
|
428 |
156
|
|
|
429 |
</a>
|
|
|
430 |
|
|
|
431 |
</li>
|
|
|
432 |
|
|
|
433 |
<li>
|
|
|
434 |
<a class="btn btn-sm btn-with-count tooltipped tooltipped-s" aria-label="You must be signed in to star a repository" rel="nofollow" data-hydro-click="{"event_type":"authentication.click","payload":{"location_in_page":"star button","repository_id":10696042,"auth_type":"LOG_IN","client_id":null,"originating_request_id":"C536:34E3:5BCEAA:A5878D:5C9A1190","originating_url":"https://github.com/davidjbradshaw/iframe-resizer/blob/master/js/iframeResizer.contentWindow.min.js","referrer":null,"user_id":null}}" data-hydro-click-hmac="9028480942ff9b372a20198593030b829f76fc1265150f28489dfb17a0fcb1a4" href="/login?return_to=%2Fdavidjbradshaw%2Fiframe-resizer">
|
|
|
435 |
<svg class="octicon octicon-star v-align-text-bottom" viewBox="0 0 14 16" version="1.1" width="14" height="16" aria-hidden="true"><path fill-rule="evenodd" d="M14 6l-4.9-.64L7 1 4.9 5.36 0 6l3.6 3.26L2.67 14 7 11.67 11.33 14l-.93-4.74L14 6z"/></svg>
|
|
|
436 |
Star
|
|
|
437 |
</a>
|
|
|
438 |
<a class="social-count js-social-count" href="/davidjbradshaw/iframe-resizer/stargazers"
|
|
|
439 |
aria-label="3906 users starred this repository">
|
|
|
440 |
3,906
|
|
|
441 |
</a>
|
|
|
442 |
|
|
|
443 |
</li>
|
|
|
444 |
|
|
|
445 |
<li>
|
|
|
446 |
<a class="btn btn-sm btn-with-count tooltipped tooltipped-s" aria-label="You must be signed in to fork a repository" rel="nofollow" data-hydro-click="{"event_type":"authentication.click","payload":{"location_in_page":"repo details fork button","repository_id":10696042,"auth_type":"LOG_IN","client_id":null,"originating_request_id":"C536:34E3:5BCEAA:A5878D:5C9A1190","originating_url":"https://github.com/davidjbradshaw/iframe-resizer/blob/master/js/iframeResizer.contentWindow.min.js","referrer":null,"user_id":null}}" data-hydro-click-hmac="5ac0c415860305891a1044955883069efaaa47df26c895f27d15704e0066f3be" href="/login?return_to=%2Fdavidjbradshaw%2Fiframe-resizer">
|
|
|
447 |
<svg class="octicon octicon-repo-forked v-align-text-bottom" viewBox="0 0 10 16" version="1.1" width="10" height="16" aria-hidden="true"><path fill-rule="evenodd" d="M8 1a1.993 1.993 0 0 0-1 3.72V6L5 8 3 6V4.72A1.993 1.993 0 0 0 2 1a1.993 1.993 0 0 0-1 3.72V6.5l3 3v1.78A1.993 1.993 0 0 0 5 15a1.993 1.993 0 0 0 1-3.72V9.5l3-3V4.72A1.993 1.993 0 0 0 8 1zM2 4.2C1.34 4.2.8 3.65.8 3c0-.65.55-1.2 1.2-1.2.65 0 1.2.55 1.2 1.2 0 .65-.55 1.2-1.2 1.2zm3 10c-.66 0-1.2-.55-1.2-1.2 0-.65.55-1.2 1.2-1.2.65 0 1.2.55 1.2 1.2 0 .65-.55 1.2-1.2 1.2zm3-10c-.66 0-1.2-.55-1.2-1.2 0-.65.55-1.2 1.2-1.2.65 0 1.2.55 1.2 1.2 0 .65-.55 1.2-1.2 1.2z"/></svg>
|
|
|
448 |
Fork
|
|
|
449 |
</a>
|
|
|
450 |
<a href="/davidjbradshaw/iframe-resizer/network/members" class="social-count"
|
|
|
451 |
aria-label="583 users forked this repository">
|
|
|
452 |
583
|
|
|
453 |
</a>
|
|
|
454 |
</li>
|
|
|
455 |
</ul>
|
|
|
456 |
|
|
|
457 |
<h1 class="public ">
|
|
|
458 |
<svg class="octicon octicon-repo" viewBox="0 0 12 16" version="1.1" width="12" height="16" aria-hidden="true"><path fill-rule="evenodd" d="M4 9H3V8h1v1zm0-3H3v1h1V6zm0-2H3v1h1V4zm0-2H3v1h1V2zm8-1v12c0 .55-.45 1-1 1H6v2l-1.5-1.5L3 16v-2H1c-.55 0-1-.45-1-1V1c0-.55.45-1 1-1h10c.55 0 1 .45 1 1zm-1 10H1v2h2v-1h3v1h5v-2zm0-10H2v9h9V1z"/></svg>
|
|
|
459 |
<span class="author" itemprop="author"><a class="url fn" rel="author" data-hovercard-type="user" data-hovercard-url="/hovercards?user_id=591634" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="/davidjbradshaw">davidjbradshaw</a></span><!--
|
|
|
460 |
--><span class="path-divider">/</span><!--
|
|
|
461 |
--><strong itemprop="name"><a data-pjax="#js-repo-pjax-container" href="/davidjbradshaw/iframe-resizer">iframe-resizer</a></strong>
|
|
|
462 |
|
|
|
463 |
</h1>
|
|
|
464 |
|
|
|
465 |
</div>
|
|
|
466 |
|
|
|
467 |
<nav class="reponav js-repo-nav js-sidenav-container-pjax container"
|
|
|
468 |
itemscope
|
|
|
469 |
itemtype="http://schema.org/BreadcrumbList"
|
|
|
470 |
aria-label="Repository"
|
|
|
471 |
data-pjax="#js-repo-pjax-container">
|
|
|
472 |
|
|
|
473 |
<span itemscope itemtype="http://schema.org/ListItem" itemprop="itemListElement">
|
|
|
474 |
<a class="js-selected-navigation-item selected reponav-item" itemprop="url" data-hotkey="g c" aria-current="page" data-selected-links="repo_source repo_downloads repo_commits repo_releases repo_tags repo_branches repo_packages /davidjbradshaw/iframe-resizer" href="/davidjbradshaw/iframe-resizer">
|
|
|
475 |
<svg class="octicon octicon-code" viewBox="0 0 14 16" version="1.1" width="14" height="16" aria-hidden="true"><path fill-rule="evenodd" d="M9.5 3L8 4.5 11.5 8 8 11.5 9.5 13 14 8 9.5 3zm-5 0L0 8l4.5 5L6 11.5 2.5 8 6 4.5 4.5 3z"/></svg>
|
|
|
476 |
<span itemprop="name">Code</span>
|
|
|
477 |
<meta itemprop="position" content="1">
|
|
|
478 |
</a> </span>
|
|
|
479 |
|
|
|
480 |
<span itemscope itemtype="http://schema.org/ListItem" itemprop="itemListElement">
|
|
|
481 |
<a itemprop="url" data-hotkey="g i" class="js-selected-navigation-item reponav-item" data-selected-links="repo_issues repo_labels repo_milestones /davidjbradshaw/iframe-resizer/issues" href="/davidjbradshaw/iframe-resizer/issues">
|
|
|
482 |
<svg class="octicon octicon-issue-opened" viewBox="0 0 14 16" version="1.1" width="14" height="16" aria-hidden="true"><path fill-rule="evenodd" d="M7 2.3c3.14 0 5.7 2.56 5.7 5.7s-2.56 5.7-5.7 5.7A5.71 5.71 0 0 1 1.3 8c0-3.14 2.56-5.7 5.7-5.7zM7 1C3.14 1 0 4.14 0 8s3.14 7 7 7 7-3.14 7-7-3.14-7-7-7zm1 3H6v5h2V4zm0 6H6v2h2v-2z"/></svg>
|
|
|
483 |
<span itemprop="name">Issues</span>
|
|
|
484 |
<span class="Counter">34</span>
|
|
|
485 |
<meta itemprop="position" content="2">
|
|
|
486 |
</a> </span>
|
|
|
487 |
|
|
|
488 |
<span itemscope itemtype="http://schema.org/ListItem" itemprop="itemListElement">
|
|
|
489 |
<a data-hotkey="g p" itemprop="url" class="js-selected-navigation-item reponav-item" data-selected-links="repo_pulls checks /davidjbradshaw/iframe-resizer/pulls" href="/davidjbradshaw/iframe-resizer/pulls">
|
|
|
490 |
<svg class="octicon octicon-git-pull-request" viewBox="0 0 12 16" version="1.1" width="12" height="16" aria-hidden="true"><path fill-rule="evenodd" d="M11 11.28V5c-.03-.78-.34-1.47-.94-2.06C9.46 2.35 8.78 2.03 8 2H7V0L4 3l3 3V4h1c.27.02.48.11.69.31.21.2.3.42.31.69v6.28A1.993 1.993 0 0 0 10 15a1.993 1.993 0 0 0 1-3.72zm-1 2.92c-.66 0-1.2-.55-1.2-1.2 0-.65.55-1.2 1.2-1.2.65 0 1.2.55 1.2 1.2 0 .65-.55 1.2-1.2 1.2zM4 3c0-1.11-.89-2-2-2a1.993 1.993 0 0 0-1 3.72v6.56A1.993 1.993 0 0 0 2 15a1.993 1.993 0 0 0 1-3.72V4.72c.59-.34 1-.98 1-1.72zm-.8 10c0 .66-.55 1.2-1.2 1.2-.65 0-1.2-.55-1.2-1.2 0-.65.55-1.2 1.2-1.2.65 0 1.2.55 1.2 1.2zM2 4.2C1.34 4.2.8 3.65.8 3c0-.65.55-1.2 1.2-1.2.65 0 1.2.55 1.2 1.2 0 .65-.55 1.2-1.2 1.2z"/></svg>
|
|
|
491 |
<span itemprop="name">Pull requests</span>
|
|
|
492 |
<span class="Counter">1</span>
|
|
|
493 |
<meta itemprop="position" content="3">
|
|
|
494 |
</a> </span>
|
|
|
495 |
|
|
|
496 |
|
|
|
497 |
<a data-hotkey="g b" class="js-selected-navigation-item reponav-item" data-selected-links="repo_projects new_repo_project repo_project /davidjbradshaw/iframe-resizer/projects" href="/davidjbradshaw/iframe-resizer/projects">
|
|
|
498 |
<svg class="octicon octicon-project" viewBox="0 0 15 16" version="1.1" width="15" height="16" aria-hidden="true"><path fill-rule="evenodd" d="M10 12h3V2h-3v10zm-4-2h3V2H6v8zm-4 4h3V2H2v12zm-1 1h13V1H1v14zM14 0H1a1 1 0 0 0-1 1v14a1 1 0 0 0 1 1h13a1 1 0 0 0 1-1V1a1 1 0 0 0-1-1z"/></svg>
|
|
|
499 |
Projects
|
|
|
500 |
<span class="Counter" >0</span>
|
|
|
501 |
</a>
|
|
|
502 |
|
|
|
503 |
|
|
|
504 |
<a class="js-selected-navigation-item reponav-item" data-selected-links="repo_graphs repo_contributors dependency_graph pulse alerts security people /davidjbradshaw/iframe-resizer/pulse" href="/davidjbradshaw/iframe-resizer/pulse">
|
|
|
505 |
<svg class="octicon octicon-graph" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"><path fill-rule="evenodd" d="M16 14v1H0V0h1v14h15zM5 13H3V8h2v5zm4 0H7V3h2v10zm4 0h-2V6h2v7z"/></svg>
|
|
|
506 |
Insights
|
|
|
507 |
</a>
|
|
|
508 |
|
|
|
509 |
</nav>
|
|
|
510 |
|
|
|
511 |
|
|
|
512 |
</div>
|
|
|
513 |
<div class="container new-discussion-timeline experiment-repo-nav ">
|
|
|
514 |
<div class="repository-content ">
|
|
|
515 |
|
|
|
516 |
|
|
|
517 |
|
|
|
518 |
|
|
|
519 |
|
|
|
520 |
|
|
|
521 |
|
|
|
522 |
<a class="d-none js-permalink-shortcut" data-hotkey="y" href="/davidjbradshaw/iframe-resizer/blob/a7ff4eefdae85734d8e8ab9d53d6613fdc770dcf/js/iframeResizer.contentWindow.min.js">Permalink</a>
|
|
|
523 |
|
|
|
524 |
<!-- blob contrib key: blob_contributors:v21:943dd0b094fa4f205fbaa07c5189d738 -->
|
|
|
525 |
|
|
|
526 |
<div class="signup-prompt-bg rounded-1">
|
|
|
527 |
<div class="signup-prompt p-4 text-center mb-4 rounded-1">
|
|
|
528 |
<div class="position-relative">
|
|
|
529 |
<!-- '"` --><!-- </textarea></xmp> --></option></form><form action="/site/dismiss_signup_prompt" accept-charset="UTF-8" method="post"><input name="utf8" type="hidden" value="✓" /><input type="hidden" name="authenticity_token" value="QgAyagSkn0gJUAkMpa7XBTwN68CtGpZAWWPTMBKme1I1kv8VmNU4unY4uCzaFRxGmwHnKUc408eO889oCE0wdw==" />
|
|
|
530 |
<button type="submit" class="position-absolute top-0 right-0 btn-link link-gray" data-ga-click="(Logged out) Sign up prompt, clicked Dismiss, text:dismiss">
|
|
|
531 |
Dismiss
|
|
|
532 |
</button>
|
|
|
533 |
</form> <h3 class="pt-2">Join GitHub today</h3>
|
|
|
534 |
<p class="col-6 mx-auto">GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.</p>
|
|
|
535 |
<a class="btn btn-primary" data-hydro-click="{"event_type":"authentication.click","payload":{"location_in_page":"files signup prompt","repository_id":null,"auth_type":"SIGN_UP","client_id":null,"originating_request_id":"C536:34E3:5BCEAA:A5878D:5C9A1190","originating_url":"https://github.com/davidjbradshaw/iframe-resizer/blob/master/js/iframeResizer.contentWindow.min.js","referrer":null,"user_id":null}}" data-hydro-click-hmac="e79aa6109f870e194f26f9d7e0877106277b59c117fefce5748b7bea9d6cdfaa" data-ga-click="(Logged out) Sign up prompt, clicked Sign up, text:sign-up" href="/join?source=prompt-blob-show">Sign up</a>
|
|
|
536 |
</div>
|
|
|
537 |
</div>
|
|
|
538 |
</div>
|
|
|
539 |
|
|
|
540 |
|
|
|
541 |
<div class="d-flex flex-shrink-0 flex-items-center mb-3">
|
|
|
542 |
|
|
|
543 |
<details class="details-reset details-overlay select-menu branch-select-menu">
|
|
|
544 |
<summary class="btn btn-sm select-menu-button css-truncate"
|
|
|
545 |
data-hotkey="w"
|
|
|
546 |
|
|
|
547 |
title="Switch branches or tags">
|
|
|
548 |
<i>Branch:</i>
|
|
|
549 |
<span class="css-truncate-target">master</span>
|
|
|
550 |
</summary>
|
|
|
551 |
|
|
|
552 |
<details-menu class="select-menu-modal position-absolute" style="z-index: 99;" src="/davidjbradshaw/iframe-resizer/ref-list/master/js/iframeResizer.contentWindow.min.js?source_action=show&source_controller=blob" preload>
|
|
|
553 |
<include-fragment class="select-menu-loading-overlay anim-pulse">
|
|
|
554 |
<svg height="32" class="octicon octicon-octoface" viewBox="0 0 16 16" version="1.1" width="32" aria-hidden="true"><path fill-rule="evenodd" d="M14.7 5.34c.13-.32.55-1.59-.13-3.31 0 0-1.05-.33-3.44 1.3-1-.28-2.07-.32-3.13-.32s-2.13.04-3.13.32c-2.39-1.64-3.44-1.3-3.44-1.3-.68 1.72-.26 2.99-.13 3.31C.49 6.21 0 7.33 0 8.69 0 13.84 3.33 15 7.98 15S16 13.84 16 8.69c0-1.36-.49-2.48-1.3-3.35zM8 14.02c-3.3 0-5.98-.15-5.98-3.35 0-.76.38-1.48 1.02-2.07 1.07-.98 2.9-.46 4.96-.46 2.07 0 3.88-.52 4.96.46.65.59 1.02 1.3 1.02 2.07 0 3.19-2.68 3.35-5.98 3.35zM5.49 9.01c-.66 0-1.2.8-1.2 1.78s.54 1.79 1.2 1.79c.66 0 1.2-.8 1.2-1.79s-.54-1.78-1.2-1.78zm5.02 0c-.66 0-1.2.79-1.2 1.78s.54 1.79 1.2 1.79c.66 0 1.2-.8 1.2-1.79s-.53-1.78-1.2-1.78z"/></svg>
|
|
|
555 |
</include-fragment>
|
|
|
556 |
</details-menu>
|
|
|
557 |
</details>
|
|
|
558 |
|
|
|
559 |
<div id="blob-path" class="breadcrumb flex-auto ml-2">
|
|
|
560 |
<span class="js-repo-root text-bold"><span class="js-path-segment"><a data-pjax="true" href="/davidjbradshaw/iframe-resizer"><span>iframe-resizer</span></a></span></span><span class="separator">/</span><span class="js-path-segment"><a data-pjax="true" href="/davidjbradshaw/iframe-resizer/tree/master/js"><span>js</span></a></span><span class="separator">/</span><strong class="final-path">iframeResizer.contentWindow.min.js</strong>
|
|
|
561 |
</div>
|
|
|
562 |
<div class="BtnGroup">
|
|
|
563 |
<a href="/davidjbradshaw/iframe-resizer/find/master"
|
|
|
564 |
class="js-pjax-capture-input btn btn-sm BtnGroup-item"
|
|
|
565 |
data-pjax
|
|
|
566 |
data-hotkey="t">
|
|
|
567 |
Find file
|
|
|
568 |
</a>
|
|
|
569 |
<clipboard-copy for="blob-path" class="btn btn-sm BtnGroup-item">
|
|
|
570 |
Copy path
|
|
|
571 |
</clipboard-copy>
|
|
|
572 |
</div>
|
|
|
573 |
</div>
|
|
|
574 |
|
|
|
575 |
|
|
|
576 |
|
|
|
577 |
|
|
|
578 |
<div class="Box Box--condensed d-flex flex-column flex-shrink-0">
|
|
|
579 |
<div class="Box-body d-flex flex-justify-between bg-blue-light flex-items-center">
|
|
|
580 |
<span class="pr-md-4 f6">
|
|
|
581 |
<a rel="author" data-skip-pjax="true" data-hovercard-type="user" data-hovercard-url="/hovercards?user_id=591634" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="/davidjbradshaw"><img class="avatar" src="https://avatars2.githubusercontent.com/u/591634?s=40&v=4" width="20" height="20" alt="@davidjbradshaw" /></a>
|
|
|
582 |
<a class="text-bold link-gray-dark lh-default v-align-middle" rel="author" data-hovercard-type="user" data-hovercard-url="/hovercards?user_id=591634" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="/davidjbradshaw">davidjbradshaw</a>
|
|
|
583 |
<span class="lh-default v-align-middle">
|
|
|
584 |
<a data-pjax="true" title="Release v4.0.4" class="link-gray" href="/davidjbradshaw/iframe-resizer/commit/8a4271e46228945ac6f451cff9126a307bff081a">Release v4.0.4</a>
|
|
|
585 |
</span>
|
|
|
586 |
</span>
|
|
|
587 |
<span class="d-inline-block flex-shrink-0 v-align-bottom f6">
|
|
|
588 |
<a class="pr-2 text-mono link-gray" href="/davidjbradshaw/iframe-resizer/commit/8a4271e46228945ac6f451cff9126a307bff081a" data-pjax>
|
|
|
589 |
8a4271e
|
|
|
590 |
</a>
|
|
|
591 |
<relative-time datetime="2019-03-04T20:01:40Z">Mar 4, 2019</relative-time>
|
|
|
592 |
</span>
|
|
|
593 |
</div>
|
|
|
594 |
|
|
|
595 |
<div class="Box-body d-flex flex-items-center flex-auto f6 border-bottom-0" >
|
|
|
596 |
<details class="details-reset details-overlay details-overlay-dark lh-default text-gray-dark float-left mr-2" id="blob_contributors_box" >
|
|
|
597 |
<summary class="btn-link" aria-haspopup="dialog">
|
|
|
598 |
<span><strong>11</strong> contributors</span>
|
|
|
599 |
</summary>
|
|
|
600 |
<details-dialog class="Box Box--overlay d-flex flex-column anim-fade-in fast" aria-label="Users who have contributed to this file">
|
|
|
601 |
<div class="Box-header">
|
|
|
602 |
<button class="Box-btn-octicon btn-octicon float-right" type="button" aria-label="Close dialog" data-close-dialog>
|
|
|
603 |
<svg class="octicon octicon-x" viewBox="0 0 12 16" version="1.1" width="12" height="16" aria-hidden="true"><path fill-rule="evenodd" d="M7.48 8l3.75 3.75-1.48 1.48L6 9.48l-3.75 3.75-1.48-1.48L4.52 8 .77 4.25l1.48-1.48L6 6.52l3.75-3.75 1.48 1.48L7.48 8z"/></svg>
|
|
|
604 |
</button>
|
|
|
605 |
<h3 class="Box-title">
|
|
|
606 |
Users who have contributed to this file
|
|
|
607 |
</h3>
|
|
|
608 |
</div>
|
|
|
609 |
<ul class="list-style-none overflow-auto">
|
|
|
610 |
<li class="Box-row">
|
|
|
611 |
<a class="link-gray-dark no-underline" href="/davidjbradshaw">
|
|
|
612 |
<img class="avatar mr-1" alt="" src="https://avatars2.githubusercontent.com/u/591634?s=40&v=4" width="20" height="20" />
|
|
|
613 |
davidjbradshaw
|
|
|
614 |
</a> </li>
|
|
|
615 |
<li class="Box-row">
|
|
|
616 |
<a class="link-gray-dark no-underline" href="/mryand">
|
|
|
617 |
<img class="avatar mr-1" alt="" src="https://avatars3.githubusercontent.com/u/256007?s=40&v=4" width="20" height="20" />
|
|
|
618 |
mryand
|
|
|
619 |
</a> </li>
|
|
|
620 |
<li class="Box-row">
|
|
|
621 |
<a class="link-gray-dark no-underline" href="/jmav">
|
|
|
622 |
<img class="avatar mr-1" alt="" src="https://avatars3.githubusercontent.com/u/140089?s=40&v=4" width="20" height="20" />
|
|
|
623 |
jmav
|
|
|
624 |
</a> </li>
|
|
|
625 |
<li class="Box-row">
|
|
|
626 |
<a class="link-gray-dark no-underline" href="/ynh">
|
|
|
627 |
<img class="avatar mr-1" alt="" src="https://avatars0.githubusercontent.com/u/1868109?s=40&v=4" width="20" height="20" />
|
|
|
628 |
ynh
|
|
|
629 |
</a> </li>
|
|
|
630 |
<li class="Box-row">
|
|
|
631 |
<a class="link-gray-dark no-underline" href="/shaunjohansen">
|
|
|
632 |
<img class="avatar mr-1" alt="" src="https://avatars0.githubusercontent.com/u/108604?s=40&v=4" width="20" height="20" />
|
|
|
633 |
shaunjohansen
|
|
|
634 |
</a> </li>
|
|
|
635 |
<li class="Box-row">
|
|
|
636 |
<a class="link-gray-dark no-underline" href="/pomartel">
|
|
|
637 |
<img class="avatar mr-1" alt="" src="https://avatars2.githubusercontent.com/u/26983?s=40&v=4" width="20" height="20" />
|
|
|
638 |
pomartel
|
|
|
639 |
</a> </li>
|
|
|
640 |
<li class="Box-row">
|
|
|
641 |
<a class="link-gray-dark no-underline" href="/seckardt">
|
|
|
642 |
<img class="avatar mr-1" alt="" src="https://avatars2.githubusercontent.com/u/3235219?s=40&v=4" width="20" height="20" />
|
|
|
643 |
seckardt
|
|
|
644 |
</a> </li>
|
|
|
645 |
<li class="Box-row">
|
|
|
646 |
<a class="link-gray-dark no-underline" href="/flyingleafe">
|
|
|
647 |
<img class="avatar mr-1" alt="" src="https://avatars1.githubusercontent.com/u/1803963?s=40&v=4" width="20" height="20" />
|
|
|
648 |
flyingleafe
|
|
|
649 |
</a> </li>
|
|
|
650 |
<li class="Box-row">
|
|
|
651 |
<a class="link-gray-dark no-underline" href="/aniude">
|
|
|
652 |
<img class="avatar mr-1" alt="" src="https://avatars1.githubusercontent.com/u/1137266?s=40&v=4" width="20" height="20" />
|
|
|
653 |
aniude
|
|
|
654 |
</a> </li>
|
|
|
655 |
<li class="Box-row">
|
|
|
656 |
<a class="link-gray-dark no-underline" href="/kobelb">
|
|
|
657 |
<img class="avatar mr-1" alt="" src="https://avatars1.githubusercontent.com/u/627123?s=40&v=4" width="20" height="20" />
|
|
|
658 |
kobelb
|
|
|
659 |
</a> </li>
|
|
|
660 |
<li class="Box-row">
|
|
|
661 |
<a class="link-gray-dark no-underline" href="/Aaronius">
|
|
|
662 |
<img class="avatar mr-1" alt="" src="https://avatars3.githubusercontent.com/u/210820?s=40&v=4" width="20" height="20" />
|
|
|
663 |
Aaronius
|
|
|
664 |
</a> </li>
|
|
|
665 |
</ul>
|
|
|
666 |
|
|
|
667 |
</details-dialog>
|
|
|
668 |
</details>
|
|
|
669 |
<span class="">
|
|
|
670 |
<a class="avatar-link" data-hovercard-type="user" data-hovercard-url="/hovercards?user_id=591634" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="/davidjbradshaw/iframe-resizer/commits/master/js/iframeResizer.contentWindow.min.js?author=davidjbradshaw">
|
|
|
671 |
<img class="avatar mr-1" src="https://avatars2.githubusercontent.com/u/591634?s=40&v=4" width="20" height="20" alt="@davidjbradshaw" />
|
|
|
672 |
</a> <a class="avatar-link" data-hovercard-type="user" data-hovercard-url="/hovercards?user_id=256007" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="/davidjbradshaw/iframe-resizer/commits/master/js/iframeResizer.contentWindow.min.js?author=mryand">
|
|
|
673 |
<img class="avatar mr-1" src="https://avatars3.githubusercontent.com/u/256007?s=40&v=4" width="20" height="20" alt="@mryand" />
|
|
|
674 |
</a> <a class="avatar-link" data-hovercard-type="user" data-hovercard-url="/hovercards?user_id=140089" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="/davidjbradshaw/iframe-resizer/commits/master/js/iframeResizer.contentWindow.min.js?author=jmav">
|
|
|
675 |
<img class="avatar mr-1" src="https://avatars3.githubusercontent.com/u/140089?s=40&v=4" width="20" height="20" alt="@jmav" />
|
|
|
676 |
</a> <a class="avatar-link" data-hovercard-type="user" data-hovercard-url="/hovercards?user_id=1868109" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="/davidjbradshaw/iframe-resizer/commits/master/js/iframeResizer.contentWindow.min.js?author=ynh">
|
|
|
677 |
<img class="avatar mr-1" src="https://avatars0.githubusercontent.com/u/1868109?s=40&v=4" width="20" height="20" alt="@ynh" />
|
|
|
678 |
</a> <a class="avatar-link" data-hovercard-type="user" data-hovercard-url="/hovercards?user_id=108604" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="/davidjbradshaw/iframe-resizer/commits/master/js/iframeResizer.contentWindow.min.js?author=shaunjohansen">
|
|
|
679 |
<img class="avatar mr-1" src="https://avatars0.githubusercontent.com/u/108604?s=40&v=4" width="20" height="20" alt="@shaunjohansen" />
|
|
|
680 |
</a> <a class="avatar-link" data-hovercard-type="user" data-hovercard-url="/hovercards?user_id=26983" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="/davidjbradshaw/iframe-resizer/commits/master/js/iframeResizer.contentWindow.min.js?author=pomartel">
|
|
|
681 |
<img class="avatar mr-1" src="https://avatars2.githubusercontent.com/u/26983?s=40&v=4" width="20" height="20" alt="@pomartel" />
|
|
|
682 |
</a> <a class="avatar-link" data-hovercard-type="user" data-hovercard-url="/hovercards?user_id=3235219" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="/davidjbradshaw/iframe-resizer/commits/master/js/iframeResizer.contentWindow.min.js?author=seckardt">
|
|
|
683 |
<img class="avatar mr-1" src="https://avatars2.githubusercontent.com/u/3235219?s=40&v=4" width="20" height="20" alt="@seckardt" />
|
|
|
684 |
</a> <a class="avatar-link" data-hovercard-type="user" data-hovercard-url="/hovercards?user_id=1803963" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="/davidjbradshaw/iframe-resizer/commits/master/js/iframeResizer.contentWindow.min.js?author=flyingleafe">
|
|
|
685 |
<img class="avatar mr-1" src="https://avatars1.githubusercontent.com/u/1803963?s=40&v=4" width="20" height="20" alt="@flyingleafe" />
|
|
|
686 |
</a> <a class="avatar-link" data-hovercard-type="user" data-hovercard-url="/hovercards?user_id=1137266" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="/davidjbradshaw/iframe-resizer/commits/master/js/iframeResizer.contentWindow.min.js?author=aniude">
|
|
|
687 |
<img class="avatar mr-1" src="https://avatars1.githubusercontent.com/u/1137266?s=40&v=4" width="20" height="20" alt="@aniude" />
|
|
|
688 |
</a> <a class="avatar-link" data-hovercard-type="user" data-hovercard-url="/hovercards?user_id=627123" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="/davidjbradshaw/iframe-resizer/commits/master/js/iframeResizer.contentWindow.min.js?author=kobelb">
|
|
|
689 |
<img class="avatar mr-1" src="https://avatars1.githubusercontent.com/u/627123?s=40&v=4" width="20" height="20" alt="@kobelb" />
|
|
|
690 |
</a> <a class="avatar-link" data-hovercard-type="user" data-hovercard-url="/hovercards?user_id=210820" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="/davidjbradshaw/iframe-resizer/commits/master/js/iframeResizer.contentWindow.min.js?author=Aaronius">
|
|
|
691 |
<img class="avatar mr-1" src="https://avatars3.githubusercontent.com/u/210820?s=40&v=4" width="20" height="20" alt="@Aaronius" />
|
|
|
692 |
</a>
|
|
|
693 |
</span>
|
|
|
694 |
|
|
|
695 |
</div>
|
|
|
696 |
</div>
|
|
|
697 |
|
|
|
698 |
|
|
|
699 |
|
|
|
700 |
|
|
|
701 |
|
|
|
702 |
<div class="Box mt-3 position-relative">
|
|
|
703 |
|
|
|
704 |
<div class="Box-header py-2 d-flex flex-justify-between flex-items-center">
|
|
|
705 |
|
|
|
706 |
<div class="text-mono f6">
|
|
|
707 |
10 lines (9 sloc)
|
|
|
708 |
<span class="file-info-divider"></span>
|
|
|
709 |
13.2 KB
|
|
|
710 |
</div>
|
|
|
711 |
|
|
|
712 |
<div class="d-flex">
|
|
|
713 |
|
|
|
714 |
<div class="BtnGroup">
|
|
|
715 |
<a id="raw-url" class="btn btn-sm BtnGroup-item" href="/davidjbradshaw/iframe-resizer/raw/master/js/iframeResizer.contentWindow.min.js">Raw</a>
|
|
|
716 |
<a class="btn btn-sm js-update-url-with-hash BtnGroup-item" data-hotkey="b" href="/davidjbradshaw/iframe-resizer/blame/master/js/iframeResizer.contentWindow.min.js">Blame</a>
|
|
|
717 |
<a rel="nofollow" class="btn btn-sm BtnGroup-item" href="/davidjbradshaw/iframe-resizer/commits/master/js/iframeResizer.contentWindow.min.js">History</a>
|
|
|
718 |
</div>
|
|
|
719 |
|
|
|
720 |
|
|
|
721 |
<div>
|
|
|
722 |
|
|
|
723 |
<button type="button" class="btn-octicon disabled tooltipped tooltipped-nw"
|
|
|
724 |
aria-label="You must be signed in to make or propose changes">
|
|
|
725 |
<svg class="octicon octicon-pencil" viewBox="0 0 14 16" version="1.1" width="14" height="16" aria-hidden="true"><path fill-rule="evenodd" d="M0 12v3h3l8-8-3-3-8 8zm3 2H1v-2h1v1h1v1zm10.3-9.3L12 6 9 3l1.3-1.3a.996.996 0 0 1 1.41 0l1.59 1.59c.39.39.39 1.02 0 1.41z"/></svg>
|
|
|
726 |
</button>
|
|
|
727 |
<button type="button" class="btn-octicon btn-octicon-danger disabled tooltipped tooltipped-nw"
|
|
|
728 |
aria-label="You must be signed in to make or propose changes">
|
|
|
729 |
<svg class="octicon octicon-trashcan" viewBox="0 0 12 16" version="1.1" width="12" height="16" aria-hidden="true"><path fill-rule="evenodd" d="M11 2H9c0-.55-.45-1-1-1H5c-.55 0-1 .45-1 1H2c-.55 0-1 .45-1 1v1c0 .55.45 1 1 1v9c0 .55.45 1 1 1h7c.55 0 1-.45 1-1V5c.55 0 1-.45 1-1V3c0-.55-.45-1-1-1zm-1 12H3V5h1v8h1V5h1v8h1V5h1v8h1V5h1v9zm1-10H2V3h9v1z"/></svg>
|
|
|
730 |
</button>
|
|
|
731 |
</div>
|
|
|
732 |
</div>
|
|
|
733 |
</div>
|
|
|
734 |
|
|
|
735 |
|
|
|
736 |
|
|
|
737 |
<div itemprop="text" class="Box-body px-0 blob-wrapper data type-javascript ">
|
|
|
738 |
|
|
|
739 |
<table class="highlight tab-size js-file-line-container" data-tab-size="8">
|
|
|
740 |
<tr>
|
|
|
741 |
<td id="L1" class="blob-num js-line-number" data-line-number="1"></td>
|
|
|
742 |
<td id="LC1" class="blob-code blob-code-inner js-file-line"><span class="pl-c"><span class="pl-c">/*</span>! iFrame Resizer (iframeSizer.contentWindow.min.js) - v4.0.4 - 2019-03-04</span></td>
|
|
|
743 |
</tr>
|
|
|
744 |
<tr>
|
|
|
745 |
<td id="L2" class="blob-num js-line-number" data-line-number="2"></td>
|
|
|
746 |
<td id="LC2" class="blob-code blob-code-inner js-file-line"><span class="pl-c"> * Desc: Include this file in any page being loaded into an iframe</span></td>
|
|
|
747 |
</tr>
|
|
|
748 |
<tr>
|
|
|
749 |
<td id="L3" class="blob-num js-line-number" data-line-number="3"></td>
|
|
|
750 |
<td id="LC3" class="blob-code blob-code-inner js-file-line"><span class="pl-c"> * to force the iframe to resize to the content size.</span></td>
|
|
|
751 |
</tr>
|
|
|
752 |
<tr>
|
|
|
753 |
<td id="L4" class="blob-num js-line-number" data-line-number="4"></td>
|
|
|
754 |
<td id="LC4" class="blob-code blob-code-inner js-file-line"><span class="pl-c"> * Requires: iframeResizer.min.js on host page.</span></td>
|
|
|
755 |
</tr>
|
|
|
756 |
<tr>
|
|
|
757 |
<td id="L5" class="blob-num js-line-number" data-line-number="5"></td>
|
|
|
758 |
<td id="LC5" class="blob-code blob-code-inner js-file-line"><span class="pl-c"> * Copyright: (c) 2019 David J. Bradshaw - dave@bradshaw.net</span></td>
|
|
|
759 |
</tr>
|
|
|
760 |
<tr>
|
|
|
761 |
<td id="L6" class="blob-num js-line-number" data-line-number="6"></td>
|
|
|
762 |
<td id="LC6" class="blob-code blob-code-inner js-file-line"><span class="pl-c"> * License: MIT</span></td>
|
|
|
763 |
</tr>
|
|
|
764 |
<tr>
|
|
|
765 |
<td id="L7" class="blob-num js-line-number" data-line-number="7"></td>
|
|
|
766 |
<td id="LC7" class="blob-code blob-code-inner js-file-line"><span class="pl-c"> <span class="pl-c">*/</span></span></td>
|
|
|
767 |
</tr>
|
|
|
768 |
<tr>
|
|
|
769 |
<td id="L8" class="blob-num js-line-number" data-line-number="8"></td>
|
|
|
770 |
<td id="LC8" class="blob-code blob-code-inner js-file-line">
|
|
|
771 |
</td>
|
|
|
772 |
</tr>
|
|
|
773 |
<tr>
|
|
|
774 |
<td id="L9" class="blob-num js-line-number" data-line-number="9"></td>
|
|
|
775 |
<td id="LC9" class="blob-code blob-code-inner js-file-line">!function(l){if("undefined"!=typeof window){var n=!0,o=10,i="",r=0,a="",t=null,u="",c=!1,s={resize:1,click:1},d=128,f=!0,m=1,h="bodyOffset",g=h,p=!0,v="",y={},b=32,e=null,w=!1,T="[iFrameSizer]",E=T.length,O="",S={max:1,min:1,bodyScroll:1,documentElementScroll:1},M="child",I=!0,N=window.parent,A="*",C=0,k=!1,z=null,R=16,x=1,L="scroll",F=L,P=window,D=function(){ue("onMessage function not defined")},j=function(){},q=function(){},H={height:function(){return ue("Custom height calculation function not defined"),document.documentElement.offsetHeight},width:function(){return ue("Custom width calculation function not defined"),document.body.scrollWidth}},W={},B=!1;try{var U=Object.create({},{passive:{get:function(){B=!0}}});window.addEventListener("test",te,U),window.removeEventListener("test",te,U)}catch(e){}var J,V,K,Q,X,Y,G,Z=Date.now||function(){return(new Date).getTime()},$={bodyOffset:function(){return document.body.offsetHeight+be("marginTop")+be("marginBottom")},offset:function(){return $.bodyOffset()},bodyScroll:function(){return document.body.scrollHeight},custom:function(){return H.height()},documentElementOffset:function(){return document.documentElement.offsetHeight},documentElementScroll:function(){return document.documentElement.scrollHeight},max:function(){return Math.max.apply(null,Te($))},min:function(){return Math.min.apply(null,Te($))},grow:function(){return $.max()},lowestElement:function(){return Math.max($.bodyOffset()||$.documentElementOffset(),we("bottom",Oe()))},taggedElement:function(){return Ee("bottom","data-iframe-height")}},_={bodyScroll:function(){return document.body.scrollWidth},bodyOffset:function(){return document.body.offsetWidth},custom:function(){return H.width()},documentElementScroll:function(){return document.documentElement.scrollWidth},documentElementOffset:function(){return document.documentElement.offsetWidth},scroll:function(){return Math.max(_.bodyScroll(),_.documentElementScroll())},max:function(){return Math.max.apply(null,Te(_))},min:function(){return Math.min.apply(null,Te(_))},rightMostElement:function(){return we("right",Oe())},taggedElement:function(){return Ee("right","data-iframe-width")}},ee=(J=Se,X=null,Y=0,G=function(){Y=Z(),X=null,Q=J.apply(V,K),X||(V=K=null)},function(){var e=Z();Y||(Y=e);var t=R-(e-Y);return V=this,K=arguments,t<=0||R<t?(X&&(clearTimeout(X),X=null),Y=e,Q=J.apply(V,K),X||(V=K=null)):X||(X=setTimeout(G,t)),Q});ne(window,"message",ke),ne(window,"readystatechange",ze),ze()}function te(){}function ne(e,t,n,o){e.addEventListener(t,n,!!B&&(o||{}))}function oe(e,t,n){e.removeEventListener(t,n,!1)}function ie(e){return e.charAt(0).toUpperCase()+e.slice(1)}function re(e){return T+"["+O+"] "+e}function ae(e){w&&"object"==typeof window.console&&console.log(re(e))}function ue(e){"object"==typeof window.console&&console.warn(re(e))}function ce(){var e;!function(){function e(e){return"true"===e}var t=v.substr(E).split(":");O=t[0],r=l!==t[1]?Number(t[1]):r,c=l!==t[2]?e(t[2]):c,w=l!==t[3]?e(t[3]):w,b=l!==t[4]?Number(t[4]):b,n=l!==t[6]?e(t[6]):n,a=t[7],g=l!==t[8]?t[8]:g,i=t[9],u=t[10],C=l!==t[11]?Number(t[11]):C,y.enable=l!==t[12]&&e(t[12]),M=l!==t[13]?t[13]:M,F=l!==t[14]?t[14]:F}(),ae("Initialising iFrame ("+location.href+")"),function(){function e(e,t){return"function"==typeof e&&(ae("Setup custom "+t+"CalcMethod"),H[t]=e,e="custom"),e}"iFrameResizer"in window&&Object===window.iFrameResizer.constructor&&(t=window.iFrameResizer,ae("Reading data from page: "+JSON.stringify(t)),Object.keys(t).forEach(se,t),D="onMessage"in t?t.onMessage:D,j="onReady"in t?t.onReady:j,A="targetOrigin"in t?t.targetOrigin:A,g="heightCalculationMethod"in t?t.heightCalculationMethod:g,F="widthCalculationMethod"in t?t.widthCalculationMethod:F,g=e(g,"height"),F=e(F,"width"));var t;ae("TargetOrigin for parent set to: "+A)}(),function(){l===a&&(a=r+"px");de("margin",function(e,t){-1!==t.indexOf("-")&&(ue("Negative CSS value ignored for "+e),t="");return t}("margin",a))}(),de("background",i),de("padding",u),(e=document.createElement("div")).style.clear="both",e.style.display="block",e.style.height="0",document.body.appendChild(e),he(),ge(),document.documentElement.style.height="",document.body.style.height="",ae('HTML & body height set to "auto"'),ae("Enable public methods"),P.parentIFrame={autoResize:function(e){return!0===e&&!1===n?(n=!0,pe()):!1===e&&!0===n&&(n=!1,ve()),n},close:function(){Ce(0,0,"close"),ae("Disable outgoing messages"),I=!1,ae("Remove event listener: Message"),oe(window,"message",ke),!0===n&&ve()},getId:function(){return O},getPageInfo:function(e){"function"==typeof e?(q=e,Ce(0,0,"pageInfo")):(q=function(){},Ce(0,0,"pageInfoStop"))},moveToAnchor:function(e){y.findTarget(e)},reset:function(){Ae("parentIFrame.reset")},scrollTo:function(e,t){Ce(t,e,"scrollTo")},scrollToOffset:function(e,t){Ce(t,e,"scrollToOffset")},sendMessage:function(e,t){Ce(0,0,"message",JSON.stringify(e),t)},setHeightCalculationMethod:function(e){g=e,he()},setWidthCalculationMethod:function(e){F=e,ge()},setTargetOrigin:function(e){ae("Set targetOrigin: "+e),A=e},size:function(e,t){var n=(e||"")+(t?","+t:"");Me("size","parentIFrame.size("+n+")",e,t)}},pe(),y=function(){function r(e){var t=e.getBoundingClientRect(),n={x:window.pageXOffset!==l?window.pageXOffset:document.documentElement.scrollLeft,y:window.pageYOffset!==l?window.pageYOffset:document.documentElement.scrollTop};return{x:parseInt(t.left,10)+parseInt(n.x,10),y:parseInt(t.top,10)+parseInt(n.y,10)}}function n(e){var t,n=e.split("#")[1]||e,o=decodeURIComponent(n),i=document.getElementById(o)||document.getElementsByName(o)[0];l!==i?(t=r(i),ae("Moving to in page link (#"+n+") at x: "+t.x+" y: "+t.y),Ce(t.y,t.x,"scrollToOffset")):(ae("In page link (#"+n+") not found in iFrame, so sending to parent"),Ce(0,0,"inPageLink","#"+n))}function e(){""!==location.hash&&"#"!==location.hash&&n(location.href)}function t(){Array.prototype.forEach.call(document.querySelectorAll('a[href^="#"]'),function(e){function t(e){e.preventDefault(),n(this.getAttribute("href"))}"#"!==e.getAttribute("href")&&ne(e,"click",t)})}y.enable?Array.prototype.forEach&&document.querySelectorAll?(ae("Setting up location.hash handlers"),t(),ne(window,"hashchange",e),setTimeout(e,d)):ue("In page linking not fully supported in this browser! (See README.md for IE8 workaround)"):ae("In page linking not enabled");return{findTarget:n}}(),Me("init","Init message from host page"),j()}function se(e){var t=e.split("Callback");if(2===t.length){var n="on"+t[0].charAt(0).toUpperCase()+t[0].slice(1);this[n]=this[e],delete this[e],ue("Deprecated: '"+e+"' has been renamed '"+n+"'. The old method will be removed in the next major version.")}}function de(e,t){l!==t&&""!==t&&"null"!==t&&ae("Body "+e+' set to "'+(document.body.style[e]=t)+'"')}function le(n){var e={add:function(e){function t(){Me(n.eventName,n.eventType)}W[e]=t,ne(window,e,t,{passive:!0})},remove:function(e){var t=W[e];delete W[e],oe(window,e,t)}};n.eventNames&&Array.prototype.map?(n.eventName=n.eventNames[0],n.eventNames.map(e[n.method])):e[n.method](n.eventName),ae(ie(n.method)+" event listener: "+n.eventType)}function fe(e){le({method:e,eventType:"Animation Start",eventNames:["animationstart","webkitAnimationStart"]}),le({method:e,eventType:"Animation Iteration",eventNames:["animationiteration","webkitAnimationIteration"]}),le({method:e,eventType:"Animation End",eventNames:["animationend","webkitAnimationEnd"]}),le({method:e,eventType:"Input",eventName:"input"}),le({method:e,eventType:"Mouse Up",eventName:"mouseup"}),le({method:e,eventType:"Mouse Down",eventName:"mousedown"}),le({method:e,eventType:"Orientation Change",eventName:"orientationchange"}),le({method:e,eventType:"Print",eventName:["afterprint","beforeprint"]}),le({method:e,eventType:"Ready State Change",eventName:"readystatechange"}),le({method:e,eventType:"Touch Start",eventName:"touchstart"}),le({method:e,eventType:"Touch End",eventName:"touchend"}),le({method:e,eventType:"Touch Cancel",eventName:"touchcancel"}),le({method:e,eventType:"Transition Start",eventNames:["transitionstart","webkitTransitionStart","MSTransitionStart","oTransitionStart","otransitionstart"]}),le({method:e,eventType:"Transition Iteration",eventNames:["transitioniteration","webkitTransitionIteration","MSTransitionIteration","oTransitionIteration","otransitioniteration"]}),le({method:e,eventType:"Transition End",eventNames:["transitionend","webkitTransitionEnd","MSTransitionEnd","oTransitionEnd","otransitionend"]}),"child"===M&&le({method:e,eventType:"IFrame Resized",eventName:"resize"})}function me(e,t,n,o){return t!==e&&(e in n||(ue(e+" is not a valid option for "+o+"CalculationMethod."),e=t),ae(o+' calculation method set to "'+e+'"')),e}function he(){g=me(g,h,$,"height")}function ge(){F=me(F,L,_,"width")}function pe(){var e;!0===n?(fe("add"),e=b<0,window.MutationObserver||window.WebKitMutationObserver?e?ye():t=function(){function t(e){function t(e){!1===e.complete&&(ae("Attach listeners to "+e.src),e.addEventListener("load",i,!1),e.addEventListener("error",r,!1),c.push(e))}"attributes"===e.type&&"src"===e.attributeName?t(e.target):"childList"===e.type&&Array.prototype.forEach.call(e.target.querySelectorAll("img"),t)}function o(e){var t;ae("Remove listeners from "+e.src),e.removeEventListener("load",i,!1),e.removeEventListener("error",r,!1),t=e,c.splice(c.indexOf(t),1)}function n(e,t,n){o(e.target),Me(t,n+": "+e.target.src,l,l)}function i(e){n(e,"imageLoad","Image loaded")}function r(e){n(e,"imageLoadFailed","Image load failed")}function e(e){Me("mutationObserver","mutationObserver: "+e[0].target+" "+e[0].type),e.forEach(t)}var a,u,c=[],s=window.MutationObserver||window.WebKitMutationObserver,d=(a=document.querySelector("body"),u={attributes:!0,attributeOldValue:!1,characterData:!0,characterDataOldValue:!1,childList:!0,subtree:!0},d=new s(e),ae("Create body MutationObserver"),d.observe(a,u),d);return{disconnect:function(){"disconnect"in d&&(ae("Disconnect body MutationObserver"),d.disconnect(),c.forEach(o))}}}():(ae("MutationObserver not supported in this browser!"),ye())):ae("Auto Resize disabled")}function ve(){fe("remove"),null!==t&&t.disconnect(),clearInterval(e)}function ye(){0!==b&&(ae("setInterval: "+b+"ms"),e=setInterval(function(){Me("interval","setInterval: "+b)},Math.abs(b)))}function be(e,t){var n=0;return t=t||document.body,n=null!==(n=document.defaultView.getComputedStyle(t,null))?n[e]:0,parseInt(n,o)}function we(e,t){for(var n,o=t.length,i=0,r=0,a=ie(e),u=Z(),c=0;c<o;c++)r<(i=t[c].getBoundingClientRect()[e]+be("margin"+a,t[c]))&&(r=i);return u=Z()-u,ae("Parsed "+o+" HTML elements"),ae("Element position calculated in "+u+"ms"),R/2<(n=u)&&ae("Event throttle increased to "+(R=2*n)+"ms"),r}function Te(e){return[e.bodyOffset(),e.bodyScroll(),e.documentElementOffset(),e.documentElementScroll()]}function Ee(e,t){var n=document.querySelectorAll("["+t+"]");return 0===n.length&&(ue("No tagged elements ("+t+") found on page"),document.querySelectorAll("body *")),we(e,n)}function Oe(){return document.querySelectorAll("body *")}function Se(e,t,n,o){var i,r;!function(){function e(e,t){return!(Math.abs(e-t)<=C)}return i=l!==n?n:$[g](),r=l!==o?o:_[F](),e(m,i)||c&&e(x,r)}()&&"init"!==e?e in{init:1,interval:1,size:1}||!(g in S||c&&F in S)?e in{interval:1}||ae("No change in size detected"):Ae(t):(Ie(),Ce(m=i,x=r,e))}function Me(e,t,n,o){k&&e in s?ae("Trigger event cancelled: "+e):(e in{reset:1,resetPage:1,init:1}||ae("Trigger event: "+t),"init"===e?Se(e,t,n,o):ee(e,t,n,o))}function Ie(){k||(k=!0,ae("Trigger event lock on")),clearTimeout(z),z=setTimeout(function(){k=!1,ae("Trigger event lock off"),ae("--")},d)}function Ne(e){m=$[g](),x=_[F](),Ce(m,x,e)}function Ae(e){var t=g;g=h,ae("Reset trigger event: "+e),Ie(),Ne("reset"),g=t}function Ce(e,t,n,o,i){var r;!0===I&&(l===i?i=A:ae("Message targetOrigin: "+i),ae("Sending message to host page ("+(r=O+":"+e+":"+t+":"+n+(l!==o?":"+o:""))+")"),N.postMessage(T+r,i))}function ke(t){var n={init:function(){v=t.data,N=t.source,ce(),f=!1,setTimeout(function(){p=!1},d)},reset:function(){p?ae("Page reset ignored by init"):(ae("Page size reset by host page"),Ne("resetPage"))},resize:function(){Me("resizeParent","Parent window requested size check")},moveToAnchor:function(){y.findTarget(i())},inPageLink:function(){this.moveToAnchor()},pageInfo:function(){var e=i();ae("PageInfoFromParent called from parent: "+e),q(JSON.parse(e)),ae(" --")},message:function(){var e=i();ae("onMessage called from parent: "+e),D(JSON.parse(e)),ae(" --")}};function o(){return t.data.split("]")[1].split(":")[0]}function i(){return t.data.substr(t.data.indexOf(":")+1)}function r(){return t.data.split(":")[2]in{true:1,false:1}}function e(){var e=o();e in n?n[e]():("undefined"==typeof module||!module.exports)&&"iFrameResize"in window||"jQuery"in window&&"iFrameResize"in window.jQuery.prototype||r()||ue("Unexpected message ("+t.data+")")}T===(""+t.data).substr(0,E)&&(!1===f?e():r()?n.init():ae('Ignored message of type "'+o()+'". Received before initialization.'))}function ze(){"loading"!==document.readyState&&window.parent.postMessage("[iFrameResizerChild]Ready","*")}}();</td>
|
|
|
776 |
</tr>
|
|
|
777 |
<tr>
|
|
|
778 |
<td id="L10" class="blob-num js-line-number" data-line-number="10"></td>
|
|
|
779 |
<td id="LC10" class="blob-code blob-code-inner js-file-line"><span class="pl-c"><span class="pl-c">//</span># sourceMappingURL=iframeResizer.contentWindow.map</span></td>
|
|
|
780 |
</tr>
|
|
|
781 |
</table>
|
|
|
782 |
|
|
|
783 |
<details class="details-reset details-overlay BlobToolbar position-absolute js-file-line-actions dropdown d-none" aria-hidden="true">
|
|
|
784 |
<summary class="btn-octicon ml-0 px-2 p-0 bg-white border border-gray-dark rounded-1" aria-label="Inline file action toolbar">
|
|
|
785 |
<svg class="octicon octicon-kebab-horizontal" viewBox="0 0 13 16" version="1.1" width="13" height="16" aria-hidden="true"><path fill-rule="evenodd" d="M1.5 9a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3zm5 0a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3zM13 7.5a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0z"/></svg>
|
|
|
786 |
</summary>
|
|
|
787 |
<details-menu>
|
|
|
788 |
<ul class="BlobToolbar-dropdown dropdown-menu dropdown-menu-se mt-2" style="width:185px">
|
|
|
789 |
<li><clipboard-copy role="menuitem" class="dropdown-item" id="js-copy-lines" style="cursor:pointer;" data-original-text="Copy lines">Copy lines</clipboard-copy></li>
|
|
|
790 |
<li><clipboard-copy role="menuitem" class="dropdown-item" id="js-copy-permalink" style="cursor:pointer;" data-original-text="Copy permalink">Copy permalink</clipboard-copy></li>
|
|
|
791 |
<li><a class="dropdown-item js-update-url-with-hash" id="js-view-git-blame" role="menuitem" href="/davidjbradshaw/iframe-resizer/blame/a7ff4eefdae85734d8e8ab9d53d6613fdc770dcf/js/iframeResizer.contentWindow.min.js">View git blame</a></li>
|
|
|
792 |
<li><a class="dropdown-item" id="js-new-issue" role="menuitem" href="/davidjbradshaw/iframe-resizer/issues/new">Reference in new issue</a></li>
|
|
|
793 |
</ul>
|
|
|
794 |
</details-menu>
|
|
|
795 |
</details>
|
|
|
796 |
|
|
|
797 |
</div>
|
|
|
798 |
|
|
|
799 |
</div>
|
|
|
800 |
|
|
|
801 |
|
|
|
802 |
|
|
|
803 |
<details class="details-reset details-overlay details-overlay-dark">
|
|
|
804 |
<summary data-hotkey="l" aria-label="Jump to line"></summary>
|
|
|
805 |
<details-dialog class="Box Box--overlay d-flex flex-column anim-fade-in fast linejump" aria-label="Jump to line">
|
|
|
806 |
<!-- '"` --><!-- </textarea></xmp> --></option></form><form class="js-jump-to-line-form Box-body d-flex" action="" accept-charset="UTF-8" method="get"><input name="utf8" type="hidden" value="✓" />
|
|
|
807 |
<input class="form-control flex-auto mr-3 linejump-input js-jump-to-line-field" type="text" placeholder="Jump to line…" aria-label="Jump to line" autofocus>
|
|
|
808 |
<button type="submit" class="btn" data-close-dialog>Go</button>
|
|
|
809 |
</form> </details-dialog>
|
|
|
810 |
</details>
|
|
|
811 |
|
|
|
812 |
|
|
|
813 |
|
|
|
814 |
</div>
|
|
|
815 |
<div class="modal-backdrop js-touch-events"></div>
|
|
|
816 |
</div>
|
|
|
817 |
|
|
|
818 |
</main>
|
|
|
819 |
</div>
|
|
|
820 |
|
|
|
821 |
|
|
|
822 |
</div>
|
|
|
823 |
|
|
|
824 |
|
|
|
825 |
<div class="footer container-lg width-full px-3" role="contentinfo">
|
|
|
826 |
<div class="position-relative d-flex flex-justify-between pt-6 pb-2 mt-6 f6 text-gray border-top border-gray-light ">
|
|
|
827 |
<ul class="list-style-none d-flex flex-wrap ">
|
|
|
828 |
<li class="mr-3">© 2019 <span title="0.19123s from unicorn-6dff475658-w5529">GitHub</span>, Inc.</li>
|
|
|
829 |
<li class="mr-3"><a data-ga-click="Footer, go to terms, text:terms" href="https://github.com/site/terms">Terms</a></li>
|
|
|
830 |
<li class="mr-3"><a data-ga-click="Footer, go to privacy, text:privacy" href="https://github.com/site/privacy">Privacy</a></li>
|
|
|
831 |
<li class="mr-3"><a data-ga-click="Footer, go to security, text:security" href="https://github.com/security">Security</a></li>
|
|
|
832 |
<li class="mr-3"><a href="https://githubstatus.com/" data-ga-click="Footer, go to status, text:status">Status</a></li>
|
|
|
833 |
<li><a data-ga-click="Footer, go to help, text:help" href="https://help.github.com">Help</a></li>
|
|
|
834 |
</ul>
|
|
|
835 |
|
|
|
836 |
<a aria-label="Homepage" title="GitHub" class="footer-octicon mx-lg-4" href="https://github.com">
|
|
|
837 |
<svg height="24" class="octicon octicon-mark-github" viewBox="0 0 16 16" version="1.1" width="24" aria-hidden="true"><path fill-rule="evenodd" d="M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.013 8.013 0 0 0 16 8c0-4.42-3.58-8-8-8z"/></svg>
|
|
|
838 |
</a>
|
|
|
839 |
<ul class="list-style-none d-flex flex-wrap ">
|
|
|
840 |
<li class="mr-3"><a data-ga-click="Footer, go to contact, text:contact" href="https://github.com/contact">Contact GitHub</a></li>
|
|
|
841 |
<li class="mr-3"><a href="https://github.com/pricing" data-ga-click="Footer, go to Pricing, text:Pricing">Pricing</a></li>
|
|
|
842 |
<li class="mr-3"><a href="https://developer.github.com" data-ga-click="Footer, go to api, text:api">API</a></li>
|
|
|
843 |
<li class="mr-3"><a href="https://training.github.com" data-ga-click="Footer, go to training, text:training">Training</a></li>
|
|
|
844 |
<li class="mr-3"><a href="https://github.blog" data-ga-click="Footer, go to blog, text:blog">Blog</a></li>
|
|
|
845 |
<li><a data-ga-click="Footer, go to about, text:about" href="https://github.com/about">About</a></li>
|
|
|
846 |
|
|
|
847 |
</ul>
|
|
|
848 |
</div>
|
|
|
849 |
<div class="d-flex flex-justify-center pb-6">
|
|
|
850 |
<span class="f6 text-gray-light"></span>
|
|
|
851 |
</div>
|
|
|
852 |
</div>
|
|
|
853 |
|
|
|
854 |
|
|
|
855 |
|
|
|
856 |
<div id="ajax-error-message" class="ajax-error-message flash flash-error">
|
|
|
857 |
<svg class="octicon octicon-alert" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"><path fill-rule="evenodd" d="M8.893 1.5c-.183-.31-.52-.5-.887-.5s-.703.19-.886.5L.138 13.499a.98.98 0 0 0 0 1.001c.193.31.53.501.886.501h13.964c.367 0 .704-.19.877-.5a1.03 1.03 0 0 0 .01-1.002L8.893 1.5zm.133 11.497H6.987v-2.003h2.039v2.003zm0-3.004H6.987V5.987h2.039v4.006z"/></svg>
|
|
|
858 |
<button type="button" class="flash-close js-ajax-error-dismiss" aria-label="Dismiss error">
|
|
|
859 |
<svg class="octicon octicon-x" viewBox="0 0 12 16" version="1.1" width="12" height="16" aria-hidden="true"><path fill-rule="evenodd" d="M7.48 8l3.75 3.75-1.48 1.48L6 9.48l-3.75 3.75-1.48-1.48L4.52 8 .77 4.25l1.48-1.48L6 6.52l3.75-3.75 1.48 1.48L7.48 8z"/></svg>
|
|
|
860 |
</button>
|
|
|
861 |
You can’t perform that action at this time.
|
|
|
862 |
</div>
|
|
|
863 |
|
|
|
864 |
|
|
|
865 |
<script crossorigin="anonymous" integrity="sha512-jFuNBkwlIX73xJbI2nTCs01W/xjwP+Ccc0gEdkD4d/tQBv4xIZx4dZLnkYhzawWhnxjJbvkHsxSXQffNs0Ce4Q==" type="application/javascript" src="https://github.githubassets.com/assets/compat-bootstrap-8102d067.js"></script>
|
|
|
866 |
<script crossorigin="anonymous" integrity="sha512-p8hBLU7upkvGSTPOlZOg8xpzXyCnw3ZW22fEgH0h/VJ/BadJS9gt6SHGZ89F3wpFzqSDsFlU32OAJKYk/otSKw==" type="application/javascript" src="https://github.githubassets.com/assets/frameworks-ae48aebc.js"></script>
|
|
|
867 |
|
|
|
868 |
<script crossorigin="anonymous" async="async" integrity="sha512-j9xZZ98nOvSw0VajZh0/iN+13HQJgpVp8MHuMQbJe87mSO2wj3dKGsilBdjK0VfnMGMjX+LfH5UJpsuB0DiDBQ==" type="application/javascript" src="https://github.githubassets.com/assets/github-bootstrap-2da7dfc7.js"></script>
|
|
|
869 |
|
|
|
870 |
|
|
|
871 |
|
|
|
872 |
<div class="js-stale-session-flash stale-session-flash flash flash-warn flash-banner" hidden
|
|
|
873 |
>
|
|
|
874 |
<svg class="octicon octicon-alert" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"><path fill-rule="evenodd" d="M8.893 1.5c-.183-.31-.52-.5-.887-.5s-.703.19-.886.5L.138 13.499a.98.98 0 0 0 0 1.001c.193.31.53.501.886.501h13.964c.367 0 .704-.19.877-.5a1.03 1.03 0 0 0 .01-1.002L8.893 1.5zm.133 11.497H6.987v-2.003h2.039v2.003zm0-3.004H6.987V5.987h2.039v4.006z"/></svg>
|
|
|
875 |
<span class="signed-in-tab-flash">You signed in with another tab or window. <a href="">Reload</a> to refresh your session.</span>
|
|
|
876 |
<span class="signed-out-tab-flash">You signed out in another tab or window. <a href="">Reload</a> to refresh your session.</span>
|
|
|
877 |
</div>
|
|
|
878 |
<template id="site-details-dialog">
|
|
|
879 |
<details class="details-reset details-overlay details-overlay-dark lh-default text-gray-dark" open>
|
|
|
880 |
<summary aria-haspopup="dialog" aria-label="Close dialog"></summary>
|
|
|
881 |
<details-dialog class="Box Box--overlay d-flex flex-column anim-fade-in fast">
|
|
|
882 |
<button class="Box-btn-octicon m-0 btn-octicon position-absolute right-0 top-0" type="button" aria-label="Close dialog" data-close-dialog>
|
|
|
883 |
<svg class="octicon octicon-x" viewBox="0 0 12 16" version="1.1" width="12" height="16" aria-hidden="true"><path fill-rule="evenodd" d="M7.48 8l3.75 3.75-1.48 1.48L6 9.48l-3.75 3.75-1.48-1.48L4.52 8 .77 4.25l1.48-1.48L6 6.52l3.75-3.75 1.48 1.48L7.48 8z"/></svg>
|
|
|
884 |
</button>
|
|
|
885 |
<div class="octocat-spinner my-6 js-details-dialog-spinner"></div>
|
|
|
886 |
</details-dialog>
|
|
|
887 |
</details>
|
|
|
888 |
</template>
|
|
|
889 |
|
|
|
890 |
<div class="Popover js-hovercard-content position-absolute" style="display: none; outline: none;" tabindex="0">
|
|
|
891 |
<div class="Popover-message Popover-message--bottom-left Popover-message--large Box box-shadow-large" style="width:360px;">
|
|
|
892 |
</div>
|
|
|
893 |
</div>
|
|
|
894 |
|
|
|
895 |
<div aria-live="polite" class="js-global-screen-reader-notice sr-only"></div>
|
|
|
896 |
|
|
|
897 |
</body>
|
|
|
898 |
</html>
|
|
|
899 |
|