diff --git a/webapp/titanembeds/static/css/embed.css b/webapp/titanembeds/static/css/embed.css index f273719..11ac1d5 100644 --- a/webapp/titanembeds/static/css/embed.css +++ b/webapp/titanembeds/static/css/embed.css @@ -632,6 +632,20 @@ a { font-size: 12pt; } +#third-party-cookies-notice .collapsible-header { + font-size: 1.3rem; + padding: 0.5rem; +} + +#third-party-cookies-notice .collapsible-body { + background-color: #f5f4f4; + padding-top: 1rem; +} + +#third-party-cookies-force-hide, #third-party-cookies-force-window { + cursor: pointer; +} + #nameplate { cursor: pointer; background: transparent; diff --git a/webapp/titanembeds/static/js/embed.js b/webapp/titanembeds/static/js/embed.js index edb4561..fecdc9b 100644 --- a/webapp/titanembeds/static/js/embed.js +++ b/webapp/titanembeds/static/js/embed.js @@ -2434,3 +2434,11 @@ window.setTimeout(function(){ window._3rd_party_test_step2_loaded(false); } }, 7*1000); + +$("#third-party-cookies-force-hide").click(function () { + window._3rd_party_test_step2_loaded(true); +}); + +$("#third-party-cookies-force-window").click(function () { + window.open(window.location.href); +}); diff --git a/webapp/titanembeds/templates/embed.html.j2 b/webapp/titanembeds/templates/embed.html.j2 index 9e63db3..781a85b 100644 --- a/webapp/titanembeds/templates/embed.html.j2 +++ b/webapp/titanembeds/templates/embed.html.j2 @@ -131,6 +131,22 @@