Tagged articles
iframe
24 articles · Page 1 of 1
This article walks through integrating a Chrome extension into an Electron app, handling file‑protocol loading, cross‑origin iframe restrictions, site‑isolation settings, and code modifications needed to expose Laya objects from an iframe to the extension.
Chrome extensionElectronJavaScript
0 likes · 8 min read

This tutorial walks you through creating a Baidu map, configuring its center and markers, obtaining the embed code, inserting it into an HTML file, applying your API key, and publishing the final page, all with clear visual instructions.
API keyBaidu MapHTML
0 likes · 3 min read

This article compares two micro‑frontend frameworks (Qiankun and Umi Micro) and an iframe‑based solution, detailing their principles, feature comparisons, pros and cons, integration costs, typical scenarios, common pitfalls, and improvement plans to help developers select the most suitable approach for multi‑platform product integration.
Frontend ArchitecturePostMessageiframe
0 likes · 15 min read

This article provides a detailed tutorial on iframe usage in web front‑end development, covering responsive sizing based on the parent window, dynamic height adjustment via postMessage, handling HTTP/HTTPS mismatches, cross‑origin issues, and security considerations such as X‑Frame‑Options.
Cross-OriginVueWeb Security
0 likes · 13 min read

This article explains what micro frontends are, the problems they address, suitable application scenarios, key technical concerns such as communication, state management, sandboxing, routing, and pre‑loading, and compares popular implementations like nginx forwarding, pure iframe, qiankun, micro‑app, Module Federation, and wujie.
Frontend ArchitectureMicro FrontendsWujie
0 likes · 26 min read


58 TechFeb 28, 2023 · Frontend Development
This article explains how a low‑code editor can provide true WYSIWYG editing by separating the canvas into an editing layer and a rendering layer, using an iframe for isolation, synchronizing layout information via DOM measurements, and addressing the challenges of component overlap, performance, and cross‑technology integration.
CanvasWYSIWYGeditor design
0 likes · 11 min read

This article examines the advantages and drawbacks of using iframes for embedding one system into another, outlines suitable scenarios, and provides a step‑by‑step implementation—including URL synchronization, navigation handling, and loading management—using React and plain JavaScript to achieve a smooth, micro‑frontend‑free integration.
frontendiframemicro-frontend
0 likes · 20 min read

This article introduces the Lingjie page‑level micro‑frontend solution, explains the concept and types of micro‑frontends, describes its design principles and iframe‑based architecture, outlines core features, and provides step‑by‑step guidance for integrating and optimizing applications with Lingjie.
Frontend Architectureiframemicro-frontend
0 likes · 15 min read


政采云技术Jul 26, 2022 · Frontend Development
This article introduces the concept of rich text in the frontend, explains two primary input methods (iframe with designMode and contenteditable elements), details the Selection API for handling text ranges, demonstrates toolbar commands using execCommand, and provides complete demo code for building a simple rich‑text editor.
HTMLRich Textcontenteditable
0 likes · 15 min read

This article examines how iframe state can be preserved in a Vue‑based platform by using CSS display toggling, introduces an iframe resource pool with a competition eviction strategy, and analyzes Vue's patch algorithm and DOM insertBefore behavior to propose a solution that avoids unwanted iframe refreshes.
State Managementiframepatch
0 likes · 10 min read

This article explores several techniques—including MutationObserver, IntersectionObserver, ResizeObserver, onload listeners, and an iframe hack—to reliably detect when a rich‑text container with images exceeds a maximum height so a "show more" button can be displayed.
DOMIntersectionObserverMutationObserver
0 likes · 11 min read


SQB BlogApr 26, 2022 · Frontend Development
This article explains how a large, monolithic internal operations management system was refactored into a micro‑frontend architecture, detailing the container framework, SSO integration, resource‑permission system, communication mechanisms, and the resulting benefits for independent team development and performance.
Frontend ArchitectureSSOcontainer framework
0 likes · 11 min read

