j1-template 2022.0.8 → 2022.0.12

Sign up to get free protection for your applications and to get access to all the features.
Files changed (209) hide show
  1. checksums.yaml +4 -4
  2. data/_includes/themes/j1/modules/ads/google_ad_content_home.html +11 -0
  3. data/_includes/themes/j1/modules/ads/google_ad_top_home.html +11 -0
  4. data/apps/public/cc/index.adoc +0 -1
  5. data/assets/data/article_navigator/index.html +0 -1
  6. data/assets/data/news_panel_posts/index.html +0 -1
  7. data/assets/error_pages/HTTP445.html +5 -4
  8. data/assets/error_pages/HTTP446.html +3 -3
  9. data/assets/error_pages/HTTP447.html +110 -0
  10. data/assets/error_pages/HTTP448.html +111 -0
  11. data/assets/themes/j1/adapter/js/advertising.js +413 -0
  12. data/assets/themes/j1/adapter/js/algolia.js +1 -4
  13. data/assets/themes/j1/adapter/js/analytics.js +237 -0
  14. data/assets/themes/j1/adapter/js/asciidoctor.js +1 -4
  15. data/assets/themes/j1/adapter/js/attic.js +1 -4
  16. data/assets/themes/j1/adapter/js/bmd.js +1 -4
  17. data/assets/themes/j1/adapter/js/carousel.js +1 -4
  18. data/assets/themes/j1/adapter/js/clipboard.js +1 -2
  19. data/assets/themes/j1/adapter/js/comments.js +386 -0
  20. data/assets/themes/j1/adapter/js/cookieConsent.js +84 -51
  21. data/assets/themes/j1/adapter/js/fab.js +1 -1
  22. data/assets/themes/j1/adapter/js/framer.js +1 -7
  23. data/assets/themes/j1/adapter/js/j1.js +125 -208
  24. data/assets/themes/j1/adapter/js/justifiedGallery.js +1 -4
  25. data/assets/themes/j1/adapter/js/justifiedGalleryCustomizer.js +1 -4
  26. data/assets/themes/j1/adapter/js/lightbox.js +1 -5
  27. data/assets/themes/j1/adapter/js/logger.js +1 -2
  28. data/assets/themes/j1/adapter/js/mmenu.js +2 -3
  29. data/assets/themes/j1/adapter/js/navigator.js +4 -3
  30. data/assets/themes/j1/adapter/js/quicksearch.js +1 -4
  31. data/assets/themes/j1/adapter/js/rouge.js +2 -5
  32. data/assets/themes/j1/adapter/js/rtable.js +1 -4
  33. data/assets/themes/j1/adapter/js/rtextResizer.js +1 -4
  34. data/assets/themes/j1/adapter/js/scroller.js +2 -5
  35. data/assets/themes/j1/adapter/js/themer.js +1 -1
  36. data/assets/themes/j1/adapter/js/toccer.js +1 -4
  37. data/assets/themes/j1/adapter/js/translator.js +79 -124
  38. data/assets/themes/j1/core/css/themes/unolight/bootstrap.css +6 -0
  39. data/assets/themes/j1/core/css/themes/unolight/bootstrap.min.css +1 -1
  40. data/assets/themes/j1/core/js/template.js +13 -5
  41. data/assets/themes/j1/core/js/template.min.js +1 -1
  42. data/assets/themes/j1/core/js/template.min.js.map +1 -1
  43. data/assets/themes/j1/modules/advertising/js/google/adInitializer.js +117 -0
  44. data/assets/themes/j1/modules/cookieConsent/js/cookieConsent.js +11 -2
  45. data/assets/themes/j1/modules/cookieConsent/js/cookieConsent.min.js +1 -1
  46. data/assets/themes/j1/modules/deeplAPI/js/deeplAPI.2.js +1 -1
  47. data/assets/themes/j1/modules/deeplAPI/js/deeplAPI.js +1 -1
  48. data/assets/themes/j1/modules/scroller/js/scroller.js +1 -1
  49. data/assets/themes/j1/modules/translator/js/translator.js +1 -1
  50. data/assets/themes/j1/modules/translator/js/translator.min.js +1 -1
  51. data/lib/j1/version.rb +1 -1
  52. data/lib/starter_web/Gemfile +1 -1
  53. data/lib/starter_web/_config.yml +1 -13
  54. data/lib/starter_web/_data/apps/carousel.yml +2 -2
  55. data/lib/starter_web/_data/apps/defaults/carousel.yml +3 -2
  56. data/lib/starter_web/_data/apps/defaults/justifiedGallery.yml +2 -2
  57. data/lib/starter_web/_data/apps/defaults/justifiedGalleryCustomizer.yml +2 -2
  58. data/lib/starter_web/_data/apps/defaults/lightGallery.yml +2 -2
  59. data/lib/starter_web/_data/apps/defaults/lightbox.yml +2 -2
  60. data/lib/starter_web/_data/apps/justifiedGallery.yml +2 -2
  61. data/lib/starter_web/_data/apps/justifiedGalleryCustomizer.yml +2 -2
  62. data/lib/starter_web/_data/apps/lightGallery.yml +2 -2
  63. data/lib/starter_web/_data/apps/lightbox.yml +2 -2
  64. data/lib/starter_web/_data/blocks/banner.yml +3 -2
  65. data/lib/starter_web/_data/blocks/defaults/banner.yml +9 -0
  66. data/lib/starter_web/_data/blocks/defaults/footer.yml +9 -0
  67. data/lib/starter_web/_data/blocks/defaults/panel.yml +9 -0
  68. data/lib/starter_web/_data/blocks/footer.yml +3 -2
  69. data/lib/starter_web/_data/blocks/panel.yml +3 -2
  70. data/lib/starter_web/_data/builder/blog_navigator.yml +3 -2
  71. data/lib/starter_web/_data/builder/defaults/blog_navigator.yml +8 -8
  72. data/lib/starter_web/_data/j1_config.yml +0 -116
  73. data/lib/starter_web/_data/layouts/default.yml +21 -21
  74. data/lib/starter_web/_data/layouts/home.yml +24 -0
  75. data/lib/starter_web/_data/layouts/page.yml +7 -18
  76. data/lib/starter_web/_data/layouts/post.yml +0 -11
  77. data/lib/starter_web/_data/modules/advertising.yml +140 -12
  78. data/lib/starter_web/_data/modules/analytics.yml +99 -0
  79. data/lib/starter_web/_data/modules/attics.yml +3 -2
  80. data/lib/starter_web/_data/modules/comments.yml +55 -0
  81. data/lib/starter_web/_data/modules/cookieconsent.yml +2 -1
  82. data/lib/starter_web/_data/modules/cookies.yml +3 -1
  83. data/lib/starter_web/_data/modules/defaults/advertising.yml +106 -0
  84. data/lib/starter_web/_data/modules/defaults/analytics.yml +93 -0
  85. data/lib/starter_web/_data/modules/defaults/attics.yml +3 -2
  86. data/lib/starter_web/_data/modules/defaults/authentication.yml +51 -48
  87. data/lib/starter_web/_data/modules/defaults/comments.yml +114 -0
  88. data/lib/starter_web/_data/modules/defaults/cookieconsent.yml +3 -3
  89. data/lib/starter_web/_data/modules/defaults/cookies.yml +39 -19
  90. data/lib/starter_web/_data/modules/defaults/fab.yml +4 -2
  91. data/lib/starter_web/_data/modules/defaults/framer.yml +2 -3
  92. data/lib/starter_web/_data/modules/defaults/log4javascript.yml +3 -2
  93. data/lib/starter_web/_data/modules/defaults/log4r.yml +2 -2
  94. data/lib/starter_web/_data/modules/defaults/navigator.yml +4 -2
  95. data/lib/starter_web/_data/modules/defaults/quicksearch.yml +4 -3
  96. data/lib/starter_web/_data/modules/defaults/rtable.yml +3 -2
  97. data/lib/starter_web/_data/modules/defaults/scoller.yml +3 -2
  98. data/lib/starter_web/_data/modules/defaults/themer.yml +119 -118
  99. data/lib/starter_web/_data/modules/defaults/toccer.yml +1 -1
  100. data/lib/starter_web/_data/modules/defaults/translator.yml +1 -1
  101. data/lib/starter_web/_data/modules/fab.yml +3 -2
  102. data/lib/starter_web/_data/modules/framer.yml +3 -4
  103. data/lib/starter_web/_data/modules/log4r.yml +2 -2
  104. data/lib/starter_web/_data/modules/navigator.yml +4 -2
  105. data/lib/starter_web/_data/modules/quicksearch.yml +3 -3
  106. data/lib/starter_web/_data/modules/rtable.yml +3 -3
  107. data/lib/starter_web/_data/modules/scroller.yml +2 -3
  108. data/lib/starter_web/_data/modules/themer.yml +2 -3
  109. data/lib/starter_web/_data/modules/toccer.yml +3 -3
  110. data/lib/starter_web/_data/modules/translator.yml +1 -1
  111. data/lib/starter_web/_data/plugins/defaults/paginator.yml +2 -2
  112. data/lib/starter_web/_data/plugins/paginator.yml +2 -2
  113. data/lib/starter_web/_data/resources.yml +447 -290
  114. data/lib/starter_web/_includes/attributes.asciidoc +1 -1
  115. data/lib/starter_web/_includes/themes/j1/modules/ads/google_ad_content_home.html +11 -0
  116. data/lib/starter_web/_includes/themes/j1/modules/ads/google_ad_top_home.html +11 -0
  117. data/lib/starter_web/_plugins/lunr_index.rb +1 -1
  118. data/lib/starter_web/collections/posts/public/featured/_posts/2021-01-01-about-cookies.ads.asciidoc +196 -0
  119. data/lib/starter_web/collections/posts/public/featured/_posts/2021-01-01-about-cookies.comments.asciidoc +182 -0
  120. data/lib/starter_web/index.html +0 -1
  121. data/lib/starter_web/package.json +1 -1
  122. data/lib/starter_web/pages/public/asciidoc_skeletons/documentation/documentation.adoc +0 -1
  123. data/lib/starter_web/pages/public/asciidoc_skeletons/multi-document/multi.adoc +0 -1
  124. data/lib/starter_web/pages/public/asciidoc_skeletons/simple-document/simple.adoc +0 -1
  125. data/lib/starter_web/pages/public/blog/navigator/archive/categoryview.html +0 -1
  126. data/lib/starter_web/pages/public/blog/navigator/archive/dateview.html +0 -1
  127. data/lib/starter_web/pages/public/blog/navigator/archive/tagview.html +0 -1
  128. data/lib/starter_web/pages/public/blog/navigator/archive.html +0 -1
  129. data/lib/starter_web/pages/public/blog/navigator/index.html +0 -1
  130. data/lib/starter_web/pages/public/learn/roundtrip/100_present_images.adoc +4 -3
  131. data/lib/starter_web/pages/public/learn/roundtrip/100_present_images.ads.asciidoc +265 -0
  132. data/lib/starter_web/pages/public/learn/roundtrip/100_present_images.base.asciidoc +237 -0
  133. data/lib/starter_web/pages/public/learn/roundtrip/100_present_images.comments.asciidoc +237 -0
  134. data/lib/starter_web/pages/public/learn/roundtrip/100_present_videos.adoc +62 -0
  135. data/lib/starter_web/pages/public/learn/roundtrip/_includes/google-ad.js +130 -0
  136. data/lib/starter_web/pages/public/legal/en/100_copyright.adoc +0 -1
  137. data/lib/starter_web/pages/public/legal/en/200_impress.adoc +0 -1
  138. data/lib/starter_web/pages/public/legal/en/400_comment_policy.adoc +0 -1
  139. data/lib/starter_web/utilsrv/_defaults/package.json +1 -1
  140. data/lib/starter_web/utilsrv/package.json +1 -1
  141. metadata +23 -70
  142. data/_includes/themes/j1/blocks/ads/ad.html +0 -64
  143. data/_includes/themes/j1/modules/boards/news_pin_board.html +0 -183
  144. data/_includes/themes/j1/modules/connectors/ad/custom-provider.html +0 -30
  145. data/_includes/themes/j1/modules/connectors/ad/google-adsense.html +0 -62
  146. data/_includes/themes/j1/modules/connectors/ads +0 -56
  147. data/_includes/themes/j1/modules/connectors/analytic/custom-provider.html +0 -32
  148. data/_includes/themes/j1/modules/connectors/analytic/google-analytics.html +0 -30
  149. data/_includes/themes/j1/modules/connectors/analytics +0 -60
  150. data/_includes/themes/j1/modules/connectors/comment/commento.html +0 -31
  151. data/_includes/themes/j1/modules/connectors/comment/custom-provider.html +0 -30
  152. data/_includes/themes/j1/modules/connectors/comment/disqus.html +0 -32
  153. data/_includes/themes/j1/modules/connectors/comment/facebook.html +0 -30
  154. data/_includes/themes/j1/modules/connectors/comment/hyvor.html +0 -32
  155. data/_includes/themes/j1/modules/connectors/comment/just-comments.html +0 -31
  156. data/_includes/themes/j1/modules/connectors/comments +0 -64
  157. data/_includes/themes/j1/modules/connectors/sharing +0 -29
  158. data/_includes/themes/j1/modules/connectors/survey/custom-provider.html +0 -30
  159. data/_includes/themes/j1/modules/connectors/survey/jotform.html +0 -32
  160. data/_includes/themes/j1/modules/connectors/surveys +0 -58
  161. data/_includes/themes/j1/modules/connectors/translator +0 -58
  162. data/_includes/themes/j1/modules/connectors/translators/custom-translator.html +0 -32
  163. data/_includes/themes/j1/modules/connectors/translators/google-translator.html +0 -53
  164. data/_includes/themes/j1/modules/search/algolia.html +0 -181
  165. data/_includes/themes/j1/modules/search/docsearch.html +0 -42
  166. data/assets/data/disqus.js +0 -81
  167. data/assets/data/hyvor.js +0 -72
  168. data/lib/starter_web/pages/_test_pages/100_side-bar-tester.adoc +0 -244
  169. data/lib/starter_web/pages/_test_pages/_includes/attributes.asciidoc +0 -110
  170. data/lib/starter_web/pages/_test_pages/_includes/documents/100_gistblock.asciidoc +0 -28
  171. data/lib/starter_web/pages/_test_pages/_includes/documents/410_bottom_info.asciidoc +0 -14
  172. data/lib/starter_web/pages/_test_pages/_includes/documents/410_bottom_left_warning.asciidoc +0 -11
  173. data/lib/starter_web/pages/_test_pages/_includes/documents/410_bottom_right_danger.asciidoc +0 -11
  174. data/lib/starter_web/pages/_test_pages/_includes/documents/410_central_success.asciidoc +0 -11
  175. data/lib/starter_web/pages/_test_pages/_includes/documents/410_full_height_left_info.asciidoc +0 -11
  176. data/lib/starter_web/pages/_test_pages/_includes/documents/410_full_height_right_success.asciidoc +0 -11
  177. data/lib/starter_web/pages/_test_pages/_includes/documents/410_table_bs_modal_examples.asciidoc +0 -47
  178. data/lib/starter_web/pages/_test_pages/_includes/documents/410_top_info.asciidoc +0 -11
  179. data/lib/starter_web/pages/_test_pages/_includes/documents/410_top_left_info.asciidoc +0 -11
  180. data/lib/starter_web/pages/_test_pages/_includes/documents/410_top_right_success.asciidoc +0 -11
  181. data/lib/starter_web/pages/_test_pages/_includes/documents/419_advanced_modals_demo.asciidoc +0 -337
  182. data/lib/starter_web/pages/_test_pages/_includes/documents/tables/bs_modal_examples.asciidoc +0 -47
  183. data/lib/starter_web/pages/_test_pages/accordion-01-tester.adoc +0 -220
  184. data/lib/starter_web/pages/_test_pages/accordion-02-tester.adoc +0 -177
  185. data/lib/starter_web/pages/_test_pages/accordion-03-tester.adoc +0 -148
  186. data/lib/starter_web/pages/_test_pages/attribute-changes-01-tester.adoc +0 -226
  187. data/lib/starter_web/pages/_test_pages/backdrop-tester.adoc +0 -109
  188. data/lib/starter_web/pages/_test_pages/button-tester-1.adoc +0 -127
  189. data/lib/starter_web/pages/_test_pages/card-tester.adoc +0 -128
  190. data/lib/starter_web/pages/_test_pages/cookieConsent.adoc +0 -96
  191. data/lib/starter_web/pages/_test_pages/deepl.0.adoc +0 -258
  192. data/lib/starter_web/pages/_test_pages/deepl.adoc +0 -204
  193. data/lib/starter_web/pages/_test_pages/desandro-button.adoc +0 -171
  194. data/lib/starter_web/pages/_test_pages/desandro.adoc +0 -147
  195. data/lib/starter_web/pages/_test_pages/flipcard-1-tester.adoc +0 -308
  196. data/lib/starter_web/pages/_test_pages/formular-01-tester.adoc +0 -167
  197. data/lib/starter_web/pages/_test_pages/formular-02-tester.adoc +0 -727
  198. data/lib/starter_web/pages/_test_pages/google-translate-tester.0.adoc +0 -113
  199. data/lib/starter_web/pages/_test_pages/google-translate-tester.1.adoc +0 -231
  200. data/lib/starter_web/pages/_test_pages/google-translate-tester.3.adoc +0 -149
  201. data/lib/starter_web/pages/_test_pages/google-translate-tester.4.adoc +0 -237
  202. data/lib/starter_web/pages/_test_pages/infinite-scroll-tester-2.adoc +0 -183
  203. data/lib/starter_web/pages/_test_pages/infinite-scroll-tester-3.adoc +0 -235
  204. data/lib/starter_web/pages/_test_pages/infinite-scroll-tester-4.adoc +0 -222
  205. data/lib/starter_web/pages/_test_pages/infinite-scroll-tester-5.adoc +0 -119
  206. data/lib/starter_web/pages/_test_pages/infinite-scroll-tester.1.adoc +0 -236
  207. data/lib/starter_web/pages/_test_pages/infinite-scroll-tester.adoc +0 -225
  208. data/lib/starter_web/pages/_test_pages/list-group-tester.adoc +0 -265
  209. 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.8
