• Resolved RebeccaBlackman

    (@rebeccablackman)


    Hi Johan,

    I’m getting the following error in the console. It doesn’t seem to cause any noticeable harm, but curious as to why it’s happening.

    Refused to load data:text/javascript;base64,DQogIHZhciBpbml0T3B0cyA9IHsNCiAgICBwcm9qZWN0S2V5OiAiZHdpNlBpOHQ2VWFaNmxmcVNMbWYiLA0KICAgIGRlZmF1bHRJbnB1dE1vZGU6IDAsDQogICAgb2JzY3VyZVRleHROdW1iZXJzOiBmYWxzZSwNCiAgICBvYnNjdXJlVGV4dEVtYWlsczogdHJ1ZSwNCiAgfTsNCiAgdmFyIHN0YXJ0T3B0cyA9IHsgdXNlcklEOiAiIiB9Ow0KICAoZnVuY3Rpb24oQSxzLGEseSxlLHIpew0KICAgIHI9d2luZG93Lk9wZW5SZXBsYXk9W2Uscix5LFtzLTEsIGVdXTsNCiAgICBzPWRvY3VtZW50LmNyZWF0ZUVsZW1lbnQoJ3NjcmlwdCcpO3Muc3JjPUE7cy5hc3luYz0hYTsNCiAgICBkb2N1bWVudC5nZXRFbGVtZW50c0J5VGFnTmFtZSgnaGVhZCc…4oaWQpe3IucHVzaChbMixpZF0pfTsNCiAgICByLnNldFVzZXJBbm9ueW1vdXNJRD1mdW5jdGlvbihpZCl7ci5wdXNoKFszLGlkXSl9Ow0KICAgIHIuc2V0TWV0YWRhdGE9ZnVuY3Rpb24oayx2KXtyLnB1c2goWzQsayx2XSl9Ow0KICAgIHIuZXZlbnQ9ZnVuY3Rpb24oayxwLGkpe3IucHVzaChbNSxrLHAsaV0pfTsNCiAgICByLmlzc3VlPWZ1bmN0aW9uKGsscCl7ci5wdXNoKFs2LGsscF0pfTsNCiAgICByLmlzQWN0aXZlPWZ1bmN0aW9uKCl7cmV0dXJuIGZhbHNlfTsNCiAgICByLmdldFNlc3Npb25Ub2tlbj1mdW5jdGlvbigpe307DQogIH0pKCIvL3N0YXRpYy5vcGVucmVwbGF5LmNvbS9sYXRlc3Qvb3BlbnJlcGxheS5qcyIsMSwwLGluaXRPcHRzLHN0YXJ0T3B0cyk7DQo= because it does not appear in the script-src directive of the Content Security Policy.

    Feel free to have a look over at https://www.undeadteds.com (it’s a horror-themed site, just to warn in case it offends).

    Kind regards,

    Rebecca

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Johan Jonk Stenstr?m

    (@jonkastonka)

    There’s no support for loading javascripts through “data:”, but I’ll look in to into it for a future release.

    Thread Starter RebeccaBlackman

    (@rebeccablackman)

    Hi Johan,

    No worries, thanks for replying.

    Any idea what might be calling this script? I’m not even sure what it does, and haven’t noticed anything not working, so clearly nothing important.

    Kind regards,

    Rebecca

    Plugin Author Johan Jonk Stenstr?m

    (@jonkastonka)

    According to the comment in the code, it’s OpenReplay Tracking Code.

    Thread Starter RebeccaBlackman

    (@rebeccablackman)

    Ah, that’s an analytics service I use. Interestingly, it seems to be tracking users just fine as long as they have statistics cookies allowed – I have set the domain for exclusion.


    I shall mark the topic as resolved. Thanks for your help. ??

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘JavaScript/Base64 error.’ is closed to new replies.