title: Modify web page frame size with TamperMonkey UserScript
body: <p>My son's virtual Spanish class has his text book in a horribly small frame that you have to scroll inside of instead of using the full height of the browser window.</p>
  <p>I've looked at the code and found that if I change the style height for the d2l-iframe (4th to last line) from the fixed 760px to 87vh it looks perfect on his monitor. It's such a minor correction but I can't figure out how to get TamperMonkey change it. I've Googled and tried several approaches to no avail.</p>
  <p>I'm really just looking for someone with TamperMonkey/UserScripts experience to point me in the right direction but I'd like to get there myself.</p>
  <pre><code>&lt;div class=&quot;d2l-popup d2l-popup-nopadding&quot;&gt;
          &lt;div class=&quot;d2l-popup-title&quot;&gt;
              &lt;div class=&quot;d2l_1_0_821 d2l_1_1_366 d2l-hidden&quot; id=&quot;d2l-popup-nav&quot;&gt;
                  &lt;div class=&quot;d2l-iterator&quot;&gt;
                      &lt;a class=&quot;d2l-iterator-button d2l-iterator-button-prev d2l-iterator-button-notext&quot; role=&quot;button&quot; href=&quot;/d2l/le/content/303492/navigateContent/2779/Previous?pId=4043417&quot; title=&quot;Previous &quot;&gt;&lt;d2l-icon icon=&quot;tier1:chevron-left&quot; dir=&quot;ltr&quot;&gt;&lt;/d2l-icon&gt;&lt;span class=&quot;d2l-offscreen&quot;&gt;Previous &lt;/span&gt;&amp;nbsp;&lt;/a&gt;&lt;a class=&quot;d2l-iterator-button d2l-iterator-button-next d2l-iterator-button-notext&quot; role=&quot;button&quot; href=&quot;/d2l/le/content/303492/navigateContent/2779/Next?pId=4043417&quot; title=&quot;Next&quot;&gt;&lt;span class=&quot;d2l-offscreen&quot;&gt;Next&lt;/span&gt;&amp;nbsp;&lt;d2l-icon icon=&quot;tier1:chevron-right&quot; dir=&quot;ltr&quot;&gt;&lt;/d2l-icon&gt;&lt;/a&gt;&lt;/div&gt;
              &lt;/div&gt;
              &lt;h2 class=&quot;d2l-heading vui-heading-1&quot;&gt;01.00 Un viaje se mide mejor en amigos que en millas&lt;/h2&gt;
          &lt;/div&gt;
          &lt;div class=&quot;d2l-popup-body&quot; style=&quot;height: 709px;&quot;&gt;
              &lt;div class=&quot;d2l-messagearea d2l_1_2_876&quot; id=&quot;d2l_messagearea&quot; role=&quot;alert&quot; tabindex=&quot;0&quot;&gt;&lt;/div&gt;&lt;div&gt;
                  &lt;div class=&quot;d2l-iframe-loading-container d2l_1_4_428 d2l_1_5_609&quot; style=&quot;display: none;&quot;&gt;
                  &lt;/div&gt;
                  &lt;iframe class=&quot;d2l-iframe d2l_1_4_428 d2l_1_5_609&quot; id=&quot;d2l_1_3_744&quot; name=&quot;d2l_1_3_744&quot; src=&quot;/d2l/common/dialogs/quickLink/quickLink.d2l?ou=303492&amp;amp;type=lti&amp;amp;rCode=0e28c0388c4f4923851fc7eb-12&amp;amp;contentTopicId=4043435&amp;amp;d2l_body_type=3&quot; title=&quot;01.00 Un viaje se mide mejor en amigos que en millas&quot; frameborder=&quot;0&quot; scrolling=&quot;auto&quot; allowfullscreen=&quot;&quot; allow=&quot;microphone *; camera *; autoplay *&quot; onload=&quot;this.m_loaded=true;&quot; data-default-height=&quot;580&quot; style=&quot;height: 87vh;width: 100%;&quot;&gt;&lt;/iframe&gt;
              &lt;/div&gt;
          &lt;/div&gt;
      &lt;/div&gt;
  </code></pre>