https://bugs.kde.org/show_bug.cgi?id=512709
Bug ID: 512709
Summary: Greasemonkey directive GM_addStyle upon CSP
restriction
Classification: Applications
Product: Falkon
Version First 25.08.3
Reported In:
Platform: Arch Linux
OS: Linux
Status: REPORTED
Severity: wishlist
Priority: NOR
Component: extensions
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
SUMMARY
I utilize the directive `GM_addStyle` which is applied upon CSP restriction.
https://greasyfork.org/scripts/465932-newspaper-syndication-feed-reader/diff?v1=1703314&v2=1702746
Previously, I used to iterate CSS propertoes and attach them inline to their
respective elements, yet the method of inline CSS it is unable to apply
"pseudo" directives; so, `GM_addStyle`, and perhaps `GM_addElement` serve that
cause better.
The directive `GM_addStyle` under CSP works as expected with ScriptCat,
Tampermonkey, and Violent Monkey.
STEPS TO REPRODUCE
1. Install
https://greasyfork.org/scripts/465932-newspaper-syndication-feed-reader
2. Navigate https://metalhead.club/@error.rss
OBSERVED RESULT
CSS stylesheet is not applied.
EXPECTED RESULT
CSS stylesheet is applied as at https://falkon.org/index.xml
SOFTWARE/OS VERSIONS
Linux: Arch Linux and i3 (X11/Xorg)
Qt Version: 6.10.1
ADDITIONAL INFORMATION
https://github.com/erosman/firemonkey/issues/12
--
You are receiving this mail because:
You are watching all bug changes.