j1-template 2022.0.9 → 2022.0.13
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_includes/themes/j1/modules/ads/google_ad_content_home.html +11 -0
- data/_includes/themes/j1/modules/ads/google_ad_top_home.html +11 -0
- data/apps/public/cc/index.adoc +0 -1
- data/assets/data/article_navigator/index.html +0 -1
- data/assets/data/news_panel_posts/index.html +0 -1
- data/assets/error_pages/HTTP445.html +5 -4
- data/assets/error_pages/HTTP446.html +2 -2
- data/assets/error_pages/HTTP447.html +110 -0
- data/assets/error_pages/HTTP448.html +111 -0
- data/assets/themes/j1/adapter/js/advertising.js +442 -0
- data/assets/themes/j1/adapter/js/algolia.js +10 -13
- data/assets/themes/j1/adapter/js/analytics.js +259 -0
- data/assets/themes/j1/adapter/js/asciidoctor.js +10 -13
- data/assets/themes/j1/adapter/js/attic.js +10 -5
- data/assets/themes/j1/adapter/js/bmd.js +10 -14
- data/assets/themes/j1/adapter/js/carousel.js +10 -13
- data/assets/themes/j1/adapter/js/clipboard.js +9 -10
- data/assets/themes/j1/adapter/js/comments.js +407 -0
- data/assets/themes/j1/adapter/js/cookieConsent.js +107 -84
- data/assets/themes/j1/adapter/js/fab.js +11 -11
- data/assets/themes/j1/adapter/js/framer.js +59 -64
- data/assets/themes/j1/adapter/js/j1.js +203 -258
- data/assets/themes/j1/adapter/js/justifiedGallery.js +12 -14
- data/assets/themes/j1/adapter/js/justifiedGalleryCustomizer.js +10 -13
- data/assets/themes/j1/adapter/js/lightbox.js +12 -9
- data/assets/themes/j1/adapter/js/logger.js +11 -5
- data/assets/themes/j1/adapter/js/mmenu.js +11 -12
- data/assets/themes/j1/adapter/js/navigator.js +13 -12
- data/assets/themes/j1/adapter/js/quicksearch.js +10 -13
- data/assets/themes/j1/adapter/js/rouge.js +11 -14
- data/assets/themes/j1/adapter/js/rtable.js +10 -13
- data/assets/themes/j1/adapter/js/rtextResizer.js +10 -13
- data/assets/themes/j1/adapter/js/scroller.js +14 -12
- data/assets/themes/j1/adapter/js/themer.js +12 -3
- data/assets/themes/j1/adapter/js/toccer.js +10 -13
- data/assets/themes/j1/adapter/js/translator.js +50 -96
- data/assets/themes/j1/core/css/themes/unolight/bootstrap.css +6 -0
- data/assets/themes/j1/core/css/themes/unolight/bootstrap.min.css +1 -1
- data/assets/themes/j1/core/js/template.js +13 -5
- data/assets/themes/j1/core/js/template.min.js +1 -1
- data/assets/themes/j1/core/js/template.min.js.map +1 -1
- data/assets/themes/j1/modules/advertising/js/google/adInitializer.js +127 -0
- data/assets/themes/j1/modules/cookieConsent/js/cookieConsent.js +11 -2
- data/assets/themes/j1/modules/cookieConsent/js/cookieConsent.min.js +1 -1
- data/assets/themes/j1/modules/deeplAPI/js/deeplAPI.2.js +1 -1
- data/assets/themes/j1/modules/deeplAPI/js/deeplAPI.js +1 -1
- data/assets/themes/j1/modules/scroller/js/scroller.js +1 -1
- data/lib/j1/version.rb +1 -1
- data/lib/starter_web/Gemfile +1 -1
- data/lib/starter_web/_config.yml +1 -13
- data/lib/starter_web/_data/apps/carousel.yml +2 -2
- data/lib/starter_web/_data/apps/defaults/carousel.yml +3 -2
- data/lib/starter_web/_data/apps/defaults/justifiedGallery.yml +2 -2
- data/lib/starter_web/_data/apps/defaults/justifiedGalleryCustomizer.yml +2 -2
- data/lib/starter_web/_data/apps/defaults/lightGallery.yml +2 -2
- data/lib/starter_web/_data/apps/defaults/lightbox.yml +2 -2
- data/lib/starter_web/_data/apps/justifiedGallery.yml +2 -2
- data/lib/starter_web/_data/apps/justifiedGalleryCustomizer.yml +2 -2
- data/lib/starter_web/_data/apps/lightGallery.yml +2 -2
- data/lib/starter_web/_data/apps/lightbox.yml +2 -2
- data/lib/starter_web/_data/blocks/banner.yml +3 -2
- data/lib/starter_web/_data/blocks/defaults/banner.yml +9 -0
- data/lib/starter_web/_data/blocks/defaults/footer.yml +9 -0
- data/lib/starter_web/_data/blocks/defaults/panel.yml +9 -0
- data/lib/starter_web/_data/blocks/footer.yml +3 -2
- data/lib/starter_web/_data/blocks/panel.yml +3 -2
- data/lib/starter_web/_data/builder/blog_navigator.yml +3 -2
- data/lib/starter_web/_data/builder/defaults/blog_navigator.yml +8 -8
- data/lib/starter_web/_data/j1_config.yml +0 -116
- data/lib/starter_web/_data/layouts/default.yml +21 -21
- data/lib/starter_web/_data/layouts/home.ads.yml +262 -0
- data/lib/starter_web/_data/layouts/home.no-ads.yml +262 -0
- data/lib/starter_web/_data/layouts/home.yml +24 -0
- data/lib/starter_web/_data/layouts/page.yml +7 -18
- data/lib/starter_web/_data/layouts/post.yml +0 -11
- data/lib/starter_web/_data/modules/advertising.yml +139 -12
- data/lib/starter_web/_data/modules/analytics.yml +99 -0
- data/lib/starter_web/_data/modules/attics.yml +3 -2
- data/lib/starter_web/_data/modules/comments.yml +55 -0
- data/lib/starter_web/_data/modules/cookieconsent.yml +2 -1
- data/lib/starter_web/_data/modules/cookies.yml +1 -1
- data/lib/starter_web/_data/modules/defaults/advertising.yml +105 -0
- data/lib/starter_web/_data/modules/defaults/analytics.yml +93 -0
- data/lib/starter_web/_data/modules/defaults/attics.yml +3 -2
- data/lib/starter_web/_data/modules/defaults/authentication.yml +51 -48
- data/lib/starter_web/_data/modules/defaults/comments.yml +114 -0
- data/lib/starter_web/_data/modules/defaults/cookieconsent.yml +3 -3
- data/lib/starter_web/_data/modules/defaults/cookies.yml +105 -26
- data/lib/starter_web/_data/modules/defaults/fab.yml +4 -2
- data/lib/starter_web/_data/modules/defaults/framer.yml +2 -3
- data/lib/starter_web/_data/modules/defaults/log4javascript.yml +3 -2
- data/lib/starter_web/_data/modules/defaults/log4r.yml +2 -2
- data/lib/starter_web/_data/modules/defaults/navigator.yml +4 -2
- data/lib/starter_web/_data/modules/defaults/quicksearch.yml +4 -3
- data/lib/starter_web/_data/modules/defaults/rtable.yml +3 -2
- data/lib/starter_web/_data/modules/defaults/scoller.yml +3 -2
- data/lib/starter_web/_data/modules/defaults/themer.yml +119 -118
- data/lib/starter_web/_data/modules/defaults/toccer.yml +1 -1
- data/lib/starter_web/_data/modules/defaults/translator.yml +1 -1
- data/lib/starter_web/_data/modules/fab.yml +3 -2
- data/lib/starter_web/_data/modules/framer.yml +3 -4
- data/lib/starter_web/_data/modules/log4r.yml +2 -2
- data/lib/starter_web/_data/modules/navigator.yml +4 -2
- data/lib/starter_web/_data/modules/quicksearch.yml +3 -3
- data/lib/starter_web/_data/modules/rtable.yml +3 -3
- data/lib/starter_web/_data/modules/scroller.yml +2 -3
- data/lib/starter_web/_data/modules/themer.yml +2 -3
- data/lib/starter_web/_data/modules/toccer.yml +3 -3
- data/lib/starter_web/_data/modules/translator.yml +1 -1
- data/lib/starter_web/_data/plugins/defaults/paginator.yml +2 -2
- data/lib/starter_web/_data/plugins/paginator.yml +2 -2
- data/lib/starter_web/_data/resources.yml +447 -290
- data/lib/starter_web/_includes/attributes.asciidoc +1 -1
- data/lib/starter_web/_includes/themes/j1/modules/ads/google_ad_content_home.html +11 -0
- data/lib/starter_web/_includes/themes/j1/modules/ads/google_ad_top_home.html +11 -0
- data/lib/starter_web/_plugins/lunr_index.rb +1 -1
- data/lib/starter_web/collections/posts/public/featured/_posts/0000-00-00-welcome-to-j1.adoc.erb +1 -1
- data/lib/starter_web/collections/posts/public/featured/_posts/2021-01-01-about-cookies.adoc +1 -1
- data/lib/starter_web/collections/posts/public/featured/_posts/2021-01-01-about-cookies.ads.asciidoc +196 -0
- data/lib/starter_web/collections/posts/public/featured/_posts/2021-01-01-about-cookies.comments.asciidoc +182 -0
- data/lib/starter_web/collections/posts/public/featured/_posts/2021-02-01-site-generators.adoc +1 -1
- data/lib/starter_web/collections/posts/public/featured/_posts/2021-03-03-about-j1.adoc +1 -1
- data/lib/starter_web/collections/posts/public/series/_posts/2020-01-01-post-wiki-series.adoc +1 -1
- data/lib/starter_web/collections/posts/public/series/_posts/2020-01-02-post-wiki-series.adoc +1 -1
- data/lib/starter_web/collections/posts/public/series/_posts/2020-01-03-post-wiki-series.adoc +1 -1
- data/lib/starter_web/index.html +0 -4
- data/lib/starter_web/package.json +1 -1
- data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/documentation.adoc +0 -1
- data/lib/starter_web/pages/public/asciidoc_skeletons/multi-document/multi.adoc +0 -1
- data/lib/starter_web/pages/public/asciidoc_skeletons/simple-document/simple.adoc +0 -1
- data/lib/starter_web/pages/public/blog/navigator/archive/categoryview.html +0 -1
- data/lib/starter_web/pages/public/blog/navigator/archive/dateview.html +0 -1
- data/lib/starter_web/pages/public/blog/navigator/archive/tagview.html +0 -1
- data/lib/starter_web/pages/public/blog/navigator/archive.html +0 -1
- data/lib/starter_web/pages/public/blog/navigator/index.html +0 -1
- data/lib/starter_web/pages/public/learn/roundtrip/100_present_images.adoc +4 -3
- data/lib/starter_web/pages/public/learn/roundtrip/100_present_images.ads.asciidoc +265 -0
- data/lib/starter_web/pages/public/learn/roundtrip/100_present_images.base.asciidoc +237 -0
- data/lib/starter_web/pages/public/learn/roundtrip/100_present_images.comments.asciidoc +237 -0
- data/lib/starter_web/pages/public/learn/roundtrip/100_present_videos.adoc +62 -0
- data/lib/starter_web/pages/public/learn/roundtrip/_includes/google-ad.js +130 -0
- data/lib/starter_web/pages/public/legal/en/100_copyright.adoc +0 -1
- data/lib/starter_web/pages/public/legal/en/200_impress.adoc +0 -1
- data/lib/starter_web/pages/public/legal/en/400_comment_policy.adoc +0 -1
- data/lib/starter_web/pages/public/manuals/dropdown-help.adoc +23 -2
- data/lib/starter_web/pages/public/previewer/preview_bootstrap_theme.adoc +100 -166
- data/lib/starter_web/utilsrv/_defaults/package.json +1 -1
- data/lib/starter_web/utilsrv/package.json +1 -1
- metadata +25 -70
- data/_includes/themes/j1/blocks/ads/ad.html +0 -64
- data/_includes/themes/j1/modules/boards/news_pin_board.html +0 -183
- data/_includes/themes/j1/modules/connectors/ad/custom-provider.html +0 -30
- data/_includes/themes/j1/modules/connectors/ad/google-adsense.html +0 -62
- data/_includes/themes/j1/modules/connectors/ads +0 -56
- data/_includes/themes/j1/modules/connectors/analytic/custom-provider.html +0 -32
- data/_includes/themes/j1/modules/connectors/analytic/google-analytics.html +0 -30
- data/_includes/themes/j1/modules/connectors/analytics +0 -60
- data/_includes/themes/j1/modules/connectors/comment/commento.html +0 -31
- data/_includes/themes/j1/modules/connectors/comment/custom-provider.html +0 -30
- data/_includes/themes/j1/modules/connectors/comment/disqus.html +0 -32
- data/_includes/themes/j1/modules/connectors/comment/facebook.html +0 -30
- data/_includes/themes/j1/modules/connectors/comment/hyvor.html +0 -32
- data/_includes/themes/j1/modules/connectors/comment/just-comments.html +0 -31
- data/_includes/themes/j1/modules/connectors/comments +0 -64
- data/_includes/themes/j1/modules/connectors/sharing +0 -29
- data/_includes/themes/j1/modules/connectors/survey/custom-provider.html +0 -30
- data/_includes/themes/j1/modules/connectors/survey/jotform.html +0 -32
- data/_includes/themes/j1/modules/connectors/surveys +0 -58
- data/_includes/themes/j1/modules/connectors/translator +0 -58
- data/_includes/themes/j1/modules/connectors/translators/custom-translator.html +0 -32
- data/_includes/themes/j1/modules/connectors/translators/google-translator.html +0 -53
- data/_includes/themes/j1/modules/search/algolia.html +0 -181
- data/_includes/themes/j1/modules/search/docsearch.html +0 -42
- data/assets/data/disqus.js +0 -81
- data/assets/data/hyvor.js +0 -72
- data/lib/starter_web/pages/_test_pages/100_side-bar-tester.adoc +0 -244
- data/lib/starter_web/pages/_test_pages/_includes/attributes.asciidoc +0 -110
- data/lib/starter_web/pages/_test_pages/_includes/documents/100_gistblock.asciidoc +0 -28
- data/lib/starter_web/pages/_test_pages/_includes/documents/410_bottom_info.asciidoc +0 -14
- data/lib/starter_web/pages/_test_pages/_includes/documents/410_bottom_left_warning.asciidoc +0 -11
- data/lib/starter_web/pages/_test_pages/_includes/documents/410_bottom_right_danger.asciidoc +0 -11
- data/lib/starter_web/pages/_test_pages/_includes/documents/410_central_success.asciidoc +0 -11
- data/lib/starter_web/pages/_test_pages/_includes/documents/410_full_height_left_info.asciidoc +0 -11
- data/lib/starter_web/pages/_test_pages/_includes/documents/410_full_height_right_success.asciidoc +0 -11
- data/lib/starter_web/pages/_test_pages/_includes/documents/410_table_bs_modal_examples.asciidoc +0 -47
- data/lib/starter_web/pages/_test_pages/_includes/documents/410_top_info.asciidoc +0 -11
- data/lib/starter_web/pages/_test_pages/_includes/documents/410_top_left_info.asciidoc +0 -11
- data/lib/starter_web/pages/_test_pages/_includes/documents/410_top_right_success.asciidoc +0 -11
- data/lib/starter_web/pages/_test_pages/_includes/documents/419_advanced_modals_demo.asciidoc +0 -337
- data/lib/starter_web/pages/_test_pages/_includes/documents/tables/bs_modal_examples.asciidoc +0 -47
- data/lib/starter_web/pages/_test_pages/accordion-01-tester.adoc +0 -220
- data/lib/starter_web/pages/_test_pages/accordion-02-tester.adoc +0 -177
- data/lib/starter_web/pages/_test_pages/accordion-03-tester.adoc +0 -148
- data/lib/starter_web/pages/_test_pages/attribute-changes-01-tester.adoc +0 -226
- data/lib/starter_web/pages/_test_pages/backdrop-tester.adoc +0 -109
- data/lib/starter_web/pages/_test_pages/button-tester-1.adoc +0 -127
- data/lib/starter_web/pages/_test_pages/card-tester.adoc +0 -128
- data/lib/starter_web/pages/_test_pages/cookieConsent.adoc +0 -96
- data/lib/starter_web/pages/_test_pages/deepl.0.adoc +0 -258
- data/lib/starter_web/pages/_test_pages/deepl.adoc +0 -204
- data/lib/starter_web/pages/_test_pages/desandro-button.adoc +0 -171
- data/lib/starter_web/pages/_test_pages/desandro.adoc +0 -147
- data/lib/starter_web/pages/_test_pages/flipcard-1-tester.adoc +0 -308
- data/lib/starter_web/pages/_test_pages/formular-01-tester.adoc +0 -167
- data/lib/starter_web/pages/_test_pages/formular-02-tester.adoc +0 -727
- data/lib/starter_web/pages/_test_pages/google-translate-tester.0.adoc +0 -113
- data/lib/starter_web/pages/_test_pages/google-translate-tester.1.adoc +0 -231
- data/lib/starter_web/pages/_test_pages/google-translate-tester.3.adoc +0 -149
- data/lib/starter_web/pages/_test_pages/google-translate-tester.4.adoc +0 -237
- data/lib/starter_web/pages/_test_pages/infinite-scroll-tester-2.adoc +0 -183
- data/lib/starter_web/pages/_test_pages/infinite-scroll-tester-3.adoc +0 -235
- data/lib/starter_web/pages/_test_pages/infinite-scroll-tester-4.adoc +0 -222
- data/lib/starter_web/pages/_test_pages/infinite-scroll-tester-5.adoc +0 -119
- data/lib/starter_web/pages/_test_pages/infinite-scroll-tester.1.adoc +0 -236
- data/lib/starter_web/pages/_test_pages/infinite-scroll-tester.adoc +0 -225
- data/lib/starter_web/pages/_test_pages/list-group-tester.adoc +0 -265
- data/lib/starter_web/pages/_test_pages/tictok.adoc +0 -127
@@ -437,7 +437,7 @@ end::tables[]
|
|
437
437
|
// -----------------------------------------------------------------------------
|
438
438
|
tag::products[]
|
439
439
|
:j1--license: MIT License
|
440
|
-
:j1--version: 2022.0.
|
440
|
+
:j1--version: 2022.0.13
|
441
441
|
:j1--site-name: Jekyll One
|
442
442
|
end::products[]
|
443
443
|
|
@@ -0,0 +1,11 @@
|
|
1
|
+
<!-- insert gad container -->
|
2
|
+
<div id="xxx..xx" class="mb-5">
|
3
|
+
<!-- display-ad-horizontal-2 -->
|
4
|
+
<ins class="adsbygoogle"
|
5
|
+
style="display:block"
|
6
|
+
data-ad-client="ca-pub-xxxx..xxx"
|
7
|
+
data-ad-slot="xxxx..xx"
|
8
|
+
data-ad-format="auto"
|
9
|
+
data-full-width-responsive="true">
|
10
|
+
</ins>
|
11
|
+
</div>
|
@@ -0,0 +1,11 @@
|
|
1
|
+
<!-- insert gad container -->
|
2
|
+
<div id="xxx..xx" class="mb-5">
|
3
|
+
<!-- display-ad-horizontal-1 -->
|
4
|
+
<ins class="adsbygoogle"
|
5
|
+
style="display:block"
|
6
|
+
data-ad-client="ca-pub-xxxx..xxx"
|
7
|
+
data-ad-slot="xxx..xx"
|
8
|
+
data-ad-format="auto"
|
9
|
+
data-full-width-responsive="true">
|
10
|
+
</ins>
|
11
|
+
</div>
|
data/lib/starter_web/collections/posts/public/featured/_posts/2021-01-01-about-cookies.ads.asciidoc
ADDED
@@ -0,0 +1,196 @@
|
|
1
|
+
---
|
2
|
+
title: Cookies
|
3
|
+
tagline: good to know
|
4
|
+
|
5
|
+
categories: [ Knowledge ]
|
6
|
+
tags: [ Cookies ]
|
7
|
+
|
8
|
+
image: /assets/images/modules/attics/cookies-1920x1200.jpg
|
9
|
+
|
10
|
+
regenerate: false
|
11
|
+
|
12
|
+
resources: [ animate, advertising ]
|
13
|
+
resource_options:
|
14
|
+
- attic:
|
15
|
+
padding_top: 400
|
16
|
+
padding_bottom: 50
|
17
|
+
opacity: 0.5
|
18
|
+
slides:
|
19
|
+
- url: /assets/images/modules/attics/cookies-1920x1200.jpg
|
20
|
+
alt: Photo by Miroslava on Unsplash
|
21
|
+
# caption:
|
22
|
+
# text: Photo by Miroslava on Unsplash
|
23
|
+
# href: https://unsplash.com/@miroslava
|
24
|
+
badge:
|
25
|
+
type: unsplash
|
26
|
+
author: Miroslava
|
27
|
+
href: https://unsplash.com/@miroslava
|
28
|
+
---
|
29
|
+
|
30
|
+
// Page Initializer
|
31
|
+
// =============================================================================
|
32
|
+
// Enable the Liquid Preprocessor
|
33
|
+
:page-liquid:
|
34
|
+
|
35
|
+
// Set (local) page attributes here
|
36
|
+
// -----------------------------------------------------------------------------
|
37
|
+
// :page--attr: <attr-value>
|
38
|
+
|
39
|
+
// Additional Asciidoc page attributes goes here
|
40
|
+
// -----------------------------------------------------------------------------
|
41
|
+
// :page-imagesdir: {{page.images.dir}}
|
42
|
+
|
43
|
+
// Place an excerpt at the most top position
|
44
|
+
// -----------------------------------------------------------------------------
|
45
|
+
[role="dropcap"]
|
46
|
+
Is it needed for visitors to know what cookies are about? No doubts, you're
|
47
|
+
requested to inform - in Europe for legal reasons. All users visiting websites
|
48
|
+
are bothered all the time to accept cookies. For good reasons.
|
49
|
+
|
50
|
+
excerpt__end
|
51
|
+
|
52
|
+
// Load Liquid procedures
|
53
|
+
// -----------------------------------------------------------------------------
|
54
|
+
{% capture load_attributes %}themes/{{site.template.name}}/procedures/global/attributes_loader.proc{%endcapture%}
|
55
|
+
|
56
|
+
// Load page attributes
|
57
|
+
// -----------------------------------------------------------------------------
|
58
|
+
{% include {{load_attributes}} scope="global" %}
|
59
|
+
|
60
|
+
|
61
|
+
// Page content
|
62
|
+
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
63
|
+
|
64
|
+
++++
|
65
|
+
<!-- insert gad container -->
|
66
|
+
<div id="xxx..xx" class="mb-5">
|
67
|
+
<!-- display-ad-horizontal-1 -->
|
68
|
+
<ins class="adsbygoogle"
|
69
|
+
style="display:block"
|
70
|
+
data-ad-client="ca-pub-xxxx..xxx"
|
71
|
+
data-ad-slot="xxxx..xx"
|
72
|
+
data-ad-format="auto"
|
73
|
+
data-full-width-responsive="true">
|
74
|
+
</ins>
|
75
|
+
</div>
|
76
|
+
++++
|
77
|
+
|
78
|
+
// Include sub-documents (if any)
|
79
|
+
// -----------------------------------------------------------------------------
|
80
|
+
|
81
|
+
== What are cookies technically
|
82
|
+
|
83
|
+
In short: a cookie is a small piece of data that a website asks your
|
84
|
+
browser to store on your computer or mobile device. The cookie allows the
|
85
|
+
website to "remember" your actions or preferences over time. All modern
|
86
|
+
browsers support cookies, but users can set their browsers to decline them
|
87
|
+
and can delete them whenever they like. Good to know.
|
88
|
+
|
89
|
+
Websites mainly use cookies for:
|
90
|
+
|
91
|
+
Identification::
|
92
|
+
Identify users
|
93
|
+
|
94
|
+
General information storage::
|
95
|
+
Remember users' custom preferences
|
96
|
+
|
97
|
+
Support::
|
98
|
+
Help users complete tasks without re-entering information when browsing from
|
99
|
+
one page to another or when visiting the site later.
|
100
|
+
|
101
|
+
Track behavioral::
|
102
|
+
Cookies can also be used for online behavioral target advertising and to
|
103
|
+
show adverts relevant to something that the user searched for in the past.
|
104
|
+
The webserver supplying the webpage can store a cookie on the user's
|
105
|
+
computer or mobile device.
|
106
|
+
|
107
|
+
All these cookies are called HTTP header cookies. Another way of storing
|
108
|
+
cookies is through JavaScript code contained or referenced on that page.
|
109
|
+
Each time the user requests a new page, the webserver can receive the
|
110
|
+
values of the cookies it previously set and return the page with content
|
111
|
+
relating to these values. Similarly, JavaScript code can read a
|
112
|
+
cookie belonging to its domain and act accordingly.
|
113
|
+
|
114
|
+
.How are they used
|
115
|
+
[NOTE]
|
116
|
+
====
|
117
|
+
The web server supplying the webpage can store a cookie on the user's
|
118
|
+
computer or mobile device. An external web server that manages files
|
119
|
+
included or referenced in the web page can store cookies. All these
|
120
|
+
cookies are called HTTP header cookies. Another way of storing cookies
|
121
|
+
is through JavaScript code contained or referenced on that page.
|
122
|
+
|
123
|
+
Each time the user requests a new page, the web server can receive the
|
124
|
+
values of the cookies it previously set and return the page with content
|
125
|
+
relating to these values. Similarly, JavaScript code can read a
|
126
|
+
cookie belonging to its domain and act accordingly.
|
127
|
+
====
|
128
|
+
|
129
|
+
== Types of cookies
|
130
|
+
|
131
|
+
HTTP cookies are essential to the modern Internet but potentially a
|
132
|
+
vulnerability to your privacy. As a necessary part of web browsing, cookies
|
133
|
+
help web developers give you more personal, convenient website visits.
|
134
|
+
Cookies let websites remember you, your website logins, shopping carts, and
|
135
|
+
more. But they can also be a treasure trove of private info for criminals
|
136
|
+
to spy on.
|
137
|
+
|
138
|
+
Since the data in cookies doesn't change, cookies themselves aren't harmful.
|
139
|
+
They *can't infect* computers with viruses or other malware. However, some
|
140
|
+
cyberattacks can hijack cookies and enable access to your browsing sessions.
|
141
|
+
The danger lies in their ability to track individuals' browsing histories.
|
142
|
+
Cookies generally can be classified by its *lifespan* and the *domain* to
|
143
|
+
which it belongs.
|
144
|
+
|
145
|
+
=== By Lifespan
|
146
|
+
|
147
|
+
Cookies classified by *lifespan* are either a:
|
148
|
+
|
149
|
+
Session cookie::
|
150
|
+
Session cookies gets automatically deleted when the user closes the web browser
|
151
|
+
and all open window tabs.
|
152
|
+
|
153
|
+
Persistent cookie::
|
154
|
+
A persistent cookie *remains* on the user's computer/device for a pre-defined
|
155
|
+
period of time.
|
156
|
+
|
157
|
+
=== By Domain
|
158
|
+
|
159
|
+
Cookies classified by the *domain* to which it belongs, are either of:
|
160
|
+
|
161
|
+
First-party cookie::
|
162
|
+
First-party cookie cookies are set by the webserver of the visited page
|
163
|
+
and share the *same domain* you're visiting. These are generally safer, as
|
164
|
+
long as users are browsing reputable websites or ones that have not been
|
165
|
+
compromised.
|
166
|
+
|
167
|
+
Third-party cookies::
|
168
|
+
Third-party cookies are stored by a *different* domain to the visited page.
|
169
|
+
This can happen when the webpage references a file located outside its domain.
|
170
|
+
Third-party cookies let advertisers or analytics companies track the user's
|
171
|
+
browsing history across the web on *any* sites that contain their ads.
|
172
|
+
|
173
|
+
|
174
|
+
== Security aspects on using cookies
|
175
|
+
|
176
|
+
Without cookies, the web would not work as it does today. However, since the
|
177
|
+
mid 90ies when cookies were invented, the web changed quite a lot, and so did
|
178
|
+
the attack methods on web applications; as mentioned, the Internet is not a
|
179
|
+
friendly place.
|
180
|
+
|
181
|
+
A well-known attack method is known as Cross-Site Request Forgery or short
|
182
|
+
*CSRF*. CSRF is an attack, a criminal act, that forces an end user to execute
|
183
|
+
unwanted actions. A cookie may play a *role* in such scenarios, but they are
|
184
|
+
not generally *unsafe* if you want, you can read more about that on the
|
185
|
+
CRSF Page on {url-owasp-attacks--csrf}[OWASP, {browser-window--new}].
|
186
|
+
|
187
|
+
== How to control cookies
|
188
|
+
|
189
|
+
Users can take control, used or *not* used, or delete cookies. For more
|
190
|
+
details, see {url-about-cookies--home}[AboutCookies]. You can delete
|
191
|
+
all cookies that are already on your computer, and you can set most
|
192
|
+
browsers to prevent them from being placed.
|
193
|
+
|
194
|
+
If you do this, however, you may have to manually adjust some preferences
|
195
|
+
every time you visit a site, and some services and functionalities may not
|
196
|
+
work.
|
@@ -0,0 +1,182 @@
|
|
1
|
+
---
|
2
|
+
title: Cookies
|
3
|
+
tagline: good to know
|
4
|
+
|
5
|
+
categories: [ Knowledge ]
|
6
|
+
tags: [ Cookies ]
|
7
|
+
|
8
|
+
image: /assets/images/modules/attics/cookies-1920x1200.jpg
|
9
|
+
|
10
|
+
regenerate: false
|
11
|
+
|
12
|
+
resources: [ animate, comments ]
|
13
|
+
resource_options:
|
14
|
+
- attic:
|
15
|
+
padding_top: 400
|
16
|
+
padding_bottom: 50
|
17
|
+
opacity: 0.5
|
18
|
+
slides:
|
19
|
+
- url: /assets/images/modules/attics/cookies-1920x1200.jpg
|
20
|
+
alt: Photo by Miroslava on Unsplash
|
21
|
+
# caption:
|
22
|
+
# text: Photo by Miroslava on Unsplash
|
23
|
+
# href: https://unsplash.com/@miroslava
|
24
|
+
badge:
|
25
|
+
type: unsplash
|
26
|
+
author: Miroslava
|
27
|
+
href: https://unsplash.com/@miroslava
|
28
|
+
---
|
29
|
+
|
30
|
+
// Page Initializer
|
31
|
+
// =============================================================================
|
32
|
+
// Enable the Liquid Preprocessor
|
33
|
+
:page-liquid:
|
34
|
+
|
35
|
+
// Set (local) page attributes here
|
36
|
+
// -----------------------------------------------------------------------------
|
37
|
+
// :page--attr: <attr-value>
|
38
|
+
|
39
|
+
// Additional Asciidoc page attributes goes here
|
40
|
+
// -----------------------------------------------------------------------------
|
41
|
+
// :page-imagesdir: {{page.images.dir}}
|
42
|
+
|
43
|
+
// Place an excerpt at the most top position
|
44
|
+
// -----------------------------------------------------------------------------
|
45
|
+
[role="dropcap"]
|
46
|
+
Is it needed for visitors to know what cookies are about? No doubts, you're
|
47
|
+
requested to inform - in Europe for legal reasons. All users visiting websites
|
48
|
+
are bothered all the time to accept cookies. For good reasons.
|
49
|
+
|
50
|
+
excerpt__end
|
51
|
+
|
52
|
+
// Load Liquid procedures
|
53
|
+
// -----------------------------------------------------------------------------
|
54
|
+
{% capture load_attributes %}themes/{{site.template.name}}/procedures/global/attributes_loader.proc{%endcapture%}
|
55
|
+
|
56
|
+
// Load page attributes
|
57
|
+
// -----------------------------------------------------------------------------
|
58
|
+
{% include {{load_attributes}} scope="global" %}
|
59
|
+
|
60
|
+
|
61
|
+
// Page content
|
62
|
+
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
63
|
+
|
64
|
+
// Include sub-documents (if any)
|
65
|
+
// -----------------------------------------------------------------------------
|
66
|
+
|
67
|
+
== What are cookies technically
|
68
|
+
|
69
|
+
In short: a cookie is a small piece of data that a website asks your
|
70
|
+
browser to store on your computer or mobile device. The cookie allows the
|
71
|
+
website to "remember" your actions or preferences over time. All modern
|
72
|
+
browsers support cookies, but users can set their browsers to decline them
|
73
|
+
and can delete them whenever they like. Good to know.
|
74
|
+
|
75
|
+
Websites mainly use cookies for:
|
76
|
+
|
77
|
+
Identification::
|
78
|
+
Identify users
|
79
|
+
|
80
|
+
General information storage::
|
81
|
+
Remember users' custom preferences
|
82
|
+
|
83
|
+
Support::
|
84
|
+
Help users complete tasks without re-entering information when browsing from
|
85
|
+
one page to another or when visiting the site later.
|
86
|
+
|
87
|
+
Track behavioral::
|
88
|
+
Cookies can also be used for online behavioral target advertising and to
|
89
|
+
show adverts relevant to something that the user searched for in the past.
|
90
|
+
The webserver supplying the webpage can store a cookie on the user's
|
91
|
+
computer or mobile device.
|
92
|
+
|
93
|
+
All these cookies are called HTTP header cookies. Another way of storing
|
94
|
+
cookies is through JavaScript code contained or referenced on that page.
|
95
|
+
Each time the user requests a new page, the webserver can receive the
|
96
|
+
values of the cookies it previously set and return the page with content
|
97
|
+
relating to these values. Similarly, JavaScript code can read a
|
98
|
+
cookie belonging to its domain and act accordingly.
|
99
|
+
|
100
|
+
.How are they used
|
101
|
+
[NOTE]
|
102
|
+
====
|
103
|
+
The web server supplying the webpage can store a cookie on the user's
|
104
|
+
computer or mobile device. An external web server that manages files
|
105
|
+
included or referenced in the web page can store cookies. All these
|
106
|
+
cookies are called HTTP header cookies. Another way of storing cookies
|
107
|
+
is through JavaScript code contained or referenced on that page.
|
108
|
+
|
109
|
+
Each time the user requests a new page, the web server can receive the
|
110
|
+
values of the cookies it previously set and return the page with content
|
111
|
+
relating to these values. Similarly, JavaScript code can read a
|
112
|
+
cookie belonging to its domain and act accordingly.
|
113
|
+
====
|
114
|
+
|
115
|
+
== Types of cookies
|
116
|
+
|
117
|
+
HTTP cookies are essential to the modern Internet but potentially a
|
118
|
+
vulnerability to your privacy. As a necessary part of web browsing, cookies
|
119
|
+
help web developers give you more personal, convenient website visits.
|
120
|
+
Cookies let websites remember you, your website logins, shopping carts, and
|
121
|
+
more. But they can also be a treasure trove of private info for criminals
|
122
|
+
to spy on.
|
123
|
+
|
124
|
+
Since the data in cookies doesn't change, cookies themselves aren't harmful.
|
125
|
+
They *can't infect* computers with viruses or other malware. However, some
|
126
|
+
cyberattacks can hijack cookies and enable access to your browsing sessions.
|
127
|
+
The danger lies in their ability to track individuals' browsing histories.
|
128
|
+
Cookies generally can be classified by its *lifespan* and the *domain* to
|
129
|
+
which it belongs.
|
130
|
+
|
131
|
+
=== By Lifespan
|
132
|
+
|
133
|
+
Cookies classified by *lifespan* are either a:
|
134
|
+
|
135
|
+
Session cookie::
|
136
|
+
Session cookies gets automatically deleted when the user closes the web browser
|
137
|
+
and all open window tabs.
|
138
|
+
|
139
|
+
Persistent cookie::
|
140
|
+
A persistent cookie *remains* on the user's computer/device for a pre-defined
|
141
|
+
period of time.
|
142
|
+
|
143
|
+
=== By Domain
|
144
|
+
|
145
|
+
Cookies classified by the *domain* to which it belongs, are either of:
|
146
|
+
|
147
|
+
First-party cookie::
|
148
|
+
First-party cookie cookies are set by the webserver of the visited page
|
149
|
+
and share the *same domain* you're visiting. These are generally safer, as
|
150
|
+
long as users are browsing reputable websites or ones that have not been
|
151
|
+
compromised.
|
152
|
+
|
153
|
+
Third-party cookies::
|
154
|
+
Third-party cookies are stored by a *different* domain to the visited page.
|
155
|
+
This can happen when the webpage references a file located outside its domain.
|
156
|
+
Third-party cookies let advertisers or analytics companies track the user's
|
157
|
+
browsing history across the web on *any* sites that contain their ads.
|
158
|
+
|
159
|
+
|
160
|
+
== Security aspects on using cookies
|
161
|
+
|
162
|
+
Without cookies, the web would not work as it does today. However, since the
|
163
|
+
mid 90ies when cookies were invented, the web changed quite a lot, and so did
|
164
|
+
the attack methods on web applications; as mentioned, the Internet is not a
|
165
|
+
friendly place.
|
166
|
+
|
167
|
+
A well-known attack method is known as Cross-Site Request Forgery or short
|
168
|
+
*CSRF*. CSRF is an attack, a criminal act, that forces an end user to execute
|
169
|
+
unwanted actions. A cookie may play a *role* in such scenarios, but they are
|
170
|
+
not generally *unsafe* if you want, you can read more about that on the
|
171
|
+
CRSF Page on {url-owasp-attacks--csrf}[OWASP, {browser-window--new}].
|
172
|
+
|
173
|
+
== How to control cookies
|
174
|
+
|
175
|
+
Users can take control, used or *not* used, or delete cookies. For more
|
176
|
+
details, see {url-about-cookies--home}[AboutCookies]. You can delete
|
177
|
+
all cookies that are already on your computer, and you can set most
|
178
|
+
browsers to prevent them from being placed.
|
179
|
+
|
180
|
+
If you do this, however, you may have to manually adjust some preferences
|
181
|
+
every time you visit a site, and some services and functionalities may not
|
182
|
+
work.
|
data/lib/starter_web/index.html
CHANGED
@@ -16,8 +16,10 @@ permalink: /pages/public/learn/roundtrip/present_im
|
|
16
16
|
regenerate: false
|
17
17
|
|
18
18
|
resources: [
|
19
|
-
animate, clipboard,
|
20
|
-
justifiedGallery,
|
19
|
+
animate, clipboard,
|
20
|
+
carousel, justifiedGallery,
|
21
|
+
lightbox, lightGallery,
|
22
|
+
rouge
|
21
23
|
]
|
22
24
|
resource_options:
|
23
25
|
- attic:
|
@@ -120,7 +122,6 @@ LightGallery can do this by the following example.
|
|
120
122
|
|
121
123
|
gallery::jg_old_times[]
|
122
124
|
|
123
|
-
|
124
125
|
== J1 Carousel App
|
125
126
|
|
126
127
|
J1 Carousel is based on OWL Carousel V1 in the latest (and unfortunately
|