Hello, I am Franklin.
I am trying to implement your script and on a test run, I get the following error.

error “AppleScript Utility got an error: Can’t get every «class BkmK» whose id contains \”http\”.” number -1728

Can you please help with the debug?
it is worth mentioning, that I have no coding experience.

Best regards,
Franklin