You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Annoying again, but another one of the scripts I use has stopped working due to the changes implemented in Nightly 136 regarding the Content Security Policy.
To Reproduce
Steps to reproduce the behavior:
Install Firefox nightly 136a1
Install tabThumbnailTooltip.uc.js
The tab thumbnail does not appear
Expected behavior
The tab thumbnail appears when installing the script.
Screenshots
This is what the browser console displays
Desktop (please complete the following information):
OS: Winwdos 10
Firefox update channel: Nightly
Version: 136.a.1
Build ID: 20250118
Additional context
It seems that the problem is in line 98 of the script due to a csp violation which blocks the event handlers. Reading in the documentation I found that to avoid that violation you must replace the inline event handlers with addEventListener calls, I tried to fix it by rewriting the line with addEventListener but it didn't work, I don't know how to call MozXULElement.parseXULToFragment with addEventListener and then add it to the DOM using appendChild.
The text was updated successfully, but these errors were encountered:
Link to the file containing the bug
https://github.com/aminomancer/uc.css.js/blob/master/JS/tabThumbnailTooltip.uc.js
Describe the bug
Annoying again, but another one of the scripts I use has stopped working due to the changes implemented in Nightly 136 regarding the Content Security Policy.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The tab thumbnail appears when installing the script.
Screenshots
This is what the browser console displays
Desktop (please complete the following information):
Additional context
It seems that the problem is in line 98 of the script due to a csp violation which blocks the event handlers. Reading in the documentation I found that to avoid that violation you must replace the inline event handlers with addEventListener calls, I tried to fix it by rewriting the line with addEventListener but it didn't work, I don't know how to call MozXULElement.parseXULToFragment with addEventListener and then add it to the DOM using appendChild.
The text was updated successfully, but these errors were encountered: