Trakt-Userscripts icon indicating copy to clipboard operation
Trakt-Userscripts copied to clipboard

[BUG] Not working

Open Bamboozul opened this issue 2 years ago • 3 comments

Describe the bug

I installed the script after the trakt database problem and it appears to be broken.

Userscripts

Ratings on Trakt

Browser

Chrome

Userscript manager

Violentmonkey

Reproduction steps

Go to any show or movie page i.e : https://trakt.tv/shows/my-hero-academia

Console logs

[Report Only] Refused to load the script '<URL>' because it violates the following Content Security Policy directive: "script-src 'none'". Note that 'script-src-elem' was not explicitly set, so 'script-src' is used as a fallback.

my-hero-academia:1 [Report Only] Refused to load the script 'https://trakt.tv/assets/turbo-8794998d8fb36a2ae3fcb23679cd330faef003414be4662cf01cde0756461abd.js' because it violates the following Content Security Policy directive: "script-src 'none'". Note that 'script-src-elem' was not explicitly set, so 'script-src' is used as a fallback.

my-hero-academia:1 [Report Only] Refused to load the script 'https://cdnjs.cloudflare.com/ajax/libs/jquery/2.2.4/jquery.min.js' because it violates the following Content Security Policy directive: "script-src 'none'". Note that 'script-src-elem' was not explicitly set, so 'script-src' is used as a fallback.

my-hero-academia:1 [Report Only] Refused to load the script 'https://cdnjs.cloudflare.com/ajax/libs/jquery-ujs/1.2.2/rails.min.js' because it violates the following Content Security Policy directive: "script-src 'none'". Note that 'script-src-elem' was not explicitly set, so 'script-src' is used as a fallback.

my-hero-academia:1 [Report Only] Refused to load the script 'https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.2.0/js/bootstrap.js' because it violates the following Content Security Policy directive: "script-src 'none'". Note that 'script-src-elem' was not explicitly set, so 'script-src' is used as a fallback.

my-hero-academia:1 [Report Only] Refused to load the script 'https://js.stripe.com/v3/' because it violates the following Content Security Policy directive: "script-src 'none'". Note that 'script-src-elem' was not explicitly set, so 'script-src' is used as a fallback.

my-hero-academia:1 [Report Only] Refused to load the script 'https://trakt.tv/assets/libs-e130dbd65328ebbb0351a988ff9d355b332572c446da3660a47c8ae9bbb80815.js' because it violates the following Content Security Policy directive: "script-src 'none'". Note that 'script-src-elem' was not explicitly set, so 'script-src' is used as a fallback.

my-hero-academia:1 [Report Only] Refused to load the script 'https://trakt.tv/assets/application-6ad0039069e2e54c24afc83cb449571fa1fea2918401779dba490105660e278d.js' because it violates the following Content Security Policy directive: "script-src 'none'". Note that 'script-src-elem' was not explicitly set, so 'script-src' is used as a fallback.

my-hero-academia:1 [Report Only] Refused to load the script 'https://cdnjs.cloudflare.com/ajax/libs/jstimezonedetect/1.0.6/jstz.min.js' because it violates the following Content Security Policy directive: "script-src 'none'". Note that 'script-src-elem' was not explicitly set, so 'script-src' is used as a fallback.

jquery.min.js:4 [Report Only] Refused to load the script 'https://cdn.snigelweb.com/adengine/trakt.tv/loader.js' because it violates the following Content Security Policy directive: "script-src 'none'". Note that 'script-src-elem' was not explicitly set, so 'script-src' is used as a fallback.

send @ jquery.min.js:4
ajax @ jquery.min.js:4
jQuery.cachedScript @ application-6ad0039069e2e54c24afc83cb449571fa1fea2918401779dba490105660e278d.js:1943
hucksterSnigel @ application-6ad0039069e2e54c24afc83cb449571fa1fea2918401779dba490105660e278d.js:1991
hucksterInit @ application-6ad0039069e2e54c24afc83cb449571fa1fea2918401779dba490105660e278d.js:1962
(anonymous) @ application-6ad0039069e2e54c24afc83cb449571fa1fea2918401779dba490105660e278d.js:1330
dispatch @ jquery.min.js:3
r.handle @ jquery.min.js:3
dispatch @ turbo-8794998d8fb36a2ae3fcb23679cd330faef003414be4662cf01cde0756461abd.js:56
notifyApplicationAfterPageLoad @ turbo-8794998d8fb36a2ae3fcb23679cd330faef003414be4662cf01cde0756461abd.js:524
pageBecameInteractive @ turbo-8794998d8fb36a2ae3fcb23679cd330faef003414be4662cf01cde0756461abd.js:504
pageIsInteractive @ turbo-8794998d8fb36a2ae3fcb23679cd330faef003414be4662cf01cde0756461abd.js:398
pageIsComplete @ turbo-8794998d8fb36a2ae3fcb23679cd330faef003414be4662cf01cde0756461abd.js:399
PageObserver.interpretReadyState @ turbo-8794998d8fb36a2ae3fcb23679cd330faef003414be4662cf01cde0756461abd.js:394
jquery.min.js:4 [Report Only] Refused to load the script 'https://snigelweb-com.videoplayerhub.com/videoloader.js?12253' because it violates the following Content Security Policy directive: "script-src 'none'". Note that 'script-src-elem' was not explicitly set, so 'script-src' is used as a fallback.

send @ jquery.min.js:4
ajax @ jquery.min.js:4
jQuery.cachedScript @ application-6ad0039069e2e54c24afc83cb449571fa1fea2918401779dba490105660e278d.js:1943
hucksterBT @ application-6ad0039069e2e54c24afc83cb449571fa1fea2918401779dba490105660e278d.js:1995
hucksterInit @ application-6ad0039069e2e54c24afc83cb449571fa1fea2918401779dba490105660e278d.js:1963
(anonymous) @ application-6ad0039069e2e54c24afc83cb449571fa1fea2918401779dba490105660e278d.js:1330
dispatch @ jquery.min.js:3
r.handle @ jquery.min.js:3
dispatch @ turbo-8794998d8fb36a2ae3fcb23679cd330faef003414be4662cf01cde0756461abd.js:56
notifyApplicationAfterPageLoad @ turbo-8794998d8fb36a2ae3fcb23679cd330faef003414be4662cf01cde0756461abd.js:524
pageBecameInteractive @ turbo-8794998d8fb36a2ae3fcb23679cd330faef003414be4662cf01cde0756461abd.js:504
pageIsInteractive @ turbo-8794998d8fb36a2ae3fcb23679cd330faef003414be4662cf01cde0756461abd.js:398
pageIsComplete @ turbo-8794998d8fb36a2ae3fcb23679cd330faef003414be4662cf01cde0756461abd.js:399
PageObserver.interpretReadyState @ turbo-8794998d8fb36a2ae3fcb23679cd330faef003414be4662cf01cde0756461abd.js:394
jquery.min.js:4 [Report Only] Refused to load the script 'https://cdn.jsdelivr.net/npm/[email protected]/lib/js/emojione.min.js' because it violates the following Content Security Policy directive: "script-src 'none'". Note that 'script-src-elem' was not explicitly set, so 'script-src' is used as a fallback.

send @ jquery.min.js:4
ajax @ jquery.min.js:4
N @ libs-e130dbd65328ebbb0351a988ff9d355b332572c446da3660a47c8ae9bbb80815.js:957
O @ libs-e130dbd65328ebbb0351a988ff9d355b332572c446da3660a47c8ae9bbb80815.js:957
(anonymous) @ libs-e130dbd65328ebbb0351a988ff9d355b332572c446da3660a47c8ae9bbb80815.js:957
each @ jquery.min.js:2
each @ jquery.min.js:2
a.fn.emojioneArea @ libs-e130dbd65328ebbb0351a988ff9d355b332572c446da3660a47c8ae9bbb80815.js:957
(anonymous) @ application-6ad0039069e2e54c24afc83cb449571fa1fea2918401779dba490105660e278d.js:3837
dispatch @ jquery.min.js:3
r.handle @ jquery.min.js:3
dispatch @ turbo-8794998d8fb36a2ae3fcb23679cd330faef003414be4662cf01cde0756461abd.js:56
notifyApplicationAfterPageLoad @ turbo-8794998d8fb36a2ae3fcb23679cd330faef003414be4662cf01cde0756461abd.js:524
pageBecameInteractive @ turbo-8794998d8fb36a2ae3fcb23679cd330faef003414be4662cf01cde0756461abd.js:504
pageIsInteractive @ turbo-8794998d8fb36a2ae3fcb23679cd330faef003414be4662cf01cde0756461abd.js:398
pageIsComplete @ turbo-8794998d8fb36a2ae3fcb23679cd330faef003414be4662cf01cde0756461abd.js:399
PageObserver.interpretReadyState @ turbo-8794998d8fb36a2ae3fcb23679cd330faef003414be4662cf01cde0756461abd.js:394
VM902 Ratings on Trakt.user.js:28 RATINGS ON TRAKTv4.7.3 by Davide is running!
VM902 Ratings on Trakt.user.js:28 RATINGS ON TRAKT: OMDbApiKey is "9XXXXbe1"
VM902 Ratings on Trakt.user.js:28 RATINGS ON TRAKT: hideDefaultRatings is "true"
VM902 Ratings on Trakt.user.js:28 RATINGS ON TRAKT: logging is "true"
VM902 Ratings on Trakt.user.js:28 RATINGS ON TRAKT: debugging is "true"

Screenshots

Screenshot 2022-12-24 203355

Is there an existing issue for this?

  • [X] I have searched the existing issues

Bamboozul avatar Dec 24 '22 18:12 Bamboozul

The same problem, apparently when restoring the Trakt API was changed.

bulletproof2k avatar Dec 27 '22 09:12 bulletproof2k

Any progress on this?

i486 avatar Feb 22 '23 18:02 i486

Any progress on this?

I'm afraid not.

Bamboozul avatar Feb 23 '23 14:02 Bamboozul