walsgit/external-links-in-new-tab 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

walsgit/external-links-in-new-tab

最新稳定版本:2.0.0

Composer 安装命令:

composer require walsgit/external-links-in-new-tab

包简介

Opens all external links in a new tab

README 文档

README

License Latest Stable Version Total Downloads Donate here

A Flarum extension. Opens all external links in a new tab

Adds target="_blank" rel="noopener noreferrer" to every external link on the forum frontend (excluding the admin frontend). As of version 1.1.0, it no longer overrides existing rel attributes, but adds the noopener noreferrer if not found in them (Thanks to @clarkwinkelmann for pointing that out).

Versions

Starting with the version 2.0.0 of this extension, it will only be compatible with Flarum v2.*. Lastest version of the extension compatible with Flarum v1.8.* is walsgit/external-links-in-new-tab:"1.1.2".

Installation

Install with composer:

composer require walsgit/external-links-in-new-tab:"*"

Updating

composer update walsgit/external-links-in-new-tab:"*"
php flarum migrate
php flarum cache:clear

Links

统计信息

  • 总下载量: 2.62k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: TypeScript

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-11-16