Searches for movie names on Cineplex.com webpages by the following class names that are frequently used:
movie-details-link-clickfound on urls likehttps://www.cineplex.com/Showtimes/any-movie/nearby-theatres?Date=12/29/2019movie-item-title ng-bindingfound on urls likehttps://www.cineplex.com/h3 theatre-movie-title margin-vertical-xsfound on urls likehttps://www.cineplex.com/Theatre/scotiabank-theatre-torontoshowtime-card--titlefound on urls likehttps://www.cineplex.com/Movies/NowPlaying?cmpid=MainSubNavEN_now-playingmodule-item--titlefound on urls likehttps://www.cineplex.com/Theatres/UltraAVX
Once a collection of movies names is created, we query Rotten Tomatoes' search API for each one and select the first result (a lazy assumption), pull out the "Tomato Score" and then send it back to the page to add to each instance of the movie name.
Available on the Google Chrome Extension store: https://chrome.google.com/webstore/detail/rotten-tomatoes-on-cinepl/fpjdonkdkbamkgmnbgopjpdeeeoilhfj?hl=en&gl=CA
As of v1.2 the extension also handles IMAX movie titles and most movies referencing subtitles.
- Make Tomato Score in a different font to stand out
- Make Tomato image link to the RottenTomatoes.com page the movie
- Make Tomato image appear on urls like
https://www.cineplex.com/Theatres/UltraAVX, right now its just a XX% that appears