Skip to content

Commit 12c9018

Browse files
author
Donatas Stonys
committed
'Read more...' links changed.
Signed-off-by: Donatas Stonys <[email protected]>
1 parent 4a5c3bf commit 12c9018

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

A simple cookie warning/warnCookies.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ function acceptCookies() {
8989
document.getElementById("cookiesWarning").appendChild(newCookiesWarningDiv).setAttribute("id", "cookiesWarningActive");
9090
document.getElementById("cookiesWarningActive").innerHTML = "<strong id='text'>We would like to place cookies on your computer to help us make this website better. </strong><span id='readMoreURL'></span><form name='cookieAgreement'><input type='checkbox' name='agreed' value='Agreed' class='checkbox'><span class='acceptance'>I accept cookies from this site.</span><input type='submit' value='Continue' onclick='getAgreementValue(); return false;' class='button'></form>";
9191
// Change the URL of "Read more..." here
92-
document.getElementById("readMoreURL").innerHTML = "<a href='https://github.com/BlueWhaleSEO/JavaScript.git' title='ICO - New EU cookie law (e-Privacy Directive)' target='_blank' rel='nofollow'>Read more...</a>";
92+
document.getElementById("readMoreURL").innerHTML = "<a href='https://ico.org.uk/for-organisations/guide-to-pecr/cookies/' title='ICO - New EU cookie law (e-Privacy Directive)' target='_blank' rel='nofollow'>Read more...</a>";
9393
}
9494

9595
function acceptCookiesTickBoxWarning() {
@@ -99,7 +99,7 @@ function acceptCookiesTickBoxWarning() {
9999
document.getElementById("cookiesWarning").appendChild(newCookiesWarningDiv).setAttribute("id", "cookiesWarningActive");
100100
document.getElementById("cookiesWarningActive").innerHTML = "<strong id='text'>We would like to place cookies on your computer to help us make this website better. </strong><span id='readMoreURL'></span><form name='cookieAgreement'><p id='warning'><small>You must tick the 'I accept cookies from this site' box to accept. If you continue without changing your settings, we'll assume that you agree to receive all cookies on this website.</small></p><input type='checkbox' name='agreed' value='Agreed' class='checkbox'><span class='acceptance'>I accept cookies from this site.</span><input type='submit' value='Continue' onclick='getAgreementValue()' class='button'></form>";
101101
// Change the URL of "Read more..." here
102-
document.getElementById("readMoreURL").innerHTML = "<a href='https://github.com/BlueWhaleSEO/JavaScript.git' title='ICO - New EU cookie law (e-Privacy Directive)' target='_blank' rel='nofollow'>Read more...</a>";
102+
document.getElementById("readMoreURL").innerHTML = "<a href='https://ico.org.uk/for-organisations/guide-to-pecr/cookies/' title='ICO - New EU cookie law (e-Privacy Directive)' target='_blank' rel='nofollow'>Read more...</a>";
103103
}
104104

105105
// Check if cookie has been set before //

0 commit comments

Comments
 (0)