awesome-repositories.com
Blog
awesome-repositories.com

Entdecke die besten Open-Source-Repositories mit KI-gestützter Suche.

EntdeckenKuratierte SuchenOpen-Source-AlternativenSelf-hosted SoftwareBlogSitemap
ProjektÜber unsRanking-MethodikPresseMCP-Server
RechtlichesDatenschutzAGB
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
davidjbradshaw avatar

davidjbradshaw/iframe-resizer

0
View on GitHub↗
6,927 Stars·974 Forks·JavaScript·3 Aufrufeiframe-resizer.com↗

Iframe Resizer

iframe-resizer is a JavaScript tool that automatically adjusts the dimensions of an iframe to match the size of its internal content. It functions as a cross-domain communication bridge, allowing the exchange of data and the triggering of actions between a parent window and an embedded iframe across different origins.

The project includes a nested iframe coordinator to synchronize dimensions between parent pages and inner frames, preventing scrollbars in complex nested structures. It also provides an accessibility utility to manage iframe titles and attributes, ensuring embedded content is compatible with screen readers.

The system covers a broad range of capabilities, including bidirectional JSON messaging, origin-based security filtering to restrict communication to trusted domains, and scroll synchronization for in-page anchor links. It further supports integration within component-based architectures through specialized wrappers for various frontend frameworks and jQuery.

Features

  • Auto-Resizing Iframes - Automatically adjusts iframe dimensions to match internal content and prevent scrollbars.
  • Iframe Content Resizers - Automatically scales an iframe's dimensions to match the size of its internal content to prevent scrollbars.
  • Iframe Messaging - Uses the browser postMessage API to exchange JSON data between parent windows and guest iframes.
  • Cross-Domain Coordination - Coordinates resizing and communication between parent pages and iframes across different domains.
  • Iframe Message Bridges - Provides a bidirectional messaging interface for state synchronization between host and guest iframes.
  • Message Bridges - Implements a messaging bridge to synchronize dimensions and exchange data between different domains.
  • Domain Access Restrictions - Implements origin-based security filtering to restrict cross-domain messaging to a whitelist of trusted domains.
  • Dynamic Size Calculators - Computes required iframe dimensions by analyzing the internal scroll height and width of the guest document.
  • Nested Iframe Resizing - Resizes nested frame structures by communicating dimensions between parent and inner frames to prevent scrollbars.
  • Minimum Dimension Calculators - Calculates the required iframe dimensions based on internal element properties to ensure a perfect content fit.
  • Guest Script Architectures - Uses a guest script inside the iframe to calculate internal dimensions and report them to the parent window.
  • Cross-Origin Security Policies - Validates incoming message origins against a whitelist to prevent cross-site scripting attacks.
  • Recursive Resizing - Communicates size updates through a chain of parent and child frames to resolve nested iframe dimensions.
  • Event-Driven Callbacks - Triggers customizable JavaScript functions on the parent page when resize or scroll events are detected.
  • Iframe Accessibility Utilities - Manages iframe titles and attributes to ensure embedded content is compatible with screen readers.
  • Nested Coordination - Manages size and scroll synchronization for complex structures where iframes are embedded within other iframes.
  • Screen Reader Accessibility - Improves screen reader support by dynamically managing iframe titles and accessibility attributes.
  • Nested Scroll Coordination - Coordinates dimensions and scrolling between parent pages and inner frames to eliminate nested scrollbars.
  • Framework Integration Wrappers - Ships dedicated library wrappers that adapt iframe resizing functionality for various frontend frameworks.
  • Frontend Framework Integrations - Synchronizes iframe dimensions across various JavaScript libraries using specialized frontend framework integrations.

Star-Verlauf

Star-Verlauf für davidjbradshaw/iframe-resizerStar-Verlauf für davidjbradshaw/iframe-resizer

KI-Suche

Entdecke weitere awesome Repositories

Beschreibe in einfachen Worten, was du brauchst — die KI bewertet tausende kuratierte Open-Source-Projekte nach Relevanz.

Start searching with AI

Open-Source-Alternativen zu Iframe Resizer

Ähnliche Open-Source-Projekte, sortiert nach der Anzahl der gemeinsamen Funktionen mit Iframe Resizer.
  • mcp-ui-org/mcp-uiAvatar von MCP-UI-Org

    MCP-UI-Org/mcp-ui

    4,949Auf GitHub ansehen↗

    mcp-ui is a toolkit and framework for rendering interactive web components and managing communication between Model Context Protocol servers and host applications. It serves as a client interface library and a sandboxed web component renderer designed to move AI tool interactions beyond text-based outputs into visual interfaces. The project is distinguished by its secure rendering system, which utilizes a double-iframe architecture and a proxy layer to isolate guest user interfaces from the host application. It employs a JSON-RPC bridge to synchronize state and route user intents, ensuring bi

    TypeScriptaifrontendllm
    Auf GitHub ansehen↗4,949
  • naver/billboard.jsAvatar von naver

    naver/billboard.js

    5,980Auf GitHub ansehen↗

    billboard.js is a JavaScript charting library built on D3.js that renders interactive data visualizations from a single declarative configuration object. It supports a wide range of chart types including bar, line, pie, scatter, area, spline, step, candlestick, funnel, gauge, heatmap, radar, polar, treemap, bubble, donut, and sparkline charts, and can overlay multiple chart types within a single visualization. The library offers an opt-in Canvas rendering mode for improved performance with large datasets and high-density axis displays, alongside its standard SVG-based rendering. The library d

    TypeScript
    Auf GitHub ansehen↗5,980
  • stevenwanderski/bxslider-4Avatar von stevenwanderski

    stevenwanderski/bxslider-4

    4,183Auf GitHub ansehen↗

    This project is a jQuery content slider used to create responsive image galleries and touch-enabled carousels. It functions as an accessible UI component that displays images, video, or HTML content using hardware-accelerated animations. The slider includes built-in support for swipe gestures and finger-following navigation for touch-enabled devices. It integrates ARIA attributes, such as Aria Live and Aria Hidden, to ensure screen reader compatibility and accessibility for users of assistive technologies. The system provides comprehensive layout and navigation capabilities, including config

    JavaScriptbxslidercontent-sliderimage-slider
    Auf GitHub ansehen↗4,183
  • jupyterlite/jupyterliteAvatar von jupyterlite

    jupyterlite/jupyterlite

    4,840Auf GitHub ansehen↗

    JupyterLite is a WebAssembly-based interactive notebook environment that enables browser-based computing without a backend server. It provides a client-side data science sandbox where users can execute programming language kernels and run interactive notebooks entirely within the web browser. The project allows for the creation of tailored distributions by pre-installing specific language packages, bundling custom wheels, and applying environment configurations. It supports the generation of static sites that can be deployed to any standard HTTP host, including the ability to package the envi

    TypeScriptjupyterjupyterlabjupyterlab-extension
    Auf GitHub ansehen↗4,840
Alle 30 Alternativen zu Iframe Resizer anzeigen→

Häufig gestellte Fragen

Was macht davidjbradshaw/iframe-resizer?

iframe-resizer is a JavaScript tool that automatically adjusts the dimensions of an iframe to match the size of its internal content. It functions as a cross-domain communication bridge, allowing the exchange of data and the triggering of actions between a parent window and an embedded iframe across different origins.

Was sind die Hauptfunktionen von davidjbradshaw/iframe-resizer?

Die Hauptfunktionen von davidjbradshaw/iframe-resizer sind: Auto-Resizing Iframes, Iframe Content Resizers, Iframe Messaging, Cross-Domain Coordination, Iframe Message Bridges, Message Bridges, Domain Access Restrictions, Dynamic Size Calculators.

Welche Open-Source-Alternativen gibt es zu davidjbradshaw/iframe-resizer?

Open-Source-Alternativen zu davidjbradshaw/iframe-resizer sind unter anderem: mcp-ui-org/mcp-ui — mcp-ui is a toolkit and framework for rendering interactive web components and managing communication between Model… naver/billboard.js — billboard.js is a JavaScript charting library built on D3.js that renders interactive data visualizations from a… stevenwanderski/bxslider-4 — This project is a jQuery content slider used to create responsive image galleries and touch-enabled carousels. It… jupyterlite/jupyterlite — JupyterLite is a WebAssembly-based interactive notebook environment that enables browser-based computing without a… northwoodssoftware/gojs — GoJS is a JavaScript diagramming library and canvas-based visualization engine used to build interactive flowcharts,… quarkusio/quarkus — Quarkus is a Kubernetes-native Java framework designed for building high-performance, memory-efficient applications.…