wildbit/craft3-donottrack 问题修复 & 功能扩展

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

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

wildbit/craft3-donottrack

最新稳定版本:1.0.0

Composer 安装命令:

composer require wildbit/craft3-donottrack

包简介

Craft 3 plugin for respecting Do Not Track headers sent by browsers.

README 文档

README

Helpers for respecting Do Not Track headers sent by browsers.

Requirements

This plugin requires Craft CMS 3.0.0-beta.23 or later.

Get the Craft 2 version.

Installation

To install the plugin, follow these instructions.

  1. Open your terminal and go to your Craft project:

     cd /path/to/project
    
  2. Then tell Composer to load the plugin:

     composer require wildbit/craft3-donottrack
    
  3. In the Control Panel, go to Settings → Plugins and click the “Install” button for Do Not Track.

Using Do Not Track

You can use the doNotTrack.isEnabled variable to check whether DNT is enabled in the user’s browser from your twig templates.

{% if craft.doNotTrack.isEnabled %}
  Do Not Track is enabled.
{% endif %}

Brought to you by Wildbit

统计信息

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

GitHub 信息

  • Stars: 14
  • Watchers: 9
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2018-05-29

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固