tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

index.rst (1496B)


      1 ====================
      2 Working with iframes
      3 ====================
      4 
      5 You can point the developer tools at a specific `iframe <https://developer.mozilla.org/en-US/docs/Web/HTML/Element/iframe>`_ within a document. The :doc:`Inspector <../page_inspector/index>`, :doc:`Console <../web_console/index>`, :doc:`Debugger <../debugger/index>` and all other developer tools will then target that iframe (essentially behaving as if the rest of the page does not exist).
      6 
      7 .. raw:: html
      8 
      9  <iframe width="560" height="315" src="https://www.youtube.com/embed/Me9hjqd74m8" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
     10  <br/>
     11  <br/>
     12 
     13 To set an iframe as the target for the developer tools:
     14 
     15 - Select the *iframe context picker button* to launch a popup listing all the iframes in the document (and the main document itself). Note that the button is only displayed if the page includes iframes!
     16 
     17  .. image:: developer_tools_select_iframe.png
     18    :alt: Screenshot showing how to set an iframe as the target of developer tools (using the iframe button)
     19    :class: center
     20 
     21 - Select an entry to make it the *target iframe*.
     22 
     23 
     24 .. note::
     25  The iframe context picker button feature is enabled by default (if it has been disabled the iframe button is never displayed). The feature can be re-enabled from the Settings menu, using the "Select an iframe as the currently targeted document" checkbox.