440
+ :j1--version: 2022.0.12
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>
@@ -364,6 +364,6 @@ end
364
364
 
365
365
  module Jekyll
366
366
  module J1LunrSearch
367
- VERSION = '2022.0.8'
367
+ VERSION = '2022.0.12'
368
368
  end
369
369
  end
@@ -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: [ 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: [ 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.
@@ -23,7 +23,6 @@ personalization: false
23
23
  exclude_from_search: false
24
24
 
25
25
  analytics: true
26
- advertising: false
27
26
  comments: false
28
27
 
29
28
  fab_menu_id: default
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "private": true,
3
3
  "name": "j1_starter",
4
- "version": "2022.0.8",
4
+ "version": "2022.0.12",
5
5
  "description": "J1 Template Starter Web",
6
6
  "homepage": "https://your.site",
7
7
  "author": {
@@ -15,7 +15,6 @@ categories: [ Knowledge ]
15
15
  tags: [ Asciidoc, Skeleton, Documentation, PDF ]
16
16
 
17
17
  sitemap: false
18
- advertising: false
19
18
  comments: false
20
19
 
21
20
  robots:
@@ -13,7 +13,6 @@ categories: [ Knowledge ]
13
13
  tags: [ Asciidoc, Skeleton, Document ]
14
14
 
15
15
  sitemap: false
16
- advertising: false
17
16
  comments: false
18
17
 
19
18
  robots:
@@ -12,7 +12,6 @@ categories: [ Knowledge ]
12
12
  tags: [ Asciidoc, Skeleton, Document ]
13
13
 
14
14
  sitemap: false
15
- advertising: false
16
15
  comments: false
17
16
 
18
17
  robots:
@@ -17,7 +17,6 @@ pagination:
17
17
  permalink: /page:num/
18
18
 
19
19
  analytics: true
20
- advertising: false
21
20
  comments: false
22
21
 
23
22
  exclude_from_search: true
@@ -16,7 +16,6 @@ pagination:
16
16
  permalink: /page:num/
17
17
 
18
18
  analytics: true
19
- advertising: false
20
19
  comments: false
21
20
 
22
21
  exclude_from_search: true
@@ -17,7 +17,6 @@ pagination:
17
17
  permalink: /page:num/
18
18
 
19
19
  analytics: true
20
- advertising: false
21
20
  comments: false
22
21
 
23
22
  exclude_from_search: true
@@ -16,7 +16,6 @@ pagination:
16
16
  permalink: /page:num/
17
17
 
18
18
  analytics: false
19
- advertising: false
20
19
  comments: false
21
20
 
22
21
  exclude_from_search: true
@@ -18,7 +18,6 @@ toc: true
18
18
  fab_menu_id: default
19
19
 
20
20
  analytics: true
21
- advertising: false
22
21
  comments: false
23
22
 
24
23
  regenerate: true # needed to update pagination pages
@@ -16,8 +16,10 @@ permalink: /pages/public/learn/roundtrip/present_im
16
16
  regenerate: false
17
17
 
18
18
  resources: [
19
- animate, clipboard, rouge, carousel, lightbox,
20
- justifiedGallery, lightGallery
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