Created
January 16, 2020 10:36
-
-
Save danielhamelberg/399217be3746d9a01721befa5d10ed3c to your computer and use it in GitHub Desktop.
google-maps-timeline-places-visited.js
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $(function() { | |
| // console.log( "ready!" ); | |
| if ($('div.place-visit-title:contains("abc")').length > 0) { | |
| console.log( 'information: '+ $('div.place-visit-title:contains("abc")').text() + '|'+ $("span.segment-duration-part").text()); | |
| } | |
| if ($('span.segment-duration-part').parent('div.place-visit-title:contains("abc")')) { | |
| console.log( ''+$("span.segment-duration-part").parent('div.place-visit-title:contains("abc")').text()); | |
| } | |
| }); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment