-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated icon and plugin documentation.
- Loading branch information
Showing
7 changed files
with
34 additions
and
190 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
{"pluginName":"Do Not Track","pluginDescription":"Helpers for respecting Do Not Track headers sent by browsers.","pluginVersion":"1.0.0","pluginAuthorName":"Matt West","pluginAuthorUrl":"https://mattwest.io","pluginAuthorGithub":"matt-west","codeComments":"yes","pluginComponents":["services","variables"],"controllerName":"","elementName":"","fieldName":"","modelName":"","purchasableName":"","recordName":"","serviceName":"","taskName":"","widgetName":"","apiVersion":"api_version_2_5"} | ||
{"pluginName":"Do Not Track","pluginDescription":"Helpers for respecting Do Not Track headers sent by browsers.","pluginVersion":"1.0.0","pluginAuthorName":"Wildbit","pluginAuthorUrl":"https://wildbit.com","pluginAuthorGithub":"wildbit","codeComments":"yes","pluginComponents":["services","variables"],"controllerName":"","elementName":"","fieldName":"","modelName":"","purchasableName":"","recordName":"","serviceName":"","taskName":"","widgetName":"","apiVersion":"api_version_2_5"} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,37 +1,26 @@ | ||
# Do Not Track plugin for Craft CMS | ||
|
||
Helpers for respecting Do Not Track headers sent by browsers. | ||
Helpers for respecting [Do Not Track headers](https://allaboutdnt.com) sent by browsers. | ||
|
||
![Screenshot](resources/screenshots/plugin_logo.png) | ||
Brought to you by [Wildbit](https://wildbit.com) | ||
|
||
## Installation | ||
|
||
To install Do Not Track, follow these steps: | ||
|
||
1. Download & unzip the file and place the `donottrack` directory into your `craft/plugins` directory | ||
2. -OR- do a `git clone https://github.com/wildbit/craft-donottrack.git` directly into your `craft/plugins` folder. You can then update it with `git pull` | ||
3. -OR- install with Composer via `composer require wildbit/craft-donottrack` | ||
4. Install plugin in the Craft Control Panel under Settings > Plugins | ||
5. The plugin folder should be named `craft-donottrack` for Craft to see it. GitHub recently started appending `-master` (the branch name) to the name of the folder for zip file downloads. | ||
3. Install plugin in the Craft Control Panel under Settings > Plugins | ||
4. **The plugin folder should be named `donottrack` for Craft to see it.** GitHub recently started appending `-master` (the branch name) to the name of the folder for zip file downloads. | ||
|
||
Do Not Track works on Craft 2.4.x and Craft 2.5.x. | ||
|
||
## Do Not Track Overview | ||
|
||
-Insert text here- | ||
|
||
## Configuring Do Not Track | ||
|
||
-Insert text here- | ||
|
||
## Using Do Not Track | ||
|
||
-Insert text here- | ||
You can use the `doNotTrack.isEnabled` variable to check whether DNT is enabled in the user’s browser from your twig templates. | ||
|
||
## Do Not Track Roadmap | ||
|
||
Some things to do, and ideas for potential features: | ||
|
||
* Release it | ||
|
||
Brought to you by [Wildbit](https://wildbit.com) | ||
```twig | ||
{% if craft.doNotTrack.isEnabled %} | ||
Do Not Track is enabled. | ||
{% endif %} | ||
``` |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters