Add direct links to the picture to the Google Image Search results.
< 腳本Google Images direct links 2的回應
not working
Could you possibly care to elaborate? I can't reproduce something not working without any info. Please tell me:
Thank you
Issue for me as well.
Script version 2.2
Chrome 93.0.4577.82
https://www.google.com/search?tbm=isch&q=***
Blue arrow does not appear on any thumbnail.
Chrome console is throwing the following error:
"This document requires 'TrustedHTML' assignment." and
"Uncaught (in promise) TypeError: Failed to set the 'innerHTML' property on 'Element': This document requires 'TrustedHTML' assignment."
Seemed to be working just yesterday.
Issue for me as well.
Script version 2.2
Chrome 93.0.4577.82
https://www.google.com/search?tbm=isch&q=***
Blue arrow does not appear on any thumbnail.
Chrome console is throwing the following error:
"This document requires 'TrustedHTML' assignment." and
"Uncaught (in promise) TypeError: Failed to set the 'innerHTML' property on 'Element': This document requires 'TrustedHTML' assignment."
Seemed to be working just yesterday.
Now THAT'S what I'm talking about! Thank you for the details!
I'll try to get to the bottom of this ASAP, though I'll be gone over the weekend
[issues on Chrome]
I'm getting the same behavior in Chrome now.
It feels like this might be the same issue that prevents another project of mine to write to document on YouTube as well.
I don't know if we'll be able to circumvent this BS taking control away from the user SNAFU that has been cropping up lately >:(
:(
I spent a lot of time researching Trusted-Types
policies, which is still considered an experimental feature, but for some reason, Google seems very keen on enforcing it when the browser supports it.
TamperMonkey hasn't quite caught up to it, the injection of @require
dependencies breaks the script on sites with a restrictive policy.
I've filed a bug report with TM and refactored my script to no longer require jQuery in the mean time :(
Should be working now, let me know whether it does for you
yup 2.3.1 seems to be working. thanks!
yup 2.3.1 seems to be working. thanks!
Glad to hear it, and thank you for your feedback! :)
not working