From: TEC <tecosaur@gmail.com>
To: Stefan Nobis <stefan-ml@snobis.de>
Cc: emacs-orgmode@gnu.org
Subject: Re: New website - back to the old unicorn!
Date: Thu, 29 Oct 2020 03:15:57 +0800 [thread overview]
Message-ID: <87k0va88iz.fsf@gmail.com> (raw)
In-Reply-To: <m1zh46p63d.fsf@nobis-it.eu>
Hi Stefan,
This seems very suspicious for one reason. I cannot see "Canvas"
anywhere in the entire codebase of the website, or any loaded
resources.
So I have no idea where on earth the JS you're finding has come
from -
I'm guessing it's improperly injected by a extension. FWIW I also
run
Decentraleyes in Firefox and fail to see your issue.
--
Timothy
Stefan Nobis <stefan-ml@snobis.de> writes:
> 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.
next prev parent reply other threads:[~2020-10-28 19:18 UTC|newest]
Thread overview: 48+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-10-26 9:41 New website - back to the old unicorn! Bastien
2020-10-26 9:44 ` TEC
2020-10-26 10:27 ` TEC
2020-10-26 10:51 ` Leo Vivier
2020-10-26 10:53 ` TEC
2020-10-26 13:32 ` gyro funch
2020-10-26 14:03 ` TEC
2020-10-26 13:54 ` Daniele Nicolodi
2020-10-26 14:26 ` TEC
2020-10-26 14:38 ` Daniele Nicolodi
2020-10-26 14:32 ` Daniele Nicolodi
2020-10-26 14:33 ` TEC
2020-10-26 14:51 ` Eric S Fraga
2020-10-26 17:14 ` TEC
2020-10-26 17:39 ` Tom Gillespie
2020-10-27 8:20 ` Eric S Fraga
2020-10-28 12:25 ` TEC
2020-10-28 15:40 ` Daniele Nicolodi
2020-10-28 15:58 ` Ken Mankoff
2020-10-28 16:59 ` TEC
2020-10-28 17:11 ` Daniele Nicolodi
2020-10-28 18:18 ` Stefan Nobis
2020-10-28 19:15 ` TEC [this message]
2020-10-29 8:00 ` Stefan Nobis
2020-10-28 16:58 ` Dante Catalfamo
2020-10-26 10:34 ` stardiviner
2020-10-27 11:01 ` JRSS
2020-10-27 11:05 ` TEC
2020-10-27 14:14 ` Leslie Watter
2020-10-26 13:04 ` Detlef Steuer
2020-10-26 10:11 ` Carsten Dominik
2020-10-26 10:19 ` Carsten Dominik
2020-10-26 11:05 ` Jude DaShiell
2020-10-26 10:22 ` Bastien
2020-10-26 10:19 ` John Herrlin
2020-10-26 10:39 ` Bastien
2020-10-26 14:16 ` Nick Dokos
2020-10-26 14:19 ` TEC
2020-10-26 15:02 ` Nick Dokos
2020-10-26 15:59 ` Jude DaShiell
2020-10-26 14:11 ` Jack Kamm
2020-10-26 16:28 ` Diego Zamboni
2020-10-26 16:54 ` Dante Catalfamo
2020-10-26 17:08 ` Greg Newman
2020-10-26 17:24 ` Neil Cherry
2020-10-26 18:22 ` Scott Randby
2020-10-27 7:15 ` Carsten Dominik
2020-10-27 8:23 ` Eric S Fraga
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87k0va88iz.fsf@gmail.com \
--to=tecosaur@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=stefan-ml@snobis.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).