Skip to content

Instantly share code, notes, and snippets.

@bocato
Created March 7, 2016 14:11
Show Gist options
  • Save bocato/8c51433d71a4db62f49e to your computer and use it in GitHub Desktop.
Save bocato/8c51433d71a4db62f49e to your computer and use it in GitHub Desktop.
iCloudRemindersAsText.js
[].map.call(document.querySelectorAll('iframe[name=reminders]')[0].contentDocument.querySelectorAll('.reminder-not-completed-view .reminder-row .reminder-title'), function(el) {
return el.textContent;
}).join('\r\n');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment