欧盟饼干法和 Javascript
Eu Cookies Law and Javascript
这可能不是技术问题,而是与立法有关:
在这些年里,欧洲国家正在根据欧盟 cookie 法进行调整(综合而言,每个网站都必须 inform/asks agreement/and 以此类推,向用户告知网站使用的各种 cookie。
最近我们花了一些时间来分析一下informer banner/pop 可能的实现方式。我们的疑问涉及 javascript 实施,例如此处建议的 https://www.cookiechoices.org/ 与 Google 协作。
这些实现 - 纯 Javascript - 应该只在浏览器启用 javascript 时工作,那么如果浏览器禁用 javascript 会怎样?这个网站会违法吗?
These implementations - pure Javascript - should work only if a browser enables javascript, so what happens if a browser disables javascript? Would this web site outlaw?
用于显示协议的机制非常简单,已在第一页进行了说明,并且可以通过服务器端代码实现,就像在 Javascript:
中一样
With each tool, you can customise a notice or statement directed to your visitors and invite your visitors to close the message (using wording of your choice such as "close", "accept" or "I agree"). Users also have the option of clicking a link to another page, such as a page that explains how your site uses cookies (again, you choose the wording for this link text). If users close the message, a cookie will be set to your domain. It is called 'displayCookieConsent' and has the value 'y'.
只需在 div 中放置一个 iframe 即可在服务器端传达 cookie 首选项。
尽管您的问题具体与 cookiechoice 网站提供的工具有关,但您无疑知道 ePrivacy 指令第 5(3) 条的范围和条件上下文要广泛得多,可能会否定对此类工具的需求同意,或者实际上,根据您的应用程序,需要能够允许和处理用户明确拒绝 cookie 的情况。因此,您的网站是否非法(这也带来了指令在不同司法管辖区的实施问题)在很大程度上取决于您的网站做什么以及它如何使用 cookie。 (例如,参见 this discussion 豁免)
这可能不是技术问题,而是与立法有关:
在这些年里,欧洲国家正在根据欧盟 cookie 法进行调整(综合而言,每个网站都必须 inform/asks agreement/and 以此类推,向用户告知网站使用的各种 cookie。 最近我们花了一些时间来分析一下informer banner/pop 可能的实现方式。我们的疑问涉及 javascript 实施,例如此处建议的 https://www.cookiechoices.org/ 与 Google 协作。
这些实现 - 纯 Javascript - 应该只在浏览器启用 javascript 时工作,那么如果浏览器禁用 javascript 会怎样?这个网站会违法吗?
These implementations - pure Javascript - should work only if a browser enables javascript, so what happens if a browser disables javascript? Would this web site outlaw?
用于显示协议的机制非常简单,已在第一页进行了说明,并且可以通过服务器端代码实现,就像在 Javascript:
中一样With each tool, you can customise a notice or statement directed to your visitors and invite your visitors to close the message (using wording of your choice such as "close", "accept" or "I agree"). Users also have the option of clicking a link to another page, such as a page that explains how your site uses cookies (again, you choose the wording for this link text). If users close the message, a cookie will be set to your domain. It is called 'displayCookieConsent' and has the value 'y'.
只需在 div 中放置一个 iframe 即可在服务器端传达 cookie 首选项。
尽管您的问题具体与 cookiechoice 网站提供的工具有关,但您无疑知道 ePrivacy 指令第 5(3) 条的范围和条件上下文要广泛得多,可能会否定对此类工具的需求同意,或者实际上,根据您的应用程序,需要能够允许和处理用户明确拒绝 cookie 的情况。因此,您的网站是否非法(这也带来了指令在不同司法管辖区的实施问题)在很大程度上取决于您的网站做什么以及它如何使用 cookie。 (例如,参见 this discussion 豁免)