Hi there. Came across this script some months ago, love it. It worked great. However noticed last week that it wasn't copying any URLs anymore, and I won't bore you with the numerous iterations of debugging I went through (I am NOT a programmer, but more a dog with a bone), but I think Dropbox may have changed their site, or what sits underneath. Maybe?
There is a line in the code that did not appear to obtain any value when run:
const imageLinks = document.querySelectorAll('a.dig-Link.sl-link--file[href*="dl=0"]');
I changed it to this, and it appeared to work:
const imageLinks = document.querySelectorAll('a.dig-Card-Link');
The change was based on what I could see when trawling through browser console and sources via "inspect" off the web page. As I said, not a propgrammer here, just trying to work it out.
Wondering if what I have done is accurate, incomplete, just a fluke, did Dropbox change something, etc etc.
Any advice appreciated.!
Hi there. Came across this script some months ago, love it. It worked great. However noticed last week that it wasn't copying any URLs anymore, and I won't bore you with the numerous iterations of debugging I went through (I am NOT a programmer, but more a dog with a bone), but I think Dropbox may have changed their site, or what sits underneath. Maybe?
There is a line in the code that did not appear to obtain any value when run:
const imageLinks = document.querySelectorAll('a.dig-Link.sl-link--file[href*="dl=0"]');
I changed it to this, and it appeared to work:
const imageLinks = document.querySelectorAll('a.dig-Card-Link');
The change was based on what I could see when trawling through browser console and sources via "inspect" off the web page. As I said, not a propgrammer here, just trying to work it out.
Wondering if what I have done is accurate, incomplete, just a fluke, did Dropbox change something, etc etc.
Any advice appreciated.!