Page 1 of 1

[Resolved] x-load permissions popup, placeholder etc

Posted: Thu Apr 24, 2025 4:19 pm
by fatboy
Windows 7, Fx 115esr, r3dfox 128, NoScript 12.5.904

There is html saved in one file.
Images are base 64.
I have to allow each image separately in the menu.
https://m.freespeech.club//I01ZUcch.png
If I click on placeholder, it opens a window with no visible buttons (they are there).
https://m.freespeech.club//O1h61DGP.png

Re: x-load permissions popup, placeholder etc

Posted: Thu Apr 24, 2025 4:24 pm
by Giorgio Maone
fatboy wrote: Thu Apr 24, 2025 4:19 pm Images are base 64.
Do you mean they're data: URLs?

Could please you share the HTML file to check? Thanks!

Re: x-load permissions popup, placeholder etc

Posted: Thu Apr 24, 2025 4:54 pm
by fatboy
1. html file
https://cloud.disroot.org/s/rTNspos4YmxKWze

2. Maybe change the order of items in the "Noscript blocked object" window?
https://m.freespeech.club//-XPNa6W8.png

Re: x-load permissions popup, placeholder etc

Posted: Sat Apr 26, 2025 10:22 am
by Giorgio Maone
The issue with data: URLs being errononously intercepted is fixed in 905.

Long URLs in prompt will need more thought and work, but should be a lesser problem now.

v 12.5.905
============================================================
x [UX] Honor non-contextual x-load capability granted from
NoScript Options (thanks barbaz for RFE)
x Prevent data: URIs from messing with srcset parsing
(thanks fatboy for reporting)
x Regard as "mutually safe" for x-load directories sharing a
common ancestor

Re: x-load permissions popup, placeholder etc

Posted: Sat Apr 26, 2025 5:23 pm
by fatboy
Thanks Giorgio!

Is there a technical possibility (and sense) to replace the phrase "Enable these capabilities when top page matches ANY SITE"
(in the drop-down menu -> CUSTOM -> file:///D/path) with "Enable this capabilitie when directory/path matches" (+ only one checkbox x-load)?

Re: x-load permissions popup, placeholder etc

Posted: Fri May 09, 2025 7:11 am
by Giorgio Maone
fatboy wrote: Sat Apr 26, 2025 5:23 pm Thanks Giorgio!

Is there a technical possibility (and sense) to replace the phrase "Enable these capabilities when top page matches ANY SITE"
(in the drop-down menu -> CUSTOM -> file:///D/path) with "Enable this capabilitie when directory/path matches" (+ only one checkbox x-load)?
It rather makes sense replacing "ANY SITE" with "file:" for file:// subresources.

https://github.com/hackademix/noscript/issues/435

Re: x-load permissions popup, placeholder etc

Posted: Fri May 09, 2025 9:10 am
by fatboy
Thank you.