This article explains how to build a versatile browser message‑communication library that works across iframes, Web Workers, ServiceWorkers, BroadcastChannel and other MessagePort‑like objects, using a unified interface design, TypeScript typings, event‑driven architecture and JSON‑RPC for reliable remote procedure calls.
JSON-RPCPostMessageRPC
0 likes · 13 min read

The article details how an e‑commerce product middle platform’s front‑end employs visualization technology, a uni‑render approach that shares a Vuex store between an iframe and its parent via a sandboxed Vue instance, and a qiankun‑based micro‑frontend architecture, while addressing cross‑domain and editor integration challenges.
Vuexe-commercefrontend-architecture
0 likes · 13 min read


JD TechMar 16, 2022 · Frontend Development
This article provides a comprehensive introduction to micro frontends, explaining their definition, benefits such as independence and scalability, detailing various implementation approaches like iframe, Module Federation, EMP, single‑spa, qiankun, icestark, garfish, Fronts and Web Components, and outlining the essential framework functions and suitable scenarios.
Frontend ArchitectureMicro Frontendsiframe
0 likes · 11 min read

This article explains the concept of JavaScript sandboxing, outlines common use cases, walks through several implementation strategies—from simple eval wrappers to with‑Proxy‑iframe combos—and discusses sandbox escape techniques and how to mitigate them, providing practical code examples throughout.
JavaScriptSecurityfrontend
0 likes · 14 min read

This article explains what clickjacking (UI redressing) is, demonstrates how attackers craft hidden iframe layers to hijack user clicks, and outlines both client‑side and server‑side mitigation strategies such as frame‑busting scripts, X‑Frame‑Options, and Content‑Security‑Policy directives.
Content Security PolicyUI redressingWeb Security
0 likes · 10 min read

This article explains why rapid business growth and rising development costs push teams toward a micro‑frontend architecture, compares monolithic and micro‑frontend approaches, outlines four implementation patterns, presents the chosen Vue‑based tech stack, and shares code snippets for communication, scrolling, and build‑time optimizations.
Frontend ArchitectureVueiframe
0 likes · 15 min read


政采云技术Jul 19, 2020 · Frontend Development
This article explains how to design and implement reusable UI components that work across jQuery, React, and Vue by using a native‑JS container, iframe isolation, and communication techniques such as domain sharing, postMessage alternatives, and Nginx proxying, while providing code examples and practical tips.
@Componentcross-frameworkfrontend
0 likes · 12 min read

This article explains the background, core concepts, advantages, and various implementation approaches of micro frontends, and provides a step‑by‑step guide—including project setup, configuration, communication, and optimization—using Vue, single‑spa, and related tools.
Frontend ArchitectureVueiframe
0 likes · 11 min read

This guide shows how to use Selenium WebDriver in Java to bypass Zhihu's captcha by logging in through a third‑party account, handling multiple windows and an iframe, and then returning to the original page.
JavaThird-Party LoginZhihu
0 likes · 3 min read

This article presents a technical design for a multi‑platform shop‑decoration system that shares data via React context, reuses Vue‑based preview components through an iframe, synchronizes updates with a postMessage wrapper, and implements drag‑and‑drop using vuedraggable, providing a scalable solution for PC, H5, and mini‑programs.
Drag-and-DropPostMessageReact
0 likes · 12 min read

This article explains why switching iframe pages to HTTPS broke automatic resizing due to cross-origin restrictions, introduces the easyXDM library as a comprehensive solution, and provides step‑by‑step code examples for parent‑child communication, protocol selection, multi‑iframe handling, and debugging techniques.
JavaScriptPostMessagecross-domain
0 likes · 15 min read


ITPUBJul 8, 2016 · Frontend Development
This short tutorial explains how to enhance boring report pages by embedding a free weather forecast widget using an iframe and JavaScript, covering provider selection, code insertion, and integration with FineReport, plus tips for sizing and transparency.
FineReportJavaScriptfrontend
0 likes · 3 min read
