j1-template 2022.4.10 → 2022.5.0.rc0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (195) hide show
  1. checksums.yaml +4 -4
  2. data/_includes/themes/j1/modules/navigator/procedures/topsearch.proc +6 -6
  3. data/assets/data/fab.html +1 -1
  4. data/assets/data/panel.html +1 -1
  5. data/assets/themes/j1/adapter/js/attic.js +18 -3
  6. data/assets/themes/j1/adapter/js/navigator.js +19 -85
  7. data/assets/themes/j1/adapter/js/themer.js +5 -0
  8. data/assets/themes/j1/core/css/themes/unodark/bootstrap.css +23 -26
  9. data/assets/themes/j1/core/css/themes/unodark/bootstrap.min.css +1 -1
  10. data/assets/themes/j1/core/css/themes/unolight/bootstrap.css +7 -7
  11. data/assets/themes/j1/core/css/themes/unolight/bootstrap.min.css +2 -2
  12. data/assets/themes/j1/core/css/vendor.css +5 -1
  13. data/assets/themes/j1/core/css/vendor.min.css +1 -1
  14. data/assets/themes/j1/modules/backstretch/js/backstretch.js +3 -1
  15. data/assets/themes/j1/modules/backstretch/js/backstretch.min.js +1 -1
  16. data/lib/j1/commands/generate.rb +12 -1
  17. data/lib/j1/patches/rubygems/eventmachine-1.2.7-x64-mingw32/lib/3.0/fastfilereaderext.so +0 -0
  18. data/lib/j1/patches/rubygems/eventmachine-1.2.7-x64-mingw32/lib/3.0/rubyeventmachine.so +0 -0
  19. data/lib/j1/patches/rubygems/eventmachine-1.2.7-x64-mingw32/lib/3.1/fastfilereaderext.so +0 -0
  20. data/lib/j1/patches/rubygems/eventmachine-1.2.7-x64-mingw32/lib/3.1/rubyeventmachine.so +0 -0
  21. data/lib/j1/version.rb +1 -1
  22. data/lib/starter_web/Gemfile +270 -223
  23. data/lib/starter_web/_config.yml +6 -9
  24. data/lib/starter_web/_data/modules/attics.yml +13 -4
  25. data/lib/starter_web/_data/modules/defaults/attics.yml +1 -1
  26. data/lib/starter_web/_data/modules/defaults/navigator.yml +3 -3
  27. data/lib/starter_web/_data/modules/defaults/themer.yml +1 -1
  28. data/lib/starter_web/_data/modules/navigator.yml +3 -3
  29. data/lib/starter_web/_data/modules/navigator_menu.yml +238 -157
  30. data/lib/starter_web/_includes/_attributes.asciidoc +575 -0
  31. data/lib/starter_web/_includes/attributes.asciidoc +41 -40
  32. data/lib/starter_web/_plugins/lunr_index.rb +1 -1
  33. data/lib/starter_web/assets/images/{modules/icons → icons}/asciidoc/logo-512x512.png +0 -0
  34. data/lib/starter_web/assets/images/{modules/icons → icons}/bokeh/bokeh-32x32.ico +0 -0
  35. data/lib/starter_web/assets/images/{modules/icons → icons}/bokeh/bokeh.ico +0 -0
  36. data/lib/starter_web/assets/images/{modules/icons → icons}/bokeh/logo-160x160.png +0 -0
  37. data/lib/starter_web/assets/images/{modules/icons → icons}/bootstrap/bootstrap-solid-32x32.png +0 -0
  38. data/lib/starter_web/assets/images/{modules/icons → icons}/bootstrap/bs-docs-masthead-pattern.png +0 -0
  39. data/lib/starter_web/assets/images/{modules/icons → icons}/bootstrap/scalable/bootstrap-outline.svg +0 -0
  40. data/lib/starter_web/assets/images/{modules/icons → icons}/bootstrap/scalable/bootstrap-punchout.svg +0 -0
  41. data/lib/starter_web/assets/images/{modules/icons → icons}/bootstrap/scalable/bootstrap-solid.svg +0 -0
  42. data/lib/starter_web/assets/images/{modules/icons → icons}/components/angular.ui.png +0 -0
  43. data/lib/starter_web/assets/images/{modules/icons → icons}/components/angularjs.png +0 -0
  44. data/lib/starter_web/assets/images/{modules/icons → icons}/components/aws.png +0 -0
  45. data/lib/starter_web/assets/images/{modules/icons → icons}/components/bootstrap.png +0 -0
  46. data/lib/starter_web/assets/images/{modules/icons → icons}/components/c9.png +0 -0
  47. data/lib/starter_web/assets/images/{modules/icons → icons}/components/chai.png +0 -0
  48. data/lib/starter_web/assets/images/{modules/icons → icons}/components/emmet.png +0 -0
  49. data/lib/starter_web/assets/images/{modules/icons → icons}/components/express.png +0 -0
  50. data/lib/starter_web/assets/images/{modules/icons → icons}/components/git.png +0 -0
  51. data/lib/starter_web/assets/images/{modules/icons → icons}/components/github.png +0 -0
  52. data/lib/starter_web/assets/images/{modules/icons → icons}/components/gulp.png +0 -0
  53. data/lib/starter_web/assets/images/{modules/icons → icons}/components/heroku.png +0 -0
  54. data/lib/starter_web/assets/images/{modules/icons → icons}/components/htmlcss-1.png +0 -0
  55. data/lib/starter_web/assets/images/{modules/icons → icons}/components/htmlcss-2.png +0 -0
  56. data/lib/starter_web/assets/images/{modules/icons → icons}/components/jasmine.png +0 -0
  57. data/lib/starter_web/assets/images/{modules/icons → icons}/components/javascript.png +0 -0
  58. data/lib/starter_web/assets/images/{modules/icons → icons}/components/jquery.png +0 -0
  59. data/lib/starter_web/assets/images/{modules/icons → icons}/components/kanban.png +0 -0
  60. data/lib/starter_web/assets/images/{modules/icons → icons}/components/leanux.png +0 -0
  61. data/lib/starter_web/assets/images/{modules/icons → icons}/components/linkedin.png +0 -0
  62. data/lib/starter_web/assets/images/{modules/icons → icons}/components/mean.png +0 -0
  63. data/lib/starter_web/assets/images/{modules/icons → icons}/components/mongodb.png +0 -0
  64. data/lib/starter_web/assets/images/{modules/icons → icons}/components/node.png +0 -0
  65. data/lib/starter_web/assets/images/{modules/icons → icons}/components/postgresql.png +0 -0
  66. data/lib/starter_web/assets/images/{modules/icons → icons}/components/protractor.png +0 -0
  67. data/lib/starter_web/assets/images/{modules/icons → icons}/components/rails.png +0 -0
  68. data/lib/starter_web/assets/images/{modules/icons → icons}/components/ruby.png +0 -0
  69. data/lib/starter_web/assets/images/{modules/icons → icons}/components/sass.png +0 -0
  70. data/lib/starter_web/assets/images/{modules/icons → icons}/components/scrum.png +0 -0
  71. data/lib/starter_web/assets/images/{modules/icons → icons}/components/twitter.png +0 -0
  72. data/lib/starter_web/assets/images/{modules/icons → icons}/github/avatar-icon.png +0 -0
  73. data/lib/starter_web/assets/images/icons/hyvor-talk/hyvor-logo.24x24.png +0 -0
  74. data/lib/starter_web/assets/images/icons/hyvor-talk/hyvor-logo.512x512.png +0 -0
  75. data/lib/starter_web/assets/images/icons/hyvor-talk/hyvore-talk.ico +0 -0
  76. data/lib/starter_web/assets/images/icons/hyvor-talk/scalable/hyvor-logo.svg +81 -0
  77. data/lib/starter_web/assets/images/{modules/icons → icons}/j1/favicon.ico +0 -0
  78. data/lib/starter_web/assets/images/{modules/icons → icons}/j1/j1-256x256.gif +0 -0
  79. data/lib/starter_web/assets/images/{modules/icons → icons}/j1/j1-256x256.png +0 -0
  80. data/lib/starter_web/assets/images/{modules/icons → icons}/j1/j1-32x32.ico +0 -0
  81. data/lib/starter_web/assets/images/{modules/icons → icons}/j1/j1-512x512.png +0 -0
  82. data/lib/starter_web/assets/images/{modules/icons → icons}/j1/j1-64x64.png +0 -0
  83. data/lib/starter_web/assets/images/{modules/icons → icons}/j1/j1.ico +0 -0
  84. data/lib/starter_web/assets/images/{modules/icons → icons}/j1/scalable/j1.svg +0 -0
  85. data/lib/starter_web/assets/images/{modules/icons → icons}/jupyter/jupyter-32x32.ico +0 -0
  86. data/lib/starter_web/assets/images/{modules/icons → icons}/jupyter/jupyter.ico +0 -0
  87. data/lib/starter_web/assets/images/{modules/icons → icons}/jupyter/logo.png +0 -0
  88. data/lib/starter_web/assets/images/{modules/icons → icons}/os/centos/centos-icon.png +0 -0
  89. data/lib/starter_web/assets/images/{modules/icons → icons}/os/centos/centos.ico +0 -0
  90. data/lib/starter_web/assets/images/{modules/icons → icons}/os/suse/suse.gif +0 -0
  91. data/lib/starter_web/assets/images/{modules/icons → icons}/os/suse/suse.ico +0 -0
  92. data/lib/starter_web/assets/images/{modules/icons → icons}/os/suse/suse.png +0 -0
  93. data/lib/starter_web/assets/images/{modules/icons → icons}/os/ubuntu/cof_black_hex.png +0 -0
  94. data/lib/starter_web/assets/images/{modules/icons → icons}/os/ubuntu/cof_orange_hex.png +0 -0
  95. data/lib/starter_web/assets/images/{modules/icons → icons}/os/ubuntu/cof_white-black_hex.png +0 -0
  96. data/lib/starter_web/assets/images/{modules/icons → icons}/os/ubuntu/cof_white-orange_hex.png +0 -0
  97. data/lib/starter_web/assets/images/{modules/icons → icons}/os/ubuntu/ubuntu.ico +0 -0
  98. data/lib/starter_web/assets/images/{modules/icons → icons}/os/windows/windows.png +0 -0
  99. data/lib/starter_web/assets/images/{modules/icons → icons}/os/windows/windows_flags_color.ico +0 -0
  100. data/lib/starter_web/assets/images/{modules/icons → icons}/os/windows/windows_hdd.ico +0 -0
  101. data/lib/starter_web/assets/images/{modules/icons → icons}/os/windows/windows_store.ico +0 -0
  102. data/lib/starter_web/assets/images/{modules/icons → icons}/social/amazon.png +0 -0
  103. data/lib/starter_web/assets/images/{modules/icons → icons}/social/behance.png +0 -0
  104. data/lib/starter_web/assets/images/{modules/icons → icons}/social/blogger.png +0 -0
  105. data/lib/starter_web/assets/images/{modules/icons → icons}/social/deviantart.png +0 -0
  106. data/lib/starter_web/assets/images/{modules/icons → icons}/social/dribbble.png +0 -0
  107. data/lib/starter_web/assets/images/{modules/icons → icons}/social/dropbox.png +0 -0
  108. data/lib/starter_web/assets/images/{modules/icons → icons}/social/evernote.png +0 -0
  109. data/lib/starter_web/assets/images/{modules/icons → icons}/social/facebook.png +0 -0
  110. data/lib/starter_web/assets/images/{modules/icons → icons}/social/forrst.png +0 -0
  111. data/lib/starter_web/assets/images/{modules/icons → icons}/social/github.png +0 -0
  112. data/lib/starter_web/assets/images/{modules/icons → icons}/social/googleplus.png +0 -0
  113. data/lib/starter_web/assets/images/{modules/icons → icons}/social/instagram.png +0 -0
  114. data/lib/starter_web/assets/images/{modules/icons → icons}/social/jolicloud.png +0 -0
  115. data/lib/starter_web/assets/images/{modules/icons → icons}/social/last-fm.png +0 -0
  116. data/lib/starter_web/assets/images/{modules/icons → icons}/social/linkedin.png +0 -0
  117. data/lib/starter_web/assets/images/{modules/icons → icons}/social/picasa.png +0 -0
  118. data/lib/starter_web/assets/images/{modules/icons → icons}/social/pintrest.png +0 -0
  119. data/lib/starter_web/assets/images/{modules/icons → icons}/social/rss.png +0 -0
  120. data/lib/starter_web/assets/images/{modules/icons → icons}/social/skype.png +0 -0
  121. data/lib/starter_web/assets/images/{modules/icons → icons}/social/spotify.png +0 -0
  122. data/lib/starter_web/assets/images/{modules/icons → icons}/social/stumbleupon.png +0 -0
  123. data/lib/starter_web/assets/images/{modules/icons → icons}/social/tumblr.png +0 -0
  124. data/lib/starter_web/assets/images/{modules/icons → icons}/social/twitter.png +0 -0
  125. data/lib/starter_web/assets/images/{modules/icons → icons}/social/vimeo.png +0 -0
  126. data/lib/starter_web/assets/images/{modules/icons → icons}/social/vk.png +0 -0
  127. data/lib/starter_web/assets/images/{modules/icons → icons}/social/wordpress.png +0 -0
  128. data/lib/starter_web/assets/images/{modules/icons → icons}/social/xing.png +0 -0
  129. data/lib/starter_web/assets/images/{modules/icons → icons}/social/yahoo.png +0 -0
  130. data/lib/starter_web/assets/images/{modules/icons → icons}/social/youtube.png +0 -0
  131. data/lib/starter_web/assets/images/modules/attics/1920x1280/alexander-redl.jpg +0 -0
  132. data/lib/starter_web/assets/images/modules/attics/1920x1280/harpal-singh.jpg +0 -0
  133. data/lib/starter_web/assets/images/modules/attics/1920x1280/john-schnobrich-2.jpg +0 -0
  134. data/lib/starter_web/assets/images/modules/attics/alexander-redl.jpg +0 -0
  135. data/lib/starter_web/assets/images/modules/attics/harpal-singh.jpg +0 -0
  136. data/lib/starter_web/collections/posts/public/featured/_posts/2021-01-01-about-cookies.adoc +2 -2
  137. data/lib/starter_web/collections/posts/public/featured/_posts/2021-02-01-site-generators.adoc +3 -2
  138. data/lib/starter_web/collections/posts/public/featured/_posts/{2022-02-28-about-j1.adoc → 2022-02-01-about-j1.adoc} +2 -3
  139. data/lib/starter_web/collections/posts/public/featured/_posts/_includes/attributes.asciidoc +2 -2
  140. data/lib/starter_web/index.html +6 -2
  141. data/lib/starter_web/package.json +2 -2
  142. data/lib/starter_web/pages/public/features/general.adoc +0 -1
  143. data/lib/starter_web/pages/public/features/template.adoc +4 -5
  144. data/lib/starter_web/pages/public/jupyter/examples/distributed/j1-common-used-widgets.adoc +1 -1
  145. data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/j1_circular_times_table.html +747 -747
  146. data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/j1_climate_change_forecast.html +1250 -1250
  147. data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/j1_docs_example_dynamic.html +186 -186
  148. data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/j1_interactive_widgets.html +512 -512
  149. data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/j1_nbi_widgets.html +629 -629
  150. data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/j1_nbi_widgets_bar_chart.html +95 -95
  151. data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/j1_nbi_widgets_hist_chart.html +93 -93
  152. data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/j1_nbi_widgets_line_chart.html +96 -96
  153. data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/j1_nbi_widgets_question_multiple_choice.html +70 -70
  154. data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/j1_nbi_widgets_question_short_answer.html +156 -156
  155. data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/j1_nbi_widgets_scatter_chart.html +95 -95
  156. data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/j1_nbi_widgets_scatter_drag_chart.html +93 -93
  157. data/lib/starter_web/pages/public/jupyter/notebooks/textbooks/j1_odes_in_python.html +955 -955
  158. data/lib/starter_web/pages/public/learn/_roundtrip/100_present_images.adoc +313 -0
  159. data/lib/starter_web/pages/public/learn/_roundtrip/100_present_videos.adoc +281 -0
  160. data/lib/starter_web/pages/public/learn/_roundtrip/200_typography.adoc +253 -0
  161. data/lib/starter_web/pages/public/learn/_roundtrip/300_icon_fonts.adoc +579 -0
  162. data/lib/starter_web/pages/public/learn/_roundtrip/400_asciidoc_extensions.adoc +719 -0
  163. data/lib/starter_web/pages/public/learn/_roundtrip/410_bs_modals_extentions.adoc +91 -0
  164. data/lib/starter_web/pages/public/learn/_roundtrip/420_responsive_tables_extensions.adoc +420 -0
  165. data/lib/starter_web/pages/public/learn/_roundtrip/500_themes.adoc +250 -0
  166. data/lib/starter_web/pages/public/learn/_roundtrip/600_quicksearch.adoc +425 -0
  167. data/lib/starter_web/pages/public/learn/_roundtrip/_includes/attributes.asciidoc +118 -0
  168. data/lib/starter_web/pages/public/learn/_roundtrip/_includes/documents/100_gistblock.asciidoc +28 -0
  169. data/lib/starter_web/pages/public/learn/_roundtrip/_includes/documents/410_bottom_info.asciidoc +14 -0
  170. data/lib/starter_web/pages/public/learn/_roundtrip/_includes/documents/410_bottom_left_warning.asciidoc +11 -0
  171. data/lib/starter_web/pages/public/learn/_roundtrip/_includes/documents/410_bottom_right_danger.asciidoc +11 -0
  172. data/lib/starter_web/pages/public/learn/_roundtrip/_includes/documents/410_central_success.asciidoc +11 -0
  173. data/lib/starter_web/pages/public/learn/_roundtrip/_includes/documents/410_full_height_left_info.asciidoc +11 -0
  174. data/lib/starter_web/pages/public/learn/_roundtrip/_includes/documents/410_full_height_right_success.asciidoc +11 -0
  175. data/lib/starter_web/pages/public/learn/_roundtrip/_includes/documents/410_table_bs_modal_examples.asciidoc +47 -0
  176. data/lib/starter_web/pages/public/learn/_roundtrip/_includes/documents/410_top_info.asciidoc +11 -0
  177. data/lib/starter_web/pages/public/learn/_roundtrip/_includes/documents/410_top_left_info.asciidoc +11 -0
  178. data/lib/starter_web/pages/public/learn/_roundtrip/_includes/documents/410_top_right_success.asciidoc +11 -0
  179. data/lib/starter_web/pages/public/learn/_roundtrip/_includes/documents/419_advanced_modals_demo.asciidoc +337 -0
  180. data/lib/starter_web/pages/public/learn/_roundtrip/_includes/documents/tables/bs_modal_examples.asciidoc +47 -0
  181. data/lib/starter_web/pages/public/learn/_roundtrip/_includes/google-ad.js +130 -0
  182. data/lib/starter_web/pages/public/learn/roundtrip/100_present_images.adoc +1 -1
  183. data/lib/starter_web/pages/public/learn/roundtrip/300_icon_fonts.adoc +2 -1
  184. data/lib/starter_web/pages/public/learn/roundtrip/400_asciidoc_extensions.adoc +0 -28
  185. data/lib/starter_web/pages/public/learn/roundtrip/500_themes.adoc +1 -1
  186. data/lib/starter_web/pages/public/learn/roundtrip/_includes/attributes.asciidoc +6 -6
  187. data/lib/starter_web/pages/public/panels/intro_panel/_includes/attributes.asciidoc +5 -5
  188. data/lib/starter_web/pages/public/previewer/preview_bootstrap_theme.adoc +3 -3
  189. data/lib/starter_web/pages/public/se/se-fake.adoc +44 -0
  190. data/lib/starter_web/utilsrv/_defaults/package.json +1 -1
  191. data/lib/starter_web/utilsrv/package.json +1 -1
  192. metadata +179 -149
  193. data/assets/data/twa_v1.json +0 -7039
  194. data/lib/starter_web/collections/posts/public/featured/_posts/2021-01-01-about-cookies.ads.asciidoc +0 -196
  195. data/lib/starter_web/collections/posts/public/featured/_posts/2021-01-01-about-cookies.comments.asciidoc +0 -182
@@ -1,196 +0,0 @@
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.
@@ -1,182 +0,0 @@
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.