grubyak / google-photos-timezone-fix

Iterates over photos in given Google Photos album and edits date/time/timezone of each photo in order to fix their order
MIT License
29 stars 7 forks source link

Unable to run script #6

Open ferencbenko opened 4 months ago

ferencbenko commented 4 months ago

Hey! I tried running this script, but I got the following errors:

image TypeError: Failed to set the 'innerHTML' property on 'Element': This document requires 'TrustedHTML' assignment.

image Uncaught TypeError: window.fixAlbum is not a function

I was following the steps as listed. Am I missing something? I'm getting the same errors both on chrome and edge. I'm guessing that the "window.fixAlbum = " part is causing the error, but I don't know how it could be fixed.

grubyak commented 4 months ago

hey, i do not think you missed something. project is not maintained since 5+ years and looks like chrome got some restrictions in the meantime on accessing elements causing the reported error.

sadly, google photos as a platform while well integrated with android devices, feels unfinished, inconsistent and buggy in so many places that is not a reliable place to keep photos if someone takes it seriously

edit: by looking at the js error again, it seems it is project unrelated error - as it's tampermonkey plugin that is not loading google-photos-timezone-fix script

ferencbenko commented 4 months ago

thanks for your reply!

I have seen that the project is not maintained, but I also saw PRs from 2023, so I thought that maybe I am missing some tampermonkey/browser setting. I will try contacting the PR authors, maybe they could help