awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
davidjbradshaw avatar

davidjbradshaw/iframe-resizer

0
View on GitHub↗

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.

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI
iframe-resizer.com
↗

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.
6,931 stars·956 forks·JavaScript·14 views

Star history

Star history chart for davidjbradshaw/iframe-resizerStar history chart for davidjbradshaw/iframe-resizer

How this analysis was created: This summary and feature list are AI-generated from collected project material and can contain mistakes. Stars, license and language are imported from GitHub. Inclusion does not mean that we have tested or audited this project. Check the source documentation for any feature you depend on. Learn more on our About page.

Projects sharing features with Iframe Resizer

These projects share indexed features with Iframe Resizer. Shared tags can include platform or build tooling; verify the primary use case before treating a result as a replacement.
  • mcp-ui-org/mcp-uiMCP-UI-Org avatar

    MCP-UI-Org/mcp-ui

    4,949View on GitHub↗

    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
    View on GitHub↗4,949
  • naver/billboard.jsnaver avatar

    naver/billboard.js

    6,024View on GitHub↗

    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
    View on GitHub↗6,024
  • stevenwanderski/bxslider-4stevenwanderski avatar

    stevenwanderski/bxslider-4

    4,166View on GitHub↗

    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
    View on GitHub↗4,166
  • jupyterlite/jupyterlitejupyterlite avatar

    jupyterlite/jupyterlite

    4,914View on GitHub↗

    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
    View on GitHub↗4,914
Compare all 30 related projects→

Frequently asked questions

What does davidjbradshaw/iframe-resizer do?

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.

What are the main features of davidjbradshaw/iframe-resizer?

The main features of davidjbradshaw/iframe-resizer are: Auto-Resizing Iframes, Iframe Content Resizers, Iframe Messaging, Cross-Domain Coordination, Iframe Message Bridges, Message Bridges, Domain Access Restrictions, Dynamic Size Calculators.

Which projects share features with davidjbradshaw/iframe-resizer?

Projects with overlapping indexed features include: 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.…