当前位置:网站首页>The modification is not properly placed in the sandbox, causing Apple compatibility issues
The modification is not properly placed in the sandbox, causing Apple compatibility issues
2022-07-31 02:19:00 【cat jingle】
Scanning questions for code
ifram=document.createElement('iframe')span>Problem description: The application uses an HTML iframe, but its content is not properly sandboxed
About the content of the iframe: This tag generates a designated area in which to embed other web pages.
He has an attribute value of sandbox: set the permission to embed web pages.Embedded web pages have normal permissions by default, such as executing scripts, submitting forms, pop-up windows, etc., but in order to limit the risk, HTML provides the sandbox attribute, which allows setting the permissions of the embedded web page, which is equivalent to providing an isolation layer, that is, the sandbox.It can be used as a Boolean attribute, which means that all restrictions are turned on, or restrictions can be turned on item by item. If a certain item is not set, it means that it does not have the permission.
Modify:ifram=document.createElement('iframe')span>iframe.setAttribute('sandbox',true)Problems after modification:
In systems above ios15.5, all client plug-ins used by the front end cannot be adjusted. The problem occurs in the newly added line of code. The specific reason is unknown., welcome to solve it.
边栏推荐
- [Map and Set] LeetCode & Niu Ke exercise
- 12张图带你彻底搞懂服务限流、熔断、降级、雪崩
- 英特尔软硬优化,赋能东软加速智慧医疗时代到来
- [1153]mysql中between的边界范围
- 汉源高科8路HDMI综合多业务高清视频光端机8路HDMI视频+8路双向音频+8路485数据+8路E1+32路电话+4路千兆物理隔离网络
- 怎样做好一个创业公司CTO?
- Charging effect simulation
- 19.支持向量机-优化目标和大间距直观理解
- First acquaintance with C language -- array
- leetcode-952: Calculate max component size by common factor
猜你喜欢

The real CTO is a technical person who understands products

力扣刷题之有效的正方形(每日一题7/29)

934. 最短的桥

12 pictures take you to fully understand service current limit, circuit breaker, downgrade, and avalanche

Drools规则属性,高级语法

【Bank Series Phase 1】People's Bank of China

Real-time image acquisition based on FPGA

Path and the largest

Installation, start and stop of redis7 under Linux

MPPT solar charge controller data collection - through the gateway acquisition capacity battery SOC battery voltage, wi-fi
随机推荐
成为比开发硬气的测试人,我都经历了什么?
Observer mode (1)
MySQL stored procedure
Shell script to loop through values in log file to sum and calculate average, max and min
Manchester City confuses fans with smart scarf that detects emotions
General introduction to the Unity interface
The comprehensive result of the case statement, do you know it?[Verilog Advanced Tutorial]
ShardingJDBC使用总结
Nacos
AI software development process in medical imaging field
Are you still working hard on the limit of MySQL paging?
BAT卖不动「医疗云」:医院逃离、山头林立、行有行规
Coldfusion file read holes (CVE - 2010-2861)
Linux下redis7的安装,启动与停止
f.grid_sample
"Cloud native's master, master and vulgar skills" - 2022 National New College Entrance Examination Volume I Composition
The effective square of the test (one question of the day 7/29)
Software testing basic interface testing - getting started with Jmeter, you should pay attention to these things
力扣刷题之有效的正方形(每日一题7/29)
Can an inexperienced college graduate switch to software testing?my real case