[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: New website - back to the old unicorn!
From: |
Stefan Nobis |
Subject: |
Re: New website - back to the old unicorn! |
Date: |
Wed, 28 Oct 2020 19:18:14 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.1 (darwin) |
Hi.
Thanks for your great work and the wonderful new page!
A minor detail: I use the plugin "Decentraleyes" and with this
activated there is quite a bit JavaScript garbage at the end of the
page (below the "Created by" footer). The part below the footer is
this:
#+begin_src js
{ const iframes = window.top.document.querySelectorAll("iframe[sandbox]"); for
(var i = 0; i < iframes.length; i++) { if (iframes[i].contentWindow) { if
(iframes[i].contentWindow.CanvasRenderingContext2D) {
iframes[i].contentWindow.CanvasRenderingContext2D.prototype.getImageData =
CanvasRenderingContext2D.prototype.getImageData; } if
(iframes[i].contentWindow.HTMLCanvasElement) {
iframes[i].contentWindow.HTMLCanvasElement.prototype.toBlob =
HTMLCanvasElement.prototype.toBlob;
iframes[i].contentWindow.HTMLCanvasElement.prototype.toDataURL =
HTMLCanvasElement.prototype.toDataURL; } } } }{ const iframes =
window.top.document.querySelectorAll("iframe[sandbox]"); for (var i = 0; i <
iframes.length; i++) { if (iframes[i].contentWindow) { if
(iframes[i].contentWindow.CanvasRenderingContext2D) {
iframes[i].contentWindow.CanvasRenderingContext2D.prototype.getImageData =
CanvasRenderingContext2D.prototype.getImageData; } if
(iframes[i].contentWindow.HTMLCanvasElement) {
iframes[i].contentWindow.HTMLCanvasElement.prototype.toBlob =
HTMLCanvasElement.prototype.toBlob;
iframes[i].contentWindow.HTMLCanvasElement.prototype.toDataURL =
HTMLCanvasElement.prototype.toDataURL; } } } }{ const iframes =
window.top.document.querySelectorAll("iframe[sandbox]"); for (var i = 0; i <
iframes.length; i++) { if (iframes[i].contentWindow) { if
(iframes[i].contentWindow.CanvasRenderingContext2D) {
iframes[i].contentWindow.CanvasRenderingContext2D.prototype.getImageData =
CanvasRenderingContext2D.prototype.getImageData; } if
(iframes[i].contentWindow.HTMLCanvasElement) {
iframes[i].contentWindow.HTMLCanvasElement.prototype.toBlob =
HTMLCanvasElement.prototype.toBlob;
iframes[i].contentWindow.HTMLCanvasElement.prototype.toDataURL =
HTMLCanvasElement.prototype.toDataURL; } } } }{ const iframes =
window.top.document.querySelectorAll("iframe[sandbox]"); for (var i = 0; i <
iframes.length; i++) { if (iframes[i].contentWindow) { if
(iframes[i].contentWindow.CanvasRenderingContext2D) {
iframes[i].contentWindow.CanvasRenderingContext2D.prototype.getImageData =
CanvasRenderingContext2D.prototype.getImageData; } if
(iframes[i].contentWindow.HTMLCanvasElement) {
iframes[i].contentWindow.HTMLCanvasElement.prototype.toBlob =
HTMLCanvasElement.prototype.toBlob;
iframes[i].contentWindow.HTMLCanvasElement.prototype.toDataURL =
HTMLCanvasElement.prototype.toDataURL; } } } }
#+end_src
When I deactivate Decentraleyes and reload the page, the above code
snippet vanishes. This glitch is present both on the official page and
on https://orgmode.tecosaur.com. It seems, there is some weird
interaction with some script from a CDN (maybe loaded partially due to
constraints from the plugin) or something like that.
--
Until the next mail...,
Stefan.
- Re: New website - back to the old unicorn!, (continued)
- Re: New website - back to the old unicorn!, TEC, 2020/10/26
- Re: New website - back to the old unicorn!, Eric S Fraga, 2020/10/26
- Re: New website - back to the old unicorn!, TEC, 2020/10/26
- Re: New website - back to the old unicorn!, Tom Gillespie, 2020/10/26
- Re: New website - back to the old unicorn!, Eric S Fraga, 2020/10/27
- Re: New website - back to the old unicorn!, TEC, 2020/10/28
- Re: New website - back to the old unicorn!, Daniele Nicolodi, 2020/10/28
- Re: New website - back to the old unicorn!, Ken Mankoff, 2020/10/28
- Re: New website - back to the old unicorn!, TEC, 2020/10/28
- Re: New website - back to the old unicorn!, Daniele Nicolodi, 2020/10/28
- Re: New website - back to the old unicorn!,
Stefan Nobis <=
- Re: New website - back to the old unicorn!, TEC, 2020/10/28
- Re: New website - back to the old unicorn!, Stefan Nobis, 2020/10/29
- Re: New website - back to the old unicorn!, Dante Catalfamo, 2020/10/28
Re: New website - back to the old unicorn!, Detlef Steuer, 2020/10/26
Re: New website - back to the old unicorn!, stardiviner, 2020/10/27
Re: New website - back to the old unicorn!, Carsten Dominik, 2020/10/26