定制 colourbox-account/no-browser-support 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

colourbox-account/no-browser-support

Composer 安装命令:

composer require colourbox-account/no-browser-support

包简介

Show popup on not supported browsers about supported browsers

README 文档

README

Composer package - Show popup on not supported browsers about supported browsers

packagist.org

Install newest version

composer require colourbox-account/no-browser-support

Update to newest version

composer update colourbox-account/no-browser-support

Usage

NoBrowserSupport\PopUp::check('en');

Documentation

PopUp::check($language:String)

Checks the visitors web browser and version and, if not meets the requierement, than dispalys a popup with suggestion to newer web browser.

@param $language:String

The language of the popup content. Current supported languages:

  • en: English (Default)
  • da: German
  • de: Danish

The popup is displayed only on Microsoft Internet Explorer with version lower than 11

If the visitor closes the popup that reloads the current page with sb-no-browser-support-hide parameter in the url. This sets a cookie for 24 hours, in this time period the web browser requierement is ignored fot the whole domain.

Testing

To force the popup to be displayed add sb-no-browser-support-always-show parameter to the url.

To test in different web browsers and versions use browserstack.com.

Requirement

PHP: ^5.3.0 || ^7.0

This package requires no other composer packages

统计信息

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

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: Apache-2.0
  • 更新时间: 2018-10-23

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固