Browse Source

Removed cookies

redesign
Anxhelo Lushka 6 years ago
parent
commit
801cab16ef
  1. 1
      _includes/footer.html
  2. 4
      _layouts/default-post.html
  3. 4
      _layouts/default.html
  4. 57
      js/cookie.js
  5. 6
      privacy-policy.html

1
_includes/footer.html

@ -29,7 +29,6 @@
<script src="{{ "/bower_components/modernizr/modernizr.js" | prepend: site.baseurl }}"></script>
<script src="{{ "/js/app.js" | prepend: site.baseurl }}"></script>
<script src="{{ "/js/svg.js" | prepend: site.baseurl }}"></script>
<script src="{{ "/js/cookie.js" | prepend: site.baseurl }}"></script>
<script async src="{{ "/js/lazyload.min.js" | prepend: site.baseurl }}"></script>
<script>

4
_layouts/default-post.html

@ -10,10 +10,6 @@
{{ content }}
<div id="cookieConsent">
<div id="closeCookieConsent">x</div>
This website is using cookies. <a href="/privacy-policy" target="_blank">More info</a>. <a class="cookieConsentOK">That's Fine</a>
</div>
{% include footer.html %}

4
_layouts/default.html

@ -10,10 +10,6 @@
{{ content }}
<div id="cookieConsent" style="display: none;">
<div id="closeCookieConsent">x</div>
This website is using cookies. <a href="/privacy-policy" target="_blank">More info</a>. <a class="cookieConsentOK">That's Fine</a>
</div>
{% include footer.html %}

57
js/cookie.js

@ -1,57 +0,0 @@
jQuery(function($) {
checkCookie_eu();
function checkCookie_eu()
{
var consent = getCookie_eu("cookies_consent");
if (consent == null || consent == "" || consent == undefined)
{
// show notification bar
$(document).ready(function(){
setTimeout(function () {
$("#cookieConsent").fadeIn(200);
}, 2500);
});
}
}
function setCookie_eu(c_name,value,exdays)
{
var exdate = new Date();
exdate.setDate(exdate.getDate() + exdays);
var c_value = escape(value) + ((exdays==null) ? "" : "; expires="+exdate.toUTCString());
document.cookie = c_name + "=" + c_value+"; path=/";
$('#cookieConsent').fadeOut('200');
}
function getCookie_eu(c_name)
{
var i,x,y,ARRcookies=document.cookie.split(";");
for (i=0;i<ARRcookies.length;i++)
{
x=ARRcookies[i].substr(0,ARRcookies[i].indexOf("="));
y=ARRcookies[i].substr(ARRcookies[i].indexOf("=")+1);
x=x.replace(/^\s+|\s+$/g,"");
if (x==c_name)
{
return unescape(y);
}
}
}
$("#cookieConsent .cookieConsentOK").click(function(){
setCookie_eu("cookies_consent", 1, 30);
});
$("#cookieConsent #closeCookieConsent").click(function(){
$('#cookieConsent').fadeOut('200');
});
});

6
privacy-policy.html

@ -43,14 +43,11 @@ Ura also collects potentially personally-identifying information like Internet P
<p>Ura may collect statistics about the behavior of visitors to its websites. Ura may display this information publicly or provide it to others. However, Ura does not disclose personally-identifying information other than as described below.</p>
<p><strong>Information We Collect from Other Sources</strong></p>
<p>With your authorization, we may also obtain information about you from other sources. For example, if you create or log into your Ura account through a a Github account we will receive information from that service (such as your username, basic profile information etc) via the authorization procedures used by that service. The information we receive depends on which services you authorize and any options that are available.</p>
<p>With your authorization, we may also obtain information about you from other sources. For example, if you create or log into your Ura account through a Github account we will receive information from that service (such as your username, basic profile information etc) via the authorization procedures used by that service. The information we receive depends on which services you authorize and any options that are available.</p>
<p><strong>Protection of Certain Personally-Identifying Information</strong></p>
<p>Ura discloses potentially personally-identifying and personally-identifying information only to those of its employees, contractors and affiliated organizations that (i) need to know that information in order to process it on Ura’s behalf or to provide services available at Ura’s websites, and (ii) that have agreed not to disclose it to others. Some of those employees, contractors and affiliated organizations may be located outside of your home country; by using Ura’s websites, you consent to the transfer of such information to them. Ura will not rent or sell potentially personally-identifying and personally-identifying information to anyone. Other than to its employees, contractors and affiliated organizations, as described above, Ura discloses potentially personally-identifying and personally-identifying information only in response to a subpoena, court order or other governmental request, or when Ura believes in good faith that disclosure is reasonably necessary to protect the property or rights of Ura, third parties or the public at large. If you are a registered user of an Ura website and have supplied your email address, Ura may occasionally send you an email to tell you about new features, solicit your feedback, or just keep you up to date with what’s going on with Ura and our services. We primarily use our various product blogs to communicate this type of information, so we expect to keep this type of email to a minimum. If you send us a request, we reserve the right to publish it in order to help us clarify or respond to your request or to help us support other users. Ura takes all measures reasonably necessary to protect against the unauthorized access, use, alteration or destruction of potentially personally-identifying and personally-identifying information.</p>
<p><strong>Cookies</strong></p>
<p>A cookie is a string of information that a website stores on a visitor’s computer, and that the visitor’s browser provides to the website each time the visitor returns. Ura uses cookies to help Ura identify and track visitors, their usage of Ura website, and their website access preferences. Ura visitors who do not wish to have cookies placed on their computers should set their browsers to refuse cookies before using Ura’s website(s), with the drawback that certain features of Ura’s websites may not function properly without the aid of cookies.</p>
<p><strong>Business Transfers</strong></p>
<p>If Ura, or substantially all of its assets, were acquired, or in the unlikely event that Ura goes out of business or enters bankruptcy, user information would be one of the assets that is transferred or acquired by a third party. You acknowledge that such transfers may occur, and that any acquirer of Ura may continue to use your personal information as set forth in this policy.</p>
@ -59,6 +56,7 @@ Ura also collects potentially personally-identifying information like Internet P
<p>Change log:</p>
<ul>
<li>May 8, 2019: removal of Cookies.</li>
<li>March 1, 2018: first publication of the Privacy Policy document.</li>
</ul>
</div>

Loading…
Cancel
Save