eu_cookies 1.0.1 → 1.0.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a9bd1942444171419ab2c43b3c3edf49d2e3f965
4
- data.tar.gz: 75a846b6ece9ac7ea2a5f9917ecaa61e98375c62
3
+ metadata.gz: a07e5efc138e358c9844ff202c001e6b805d6644
4
+ data.tar.gz: 014ad93fa6a0c0e44f72102be82cec578186d33e
5
5
  SHA512:
6
- metadata.gz: 11224097d24acbf796265856a929a36231d23456585501b0215a949941c80f6fb2ff4f49ab6a1df6e331387e765f165989ee44259e80af45ed2db6a4b68ed56f
7
- data.tar.gz: b084afc988f98b4e5b54d7c89b510f295c34a31b17927b8df742920c94eb8f0a6ea65eb49d47c91741e9c238fa260c4b115c8acc7e2d642816cb383e94189d3f
6
+ metadata.gz: 95a1f4481ce27acc77d4954008f167c410e6892519cc0a6785c8c662233ed15c064a87081c7725d08520a2473b7619723f2c7619cdcb502545dae0979cbd1cb6
7
+ data.tar.gz: 8bbacb30c8033a8e403636b7f3ba54c774a068450df4ac0ff42828c56cb39ddb1adfa45cf5e63ea80b861acb07006a0d32e240244bd1f8bc68b373192b49becf
data/.travis.yml ADDED
@@ -0,0 +1,8 @@
1
+ language: ruby
2
+ rvm:
3
+ - 2.2.2
4
+ script: rspec
5
+ before_install:
6
+ - gem install bundler -v 1.10.2
7
+ - "export DISPLAY=:99.0"
8
+ - "sh -e /etc/init.d/xvfb start"
data/README.md CHANGED
@@ -1,11 +1,12 @@
1
1
  # EuCookies
2
2
 
3
- A complete Rails solution to the European Cookie Law issue.
3
+ A Rails solution to the European Cookie Law issue.
4
4
 
5
- ## Supported languages
5
+ This will add a dismissable "cookies bar" and a `/cookies-policy` page with the
6
+ long cookies policy text.
6
7
 
