Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!

Mozilla 도움말 검색

고객 지원 사기를 피하세요. 저희는 여러분께 절대로 전화를 걸거나 문자를 보내거나 개인 정보를 공유하도록 요청하지 않습니다. "악용 사례 신고"옵션을 사용하여 의심스러운 활동을 신고해 주세요.

Learn More

How to grant access to a website to extract canvas data without going to that website

  • 4 답장
  • 0 이 문제를 만남
  • 2 보기
  • 최종 답변자: cor-el

more options

I can't grant access to a website because it's totally borked without canvas data, and keeps going on an infinite loading loop. This loading loop prevents me from having enough time to grant the permission, so I need to grant the permission to this website without actually visiting it.

I can't grant access to a website because it's totally borked without canvas data, and keeps going on an infinite loading loop. This loading loop prevents me from having enough time to grant the permission, so I need to grant the permission to this website without actually visiting it.

모든 댓글 (4)

more options

Do you have enabled "Resist Fingerprinting" as that is a possible cause for Canvas issues?

Can you post a link to a publicly accessible page (i.e. no authentication or signing on required)?


You can try to add the canvas exception via the Browser Console. You need to enable the command-line for the console.

Replace the https://xxxx with the correct origin (only protocol and hostname).

Services.perms.addFromPrincipal(
  Services.scriptSecurityManager.createContentPrincipalFromOrigin("https://xxxx"),
  "canvas", 1
);

more options

cor-el said

Do you have enabled "Resist Fingerprinting" as that is a possible cause for Canvas issues? Can you post a link to a publicly accessible page (i.e. no authentication or signing on required)?

You can try to add the canvas exception via the Browser Console. You need to enable the command-line for the console.

Replace the https://xxxx with the correct origin (only protocol and hostname).

Services.perms.addFromPrincipal(
  Services.scriptSecurityManager.createContentPrincipalFromOrigin("https://xxxx"),
  "canvas", 1
);

It seems like perhaps this isn't the issue after all. I am still having the same issue. I've attached a picture that might be helpful. I used the browser console you mentioned to capture some logged info in a picture while the website was looping for a couple of seconds.

more options

It would help others if you gave a URL so others can click to see what happens.

more options

You would have to check the Requests in the Web Console or in the Network Monitor to see what is going on.