Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#11 2020-05-22 08:20:35

hilaryaq
Plugin Author
Registered: 2006-08-20
Posts: 265
Website

Re: Magician website

I can’t upload an image here, but web inspector shows two cookies in console, one is my txp login cookie, which obviously is only set for me, the other is the no cookie YouTube which is completely empty and stays that way even after play is clicked.. no tracking at all..


…………………
I <3 txp
…………………

Offline

#12 2020-05-22 08:36:05

hilaryaq
Plugin Author
Registered: 2006-08-20
Posts: 265
Website

Re: Magician website

I can see more in Chrome so I’ll investigate, thanks for the code you linked earlier may well use that!

Weird because no cookie is meant to be.. no cookie!!


…………………
I <3 txp
…………………

Offline

#13 2020-05-22 08:51:34

hilaryaq
Plugin Author
Registered: 2006-08-20
Posts: 265
Website

Re: Magician website

It seems like it’s because I’m logged into YouTube on chrome maybe.. so in Firefox I see no cookies at all in the nocookie mode under the inspector panel, but in chrome I can but it is possible they have followed me from YouTube as a logged in person.. according to Firefox the nocookie is empty and according to chrome I see cookies but I wonder is that because I consented to that on the YouTube side. There’s a login_info cookie and a cookie labelled consent dated 2017.. which looks like I consented on the YouTube side maybe.


…………………
I <3 txp
…………………

Offline

#14 2020-05-22 09:06:24

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 8,043
Website

Re: Magician website

hilaryaq wrote #323143:

That’s strange, why wouldn’t they show in the inspector>console then?

Is it saying it’s from the YouTube video?

Here they are:)

  • ajax.googleapis.com
  • use.fontawesome.com
  • fonts.googleapis.com
  • yt3.ggpht.com
  • fonts.gstatic.com
  • www.youtube-nocookie.com
  • www.youtube.com
  • i.ytimg.com
  • s.ytimg.com

and these are from the home page

  • ajax.googleapis.com
  • use.fontawesome.com
  • fonts.googleapis.com
  • www.youtube-nocookie.com
  • www.youtube.com
  • s.ytimg.com

Yiannis
——————————
neme.org | hblack.net | LABS | State Machines | NeMe @ github | Covid-19; a resource
I do my best editing after I click on the submit button.

Offline

#15 2020-05-22 09:09:30

gaekwad
Admin
From: People's Republic of Cornwall
Registered: 2005-11-19
Posts: 3,001

Re: Magician website

Well done! I spotted a small snag with the ‘Book Me’ button in the header – see below:

https://youtu.be/xIYZFB01SPY

Video is unlisted, let me know when you want me to delete it.

Near the smaller breakpoint ‘Book Me’ splits over two lines. I only found this out with Tor when I was buying heaps of illegal narcotics cookie sleuthing, so it’s not likely to be a common occurrence, I don’t think.

I can’t test it here to say for sure, but a &nbsp; may fix it.

Online

#16 2020-05-22 09:11:36

hilaryaq
Plugin Author
Registered: 2006-08-20
Posts: 265
Website

Re: Magician website

haha, thanks for the video! I’ll set the breakpoint higher is the easiest way out of it, and the right way, thanks!


…………………
I <3 txp
…………………

Offline

#17 2020-05-22 10:35:00

hilaryaq
Plugin Author
Registered: 2006-08-20
Posts: 265
Website

Re: Magician website

I’ve just got rid of YouTube completely until I can implement the solution above, no time right now! There should be no cookies now bar necessary ones. I think a google font cdn link would count as ok, if we can’t load them it’s back to web default fonts :(


…………………
I <3 txp
…………………

Offline

#18 2020-05-22 10:36:31

gaekwad
Admin
From: People's Republic of Cornwall
Registered: 2005-11-19
Posts: 3,001

Re: Magician website

hilaryaq wrote #323159:

I think a google font cdn link would count as ok, if we can’t load them it’s back to web default fonts :(

For when you have time: google-webfonts-helper.herokuapp.com/fonts

Online

#19 2020-05-22 12:13:20

hilaryaq
Plugin Author
Registered: 2006-08-20
Posts: 265
Website

Re: Magician website

Great resource! Site is improved thank you :)


…………………
I <3 txp
…………………

Offline

#20 2020-05-22 17:59:06

hilaryaq
Plugin Author
Registered: 2006-08-20
Posts: 265
Website

Re: Magician website

For anyone following this, I was just hesitant to set parameters in the url as Google can pick those up (you can instruct it not to).. so I found very handy code at https://codereview.stackexchange.com/questions/216103/block-youtube-iframes-until-user-consents-with-cookies

Which is just showing how to load an image first with no cookies until consent is clicked, without setting any parameter value or re-loading the page. Handy code!

Thanks for all your help above :)


…………………
I <3 txp
…………………

Offline

Board footer

Powered by FluxBB