轻应用内的网页加载方法、装置、设备及计算机存储介质

By injecting simulated scripts and authentication function tags into the browser environment, the problem of browser applets being unable to load web pages was solved, achieving compatibility and security for securely loading web pages in the browser.

CN116702147BActive Publication Date: 2026-07-17TENCENT TECHNOLOGY (SHENZHEN) CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
TENCENT TECHNOLOGY (SHENZHEN) CO LTD
Filing Date
2022-02-28
Publication Date
2026-07-17

AI Technical Summary

Technical Problem

Mini programs in the browser environment are difficult to be compatible with the web-view component of mini programs on the client side, which makes it impossible to embed and load web pages in the browser.

Method used

By injecting a mock script into the browser environment, a runtime environment is provided for the target page framework, and an authentication function tag is created to perform loading permission authentication. The source code is executed only when the authentication is successful to display the target page.

Benefits of technology

It enables secure loading of web pages in a browser environment, ensuring the legality and security of loading permissions, simulating the client's web-view environment, and solving the compatibility problem of browser applets not being able to embed web pages.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116702147B_ABST
    Figure CN116702147B_ABST
Patent Text Reader

Abstract

本申请公开了一种轻应用内的网页加载方法、装置、设备及计算机存储介质,属于计算机技术领域,用于在浏览器环境中实现轻应用中嵌入网页的加载。该方法包括:基于目标页面框架的创建,将第一模拟脚本注入目标页面框架;其中,目标页面框架对应于浏览器中运行的目标轻应用的目标页面;运行第一模拟脚本,在确定目标页面框架属于网络视图类型时,为目标页面创建鉴权功能标签,并将鉴权功能标签注入目标页面框架对应的源代码;运行鉴权功能标签指定的鉴权脚本,对目标页面框架的加载权限进行鉴权,获得相应的鉴权结果;若鉴权结果指示允许加载目标页面框架,则执行源代码,在目标轻应用中显示目标页面。
Need to check novelty before this filing date? Find Prior Art