[Falkon] [Bug 467459] Greasemonkey doesn't check content type

2024-02-22 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=467459

rory.ash...@gmail.com changed:

   What|Removed |Added

 CC||rory.ash...@gmail.com

--- Comment #2 from rory.ash...@gmail.com ---
(In reply to Schimon Jehudah from comment #0)
> It appears that Greasemonkey doesn't check content type.
> When Greasemonkey is enabled, navigating to the following link (HTML
> filetype) won't be possible.
> https://github.com/glitsj16/firejail-handler-extra/blob/master/fjyt.user.js

If you install GM on FF it also opens that page normally.  To trigger the
install click 'raw' button on the upper right of the code box.

-- 
You are receiving this mail because:
You are watching all bug changes.

[Falkon] [Bug 467459] Greasemonkey doesn't check content type

2023-06-10 Thread Juraj
https://bugs.kde.org/show_bug.cgi?id=467459

Juraj  changed:

   What|Removed |Added

 CC||jurajora...@mailo.com

--- Comment #1 from Juraj  ---
Greasemonkey only checks the URL.
If it ends with "user.js" it is regarded as userscript and should b e installed
and hidden from user.

My proposed solutions are to:
- always allow loading the userscript code (user will always see it).
- Adapt the GreaseMonkey code to detect if the file is a proper userscript or
not.
OR
- When the "user.js" is detected in URL try to download it and based on results
allow to display the file in browser.

-- 
You are receiving this mail because:
You are watching all bug changes.