7
- English, German, Spanish, French, Croatian, Italian, Slovenian, Dutch, Estonian,
8
- Norwegian, Russian and Swedish.
8
+ [![Build Status](https://travis-ci.org/freego/eu_cookies.svg)](https://travis-ci.org/freego/eu_cookies)
9
+ [![Code Climate](https://codeclimate.com/github/freego/eu_cookies/badges/gpa.svg)](https://codeclimate.com/github/freego/eu_cookies)
9
10
 
10
11
  ## Installation
11
12
 
@@ -23,42 +24,43 @@ Run the installation generator:
23
24
 
24
25
  $ bundle exec rails g eu_cookies:install
25
26
 
26
- NOTE: This gem imply that you have a working JQuery installation.
27
-
28
- ## Usage
29
-
30
- Just add this on you application layout template:
27
+ Then, just add this somewhere on you `<body>`:
31
28
 
32
29
  ```erb
33
30
  <%= cookies_bar %>
34
31
  ```
35
32
 
36
- You can add a link parameter to link to your cookies explanation page (you have to create the page and controller for this)
37
-
38
- ```erb
39
- <%= cookies_bar link: '/cookies' %>
40
- ```
41
-
42
- To quickly customize the style you can override [Sass variables](https://github.com/freego/eu_cookies/blob/master/app/assets/stylesheets/eu_cookies/_variables.scss)
43
- on your `app/assets/stylesheets/eu_cookies.scss` file.
33
+ NOTE: This gem imply that you have JQuery.
44
34
 
45
35
  ## Configuration
46
36
 
47
- On a initializer you can configure some things (defaults are shown here):
37
+ On a initializer you can configure things (defaults are shown here):
48
38
 
49
39
  ```ruby
50
- EuCookies.position = :bottom # or :top
51
40
  EuCookies.use_scroll = false # true to treat page scroll as acceptance
52
- EuCookies.enabled = true # false to disable all the things
41
+ EuCookies.display_policy = true # false to remove link, a string to link an external policy
42
+ EuCookies.enabled = true # false to disable all the features
53
43
  ```
54
44
 
55
- ## Turbolinks is NOT supported
45
+ ## Styling
46
+
47
+ To quickly customize position and styles you can override some Sass variables,
48
+ take a look to your `app/assets/stylesheets/eu_cookies.scss` file.
49
+
50
+ ## Supported languages
51
+
52
+ The short cookies bar message is available in English, German, Spanish, French,
53
+ Croatian, Italian, Slovenian, Dutch, Estonian, Norwegian, Russian and Swedish.
54
+
55
+ ## Turbolinks
56
56
 
57
- Please use [jquery.turbolinks gem](https://github.com/kossnocorp/jquery.turbolinks)
57
+ Not supported, please use [jquery.turbolinks gem](https://github.com/kossnocorp/jquery.turbolinks).
58
58
 
59
59
  ## Contributing
60
60
 
61
- Bug reports and pull requests are welcome on GitHub at https://github.com/freego/eu_cookies. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](contributor-covenant.org) code of conduct.
61
+ Bug reports and pull requests are welcome. This project is intended to be a safe,
62
+ welcoming space for collaboration, and contributors are expected to adhere to the
63
+ [Contributor Covenant](contributor-covenant.org) code of conduct.
62
64
 
63
65
  ## Credits
64
66
 
@@ -1,7 +1,8 @@
1
- $cookies-bar-background-color: #f2f2f2 !default;
2
- $cookies-bar-border-color: #e4e4e4 !default;
3
- $cookies-bar-button-color: #4d90fe !default;
4
- $cookies-bar-button-color2: #4787ed !default;
5
- $cookies-bar-button-border-color: #3079ed !default;
1
+ $cookies-bar-position: bottom !default; // or top
2
+ $cookies-bar-background-color: #f2f2f2 !default;
3
+ $cookies-bar-border-color: #e4e4e4 !default;
4
+ $cookies-bar-btn-color: #4d90fe !default;
5
+ $cookies-bar-btn-color2: #4787ed !default;
6
+ $cookies-bar-btn-border-color: #3079ed !default;
6
7
 
7
- $cookies-bar-line-height: 40px !default;
8
+ $cookies-bar-line-height: 40px !default;
@@ -1,16 +1,9 @@
1
1
  @import "eu_cookies/variables";
2
2
 
3
- .eu-cookies[data-position="bottom"] {
4
- bottom: 0;
5
- }
6
-
7
- .eu-cookies[data-position="top"] {
8
- top: 0;
9
- }
10
-
11
3
  .eu-cookies {
12
4
  position: fixed;
13
5
  left: 0;
6
+ #{$cookies-bar-position}: 0;
14
7
  line-height: $cookies-bar-line-height;
15
8
  background: $cookies-bar-background-color;
16
9
  border-top: 1px solid $cookies-bar-border-color;
@@ -28,9 +21,9 @@
28
21
  padding-right: 20px;
29
22
 
30
23
  .eu-cookies-ok {
31
- background-color: $cookies-bar-button-color;
32
- background-image: -webkit-linear-gradient(top, $cookies-bar-button-color, $cookies-bar-button-color2);
33
- border: 1px solid $cookies-bar-button-border-color;
24
+ background-color: $cookies-bar-btn-color;
25
+ background-image: -webkit-linear-gradient(top, $cookies-bar-btn-color, $cookies-bar-btn-color2);
26
+ border: 1px solid $cookies-bar-btn-border-color;
34
27
  border-radius: 2px;
35
28
  color: #fff;
36
29
  cursor: default;
@@ -0,0 +1,4 @@
1
+ class EuCookiesController < ::ApplicationController
2
+ def policy
3
+ end
4
+ end
@@ -11,8 +11,15 @@ module EuCookiesHelper
11
11
 
12
12
  def cookies_bar_data
13
13
  {
14
- position: EuCookies.position,
15
14
  use_scroll: EuCookies.use_scroll.to_s
16
15
  }
17
16
  end
17
+
18
+ def display_cookies_policy?
19
+ EuCookies.display_policy
20
+ end
21
+
22
+ def cookies_policy_link
23
+ EuCookies.display_policy == true ? cookies_policy_path : EuCookies.display_policy
24
+ end
18
25
  end
@@ -6,8 +6,8 @@
6
6
  <button class="eu-cookies-ok">
7
7
  <%= t('eu_cookies.ok') %>
8
8
  </button>
9
- <% if link = local_assigns[:link].presence %>
10
- <%= link_to t('eu_cookies.learn_more'), link, class: 'eu-cookies-link' %>
11
- <% end %>
9
+
10
+ <%= link_to t('eu_cookies.learn_more'), cookies_policy_link,
11
+ class: 'eu-cookies-link', target: "_blank" if display_cookies_policy? %>
12
12
  </span>
13
13
  <% end %>
@@ -0,0 +1,77 @@
1
+ <h2>COOKIES</h2>
2
+
3
+ <p>Cookies are small text files which are downloaded to your computer, tablet or mobile phone when you visit a website or application. The website or application may retrieve these cookies from your web browser (eg Internet Explorer, Mozilla Firefox or Google Chrome) each time you visit, so they can recognise you, remember your preferences and provide you with a more secure online experience.</p>
4
+ <p>Generally, cookies are very useful and are a common method used by almost every website you visit because they help to make your online experience as smooth as possible. For security reasons, many websites will not function at all without the use of cookies (or other similar technologies, such as "web beacons" or "tags").</p>
5
+ <p>Cookies generally do not hold any information to identify an individual person, but are instead used to identify a browser on an individual machine.</p>
6
+ <p>If you prefer, you can restrict, block or delete cookies by changing your browser settings but that may mean that the website won't work properly</p>
7
+ <p>For more information about cookies and their impact on you and your browsing visit #{link_to 'http://www.aboutcookies.org', 'www.aboutcookies.org'}.</p>
8
+
9
+ <h2>TYPES OF COOKIES</h2>
10
+
11
+ <h3>Necessary cookies</h3>
12
+ <p>These cookies are essential in helping you to make use of the features and services we offer on the #{INSERT SITE HERE} website. Without these cookies, the services you want to use cannot be provided. These cookies do not gather information about you that could be used to identify you, and they do not monitor or remember where you have been on the internet.</p>
13
+ <h3>Functional cookies</h3>
14
+ <p>These cookies allow us to provide you with a better online experience when you use our website. They do not gather or store any information which would allow us to identify you personally.</p>
15
+ <h3>Performance cookies</h3>
16
+ <p>Performance cookies help us to understand how our customers use our site, so we can keep our products and services relevant, easy to use and up to date. For example, we can see which products and services are most popular, identify when and where errors occur, and test different versions of a page in order to provide an improved online experience.</p>
17
+ <p>Sometimes, the services we use to collect this information may be operated by other companies on our behalf. They may use similar technologies to cookies, known as "web beacons" or "tags". These are anonymous and, as they are only used for statistical purposes, they do not contain or collect any information that identifies you.</p>
18
+ <h3>Targeting cookies</h3>
19
+ <p>We have relationships with carefully selected and monitored suppliers (third parties) who may also set cookies during your visit. The purpose of these cookies is "behavioural advertising" (also known as "behavioural targeting" or "remarketing"), which is a means of showing you relevant products and services based on what you appear to be interested in. Although these cookies can track your visits around the web they don't know who you are. Without these cookies, online advertisements you encounter will be less relevant to you and your interests.</p>
20
+
21
+ <h2>MANAGING COOKIES</h2>
22
+
23
+ <p>Most internet browsers allow you to erase cookies from your computer hard drive, block all cookies (or just third-party cookies) or warn you before a cookie is stored on your device.</p>
24
+ <p>Please note, if you choose to block all cookies, our site will not function as intended and you will not be able to use or access many of the services we provide. If you have blocked all cookies and wish to make full use of the features and services we offer, you will need to enable your cookies. You can do this in your browser (see below).</p>
25
+ <p>Rather than blocking all cookies, you can choose to only block third-party cookies which will still allow our website to function as intended.</p>
26
+ <h3>How to manage cookies on your PC</h3>
27
+ <p>To enable cookies on our website, follow the steps below.</p>
28
+ <h4>Google Chrome</h4>
29
+ <ol>
30
+ <li>Click "Tools" at the top of your browser and select "Settings".</li>
31
+ <li>Click "Show advanced settings", scroll down to the section "Privacy" and click "Content Settings."</li>
32
+ <li>Select "Allow local data to be set". To only acept first-party cookies, check the box next to "Block all third-party cookies without exception"</li>
33
+ </ol>
34
+ <h4>Microsoft Internet Explorer 6.0, 7.0, 8.0, 9.0</h4>
35
+ <ol>
36
+ <li>Click "Tools" at the top of your browser and select "Internet Options", then click the "Privacy" tab.</li>
37
+ <li>Check that the level of your privacy is set to Medium or lower, which will allow the use of cookies in your browser.</li>
38
+ <li>If set above medium level it will prevent the use of cookies.</li>
39
+ </ol>
40
+ <h4>Mozilla Firefox</h4>
41
+ <ol>
42
+ <li>Click "Tools" at the top of your browser and select "Options".</li>
43
+ <li>Then select the "Privacy" icon.</li>
44
+ <li>Click the "Cookies" and select "Allow pages to create a cookie."</li>
45
+ </ol>
46
+ <h4>Safari</h4>
47
+ <ol>
48
+ <li>Click the gear icon at the top of your browser and select "Settings".</li>
49
+ <li>Click the "Privacy" tab, then select the option "Disable the use of cookies by third parties and advertising cookies."</li>
50
+ <li>Click "Save".</li>
51
+ </ol>
52
+ <h3>How to manage cookies on your Mac</h3>
53
+ <p>To enable cookies on our website, follow the steps below.</p>
54
+ <h4>Microsoft Internet Explorer 5.0 on OSX</h4>
55
+ <ol>
56
+ <li>Click on "Explorer" at the top of your browser and select "Settings".</li>
57
+ <li>Scroll down to the "Cookies" section in the "Received Files".</li>
58
+ <li>Select "Do not ask."</li>
59
+ </ol>
60
+ <h4>Safari on OSX</h4>
61
+ <ol>
62
+ <li>Click "Safari" on the top of your browser and select "Settings".</li>
63
+ <li>Click the "Privacy" and then "Enable cookies."</li>
64
+ <li>Select "only the pages you have visited."</li>
65
+ </ol>
66
+ <h4>Mozilla and Netscape on OSX</h4>
67
+ <ol>
68
+ <li>Click "Mozilla" or "Netscape" at the top of your browser and select "Settings".</li>
69
+ <li>Scroll down to the "Cookies" under "Privacy & Security".</li>
70
+ <li>Select "Allow cookies only to the original site."</li>
71
+ </ol>
72
+ <h4>Opera</h4>
73
+ <ol>
74
+ <li>Click "Menu" on the top of your browser and select "Settings".</li>
75
+ <li>Then select "Options" tab and the "Advanced".</li>
76
+ <li>Select "Enable cookies."</li>
77
+ </ol>
@@ -0,0 +1,2 @@
1
+ <%# try to load the correct language %>
2
+ <%= render "eu_cookies/policy/text" rescue render "eu_cookies/policy/text.en" %>
data/config/routes.rb ADDED
@@ -0,0 +1,5 @@
1
+ Rails.application.routes.draw do
2
+ get "cookies-policy", to: "eu_cookies#policy", constraints: ->(_) {
3
+ EuCookies.enabled && EuCookies.display_policy == true
4
+ }
5
+ end
data/eu_cookies.gemspec CHANGED
@@ -9,7 +9,7 @@ Gem::Specification.new do |spec|
9
9
  spec.authors = ["Alessandro Lepore", "Stjepan Hadjic"]
10
10
  spec.email = ["a.lepore@freegoweb.it"]
11
11
 
12
- spec.summary = %q{A complete Rails solution to the European Cookie Law issue}
12
+ spec.summary = %q{A Rails solution to the European Cookie Law issue}
13
13
  spec.description = spec.summary
14
14
  spec.homepage = "https://github.com/freego/eu_cookies"
15
15
  spec.license = "MIT"
@@ -20,6 +20,7 @@ Gem::Specification.new do |spec|
20
20
  spec.require_paths = ["lib"]
21
21
 
22
22
  spec.add_runtime_dependency "railties", ">= 3.1"
23
+ spec.add_runtime_dependency "sass-rails"
23
24
  spec.add_runtime_dependency "js_cookie_rails", "~> 1.0"
24
25
 
25
26
  spec.add_development_dependency "bundler", "~> 1.3"
@@ -31,5 +32,4 @@ Gem::Specification.new do |spec|
31
32
  spec.add_development_dependency "actionview", "~> 4.2"
32
33
  spec.add_development_dependency "sprockets-rails", "~> 2.3"
33
34
  spec.add_development_dependency "selenium-webdriver", "~> 2.45"
34
- spec.add_development_dependency "sass-rails", "~> 5.0"
35
35
  end
@@ -1,9 +1,10 @@
1
1
  module EuCookies
2
2
  class Engine < ::Rails::Engine
3
- initializer 'eu_cookies.environment' do |app|
3
+ initializer 'eu_cookies.config' do |app|
4
+ # defaults
4
5
  EuCookies.enabled = true if EuCookies.enabled.nil?
5
- EuCookies.position ||= :bottom
6
6
  EuCookies.use_scroll ||= false
7
+ EuCookies.display_policy = true if EuCookies.display_policy.nil?
7
8
  end
8
9
  end
9
10
  end
@@ -1,3 +1,3 @@
1
1
  module EuCookies
2
- VERSION = "1.0.1"
2
+ VERSION = "1.0.2"
3
3
  end
data/lib/eu_cookies.rb CHANGED
@@ -6,4 +6,5 @@ module EuCookies
6
6
  mattr_accessor :enabled
7
7
  mattr_accessor :position
8
8
  mattr_accessor :use_scroll
9
+ mattr_accessor :display_policy
9
10
  end
@@ -1,7 +1,13 @@
1
- // You can override Sass variables here. For variables list see:
2
- // See https://github.com/freego/eu_cookies/blob/master/app/assets/stylesheets/eu_cookies/_variables.scss
1
+ // You can override Sass variables here.
3
2
 
4
- // $cookies-bar-background-color: red;
3
+ // $cookies-bar-position: bottom; // or top
4
+ // $cookies-bar-background-color: #f2f2f2;
5
+ // $cookies-bar-border-color: #e4e4e4;
6
+ // $cookies-bar-btn-color: #4d90fe;
7
+ // $cookies-bar-btn-color2: #4787ed;
8
+ // $cookies-bar-btn-border-color: #3079ed;
9
+
10
+ // $cookies-bar-line-height: 40px;
5
11
 
6
12
  // keep this on the last line
7
13
  @import "eu_cookies/style";
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: eu_cookies
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alessandro Lepore
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2015-06-07 00:00:00.000000000 Z
12
+ date: 2015-07-01 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: railties
@@ -25,6 +25,20 @@ dependencies:
25
25
  - - ">="
26
26
  - !ruby/object:Gem::Version
27
27
  version: '3.1'
28
+ - !ruby/object:Gem::Dependency
29
+ name: sass-rails
30
+ requirement: !ruby/object:Gem::Requirement
31
+ requirements:
32
+ - - ">="
33
+ - !ruby/object:Gem::Version
34
+ version: '0'
35
+ type: :runtime
36
+ prerelease: false
37
+ version_requirements: !ruby/object:Gem::Requirement
38
+ requirements:
39
+ - - ">="
40
+ - !ruby/object:Gem::Version
41
+ version: '0'
28
42
  - !ruby/object:Gem::Dependency
29
43
  name: js_cookie_rails
30
44
  requirement: !ruby/object:Gem::Requirement
@@ -165,21 +179,7 @@ dependencies:
165
179
  - - "~>"
166
180
  - !ruby/object:Gem::Version
167
181
  version: '2.45'
168
- - !ruby/object:Gem::Dependency
169
- name: sass-rails
170
- requirement: !ruby/object:Gem::Requirement
171
- requirements:
172
- - - "~>"
173
- - !ruby/object:Gem::Version
174
- version: '5.0'
175
- type: :development
176
- prerelease: false
177
- version_requirements: !ruby/object:Gem::Requirement
178
- requirements:
179
- - - "~>"
180
- - !ruby/object:Gem::Version
181
- version: '5.0'
182
- description: A complete Rails solution to the European Cookie Law issue
182
+ description: A Rails solution to the European Cookie Law issue
183
183
  email:
184
184
  - a.lepore@freegoweb.it
185
185
  executables: []
@@ -188,6 +188,7 @@ extra_rdoc_files: []
188
188
  files:
189
189
  - ".gitignore"
190
190
  - ".rspec"
191
+ - ".travis.yml"
191
192
  - Gemfile
192
193
  - LICENSE.txt
193
194
  - README.md
@@ -195,9 +196,11 @@ files:
195
196
  - app/assets/javascripts/eu_cookies.js
196
197
  - app/assets/stylesheets/eu_cookies/_variables.scss
197
198
  - app/assets/stylesheets/eu_cookies/style.css.scss
199
+ - app/controllers/eu_cookies_controller.rb
198
200
  - app/helpers/eu_cookies_helper.rb
199
201
  - app/views/eu_cookies/_cookies_bar.html.erb
200
- - app/views/eu_cookies/cookies_info.html.haml
202
+ - app/views/eu_cookies/policy.html.erb
203
+ - app/views/eu_cookies/policy/_text.en.html.erb
201
204
  - config.ru
202
205
  - config/locales/de.yml
203
206
  - config/locales/ee.yml
@@ -211,6 +214,7 @@ files:
211
214
  - config/locales/ru.yml
212
215
  - config/locales/se.yml
213
216
  - config/locales/sl.yml
217
+ - config/routes.rb
214
218
  - eu_cookies.gemspec
215
219
  - lib/eu_cookies.rb
216
220
  - lib/eu_cookies/engine.rb
@@ -240,5 +244,5 @@ rubyforge_project:
240
244
  rubygems_version: 2.4.6
241
245
  signing_key:
242
246
  specification_version: 4
243
- summary: A complete Rails solution to the European Cookie Law issue
247
+ summary: A Rails solution to the European Cookie Law issue
244
248
  test_files: []
@@ -1,105 +0,0 @@
1
- %h2 COOKIES
2
-
3
- %p Cookies are small text files which are downloaded to your computer, tablet or mobile phone when you visit a website or application. The website or application may retrieve these cookies from your web browser (eg Internet Explorer, Mozilla Firefox or Google Chrome) each time you visit, so they can recognise you, remember your preferences and provide you with a more secure online experience.
4
-
5
- %p Generally, cookies are very useful and are a common method used by almost every website you visit because they help to make your online experience as smooth as possible. For security reasons, many websites will not function at all without the use of cookies (or other similar technologies, such as "web beacons" or "tags").
6
-
7
- %p Cookies generally do not hold any information to identify an individual person, but are instead used to identify a browser on an individual machine.
8
-
9
- %p If you prefer, you can restrict, block or delete cookies by changing your browser settings but that may mean that the website won't work properly
10
-
11
- %p For more information about cookies and their impact on you and your browsing visit #{link_to 'http://www.aboutcookies.org', 'www.aboutcookies.org'}.
12
-
13
-
14
- %h2 TYPES OF COOKIES
15
-
16
- %h3 Necessary cookies
17
-
18
- %p These cookies are essential in helping you to make use of the features and services we offer on the #{INSERT SITE HERE} website. Without these cookies, the services you want to use cannot be provided. These cookies do not gather information about you that could be used to identify you, and they do not monitor or remember where you have been on the internet.
19
-
20
- %h3 Functional cookies
21
-
22
- %p These cookies allow us to provide you with a better online experience when you use our website. They do not gather or store any information which would allow us to identify you personally.
23
-
24
- %h3 Performance cookies
25
-
26
- %p Performance cookies help us to understand how our customers use our site, so we can keep our products and services relevant, easy to use and up to date. For example, we can see which products and services are most popular, identify when and where errors occur, and test different versions of a page in order to provide an improved online experience.
27
-
28
- %p Sometimes, the services we use to collect this information may be operated by other companies on our behalf. They may use similar technologies to cookies, known as "web beacons" or "tags". These are anonymous and, as they are only used for statistical purposes, they do not contain or collect any information that identifies you.
29
-
30
- %h3 Targeting cookies
31
-
32
- %p We have relationships with carefully selected and monitored suppliers (third parties) who may also set cookies during your visit. The purpose of these cookies is "behavioural advertising" (also known as "behavioural targeting" or "remarketing"), which is a means of showing you relevant products and services based on what you appear to be interested in. Although these cookies can track your visits around the web they don't know who you are. Without these cookies, online advertisements you encounter will be less relevant to you and your interests.
33
-
34
-
35
- %h2 MANAGING COOKIES
36
-
37
- %p Most internet browsers allow you to erase cookies from your computer hard drive, block all cookies (or just third-party cookies) or warn you before a cookie is stored on your device.
38
-
39
- %p Please note, if you choose to block all cookies, our site will not function as intended and you will not be able to use or access many of the services we provide. If you have blocked all cookies and wish to make full use of the features and services we offer, you will need to enable your cookies. You can do this in your browser (see below).
40
-
41
- %p Rather than blocking all cookies, you can choose to only block third-party cookies which will still allow our website to function as intended.
42
-
43
- %h3 How to manage cookies on your PC
44
-
45
- %p To enable cookies on our website, follow the steps below.
46
-
47
- %h4 Google Chrome
48
-
49
- %ol
50
- %li Click "Tools" at the top of your browser and select "Settings".
51
- %li Click "Show advanced settings", scroll down to the section "Privacy" and click "Content Settings."
52
- %li Select "Allow local data to be set". To only acept first-party cookies, check the box next to "Block all third-party cookies without exception"
53
-
54
- %h4 Microsoft Internet Explorer 6.0, 7.0, 8.0, 9.0
55
-
56
- %ol
57
- %li Click "Tools" at the top of your browser and select "Internet Options", then click the "Privacy" tab.
58
- %li Check that the level of your privacy is set to Medium or lower, which will allow the use of cookies in your browser.
59
- %li If set above medium level it will prevent the use of cookies.
60
-
61
- %h4 Mozilla Firefox
62
-
63
- %ol
64
- %li Click "Tools" at the top of your browser and select "Options".
65
- %li Then select the "Privacy" icon.
66
- %li Click the "Cookies" and select "Allow pages to create a cookie."
67
-
68
- %h4 Safari
69
-
70
- %ol
71
- %li Click the gear icon at the top of your browser and select "Settings".
72
- %li Click the "Privacy" tab, then select the option "Disable the use of cookies by third parties and advertising cookies."
73
- %li Click "Save".
74
-
75
- %h3 How to manage cookies on your Mac
76
-
77
- %p To enable cookies on our website, follow the steps below.
78
-
79
- %h4 Microsoft Internet Explorer 5.0 on OSX
80
-
81
- %ol
82
- %li Click on "Explorer" at the top of your browser and select "Settings".
83
- %li Scroll down to the "Cookies" section in the "Received Files".
84
- %li Select "Do not ask."
85
-
86
- %h4 Safari on OSX
87
-
88
- %ol
89
- %li Click "Safari" on the top of your browser and select "Settings".
90
- %li Click the "Privacy" and then "Enable cookies."
91
- %li Select "only the pages you have visited."
92
-
93
- %h4 Mozilla and Netscape on OSX
94
-
95
- %ol
96
- %li Click "Mozilla" or "Netscape" at the top of your browser and select "Settings".
97
- %li Scroll down to the "Cookies" under "Privacy & Security".
98
- %li Select "Allow cookies only to the original site."
99
-
100
- %h4 Opera
101
-
102
- %ol
103
- %li Click "Menu" on the top of your browser and select "Settings".
104
- %li Then select "Options" tab and the "Advanced".
105
- %li Select "Enable cookies."