Open nelsonic opened 6 years ago
First thing you see when you open developer tools is: "We are hiring the sharpest minds..." No thank you! I'm just trying to download my photos so that I can "Quit You" ...!
Notice how they embed the iCloud Photos "App" in an iFrame:
This way it cannot be "targetted" using JavaScript because of
The id of the <iframe>
is: sc4346
so this works:
var iframe = document.getElementById('sc4346');
https://stackoverflow.com/questions/926916/how-to-get-the-bodys-content-of-an-iframe-in-javascript
but sadly this does not:
document.getElementById('sc4346').contentDocument.getElementById('p2-base-flow-grid-item-view')
https://stackoverflow.com/questions/20911333/get-element-from-iframe-and-click-it
Downloading:
Let's see if I run out of space (again) before the Photo download finishes ...
Trying to Download my Photos from iCloud because they are taking up space ...
Todo