当前位置:网站首页>Always use "noopener" or "noreferrer" for links that open in a new tab
Always use "noopener" or "noreferrer" for links that open in a new tab
2022-08-01 23:07:00 【Ziwei front end】
`target="_blank"` attribute.However, if you don't know them, it can cause some problems.`window.opener` object of the `window` open page through the object.Suppose the new tab executes the following code:window.opener.location = 'http://fake.website.here';`rel="noopener"` to fix the problem.`rel="noreferrer"` attribute.Not only does it fix an issue where `noopener` does exist, but it also prevents `Referer` headers from being sent to new tabs.`noopener`.However, it is still recommended to add `rel="noopener"` or `rel="noreferrer"` to avoid security and performance issues in older browsers.边栏推荐
- bat 之 特殊字符&转义
- How to use pywinauto and pyautogui to link the anime lady and sister please go home
- IDEA常用插件
- Create virtual environments with virtualenv and Virtualenvwrapper virtual environment management tools
- A. Doremy‘s IQ-- Codeforces Round #808 (Div. 1)
- Chapter 19 Tips and Traps: Common Goofs for Novices
- xss相关知识点以及从 XSS Payload 学习浏览器解码
- 下载安装 vscode(含汉化、插件的推荐和安装)
- 解决yolov5训练时出现:“AssertionError: train: No labels in VOCData/dataSet_path/train.cache. Can not train ”
- SRv6 L3VPN的工作原理
猜你喜欢

关于ETL的两种架构(ETL架构和ELT架构)

APP专项测试:流量测试

小程序毕设作品之微信体育馆预约小程序毕业设计成品(2)小程序功能

数据分析04
Background project Express-Mysql-Vue3-TS-Pinia page layout-sidebar menu

Ten years after graduation, financial freedom: those things that are more important than hard work, no one will ever teach you

From 0 to 1: Design and R&D Notes of Graphic Voting Mini Program

Wechat Gymnasium Reservation Mini Program Graduation Design Finished Work Mini Program Graduation Design Finished Product (2) Mini Program Function

cmd指令

chrome复制一张图片的base64数据
随机推荐
B. Difference Array--Codeforces Round #808 (Div. 1)
(Translation) How the contrasting color of the button guides the user's actions
xctf attack and defense world web master advanced area webshell
用virtualenv和Virtualenvwrapper虚拟环境管理工具创建虚拟环境
别看了,这就是你的题呀
浅析多服务在分布式系统下多事务通信处理机制方案
论文理解【RL - Exp Replay】—— Experience Replay with Likelihood-free Importance Weights
excel remove all carriage return from a cell
CAKE:一个用于多视图知识图谱补全的可扩展性常识感知框架
excel remove all carriage return from a cell
Interpretation of the paper (GSAT) "Interpretable and Generalizable Graph Learning via Stochastic Attention Mechanism"
perspectiveTransform warpPerspective getPerspectiveTransform findHomography
03、GO语言变量定义、函数
Deep Learning Course2 Week 2 Optimization Algorithms Exercises
域名重定向工具 —— SwitchHosts 实用教程
qt-faststart 安装使用
深度学习Course2第一周Practical aspects of Deep Learning习题整理
npm npm
C语言——分支语句和循环语句
从0到1:图文投票小程序设计与研发笔记