TripAdvisor Review Recency Badge
Free to download on every platform. Comes pre-installed on BotFone, BotPad and BotFlip — with extra free apps included.
About this app
WHAT IT DOES
This userscript transforms your TripAdvisor review list into a visual recency dashboard. It reads each review's date, calculates how many days have passed since it was posted, and applies color-coded highlighting to every review card. The color system uses a four-tier gradient: green for new reviews (0-7 days), yellow for recent (8-30 days), orange for aging (31-90 days), and red for old (91+ days). Each review displays a compact badge showing the exact age in days and a category label. A summary panel shows total reviews, average review age, and counts by recency category with percentages. A filter bar lets you show only reviews in a specific recency range, helping you focus on the most recent feedback or analyze older reviews. This is invaluable for travelers, business owners, and hospitality professionals who need to monitor review recency, track customer sentiment trends, and prioritize responses to new feedback.
WHERE IT RUNS
The script runs on all TripAdvisor web application pages at *.tripadvisor.com/*, with automatic detection of property review pages, attraction review pages, and any page displaying review entries. It works across all TripAdvisor interfaces by using multiple selector strategies to find review cards, dates, ratings, and review links. The script detects dynamic content loading and re-applies recency highlighting when the review list changes, including after filtering, sorting, or pagination. It runs across the entire TripAdvisor domain, ensuring coverage whether you're viewing hotel reviews, restaurant reviews, or attraction reviews.
HOW TO USE
Install the script via the BotGentz extension and navigate to any TripAdvisor property or attraction review page. Recency highlighting will apply automatically to every review card. Each review gets a subtle background tint and a colored left border matching its recency category, along with a badge on the review title showing the exact age and label. The summary panel appears above your review list showing total reviews, average review age, and a breakdown by recency category with counts and percentages. The filter bar appears as a sticky row with buttons for each category—click any button to show only reviews in that category. Click the ↗ button next to any review to open its full review page in a new tab. Use the panel controls to toggle highlighting on or off, show or hide the summary panel, enable or disable the filter bar, or choose whether to show the date on the badge. You can customize the day thresholds for each color category. The "Refresh" button manually reapplies all highlighting if the page updates.
THE MECHANISM - DATE PARSING, AGE CALCULATION, AND VISUAL PRIORITIZATION
This script identifies review age by scanning each review card for dates. It uses a cascading selector strategy that looks for TripAdvisor's date elements including .review-date, .ratingDate, .relDate, and time tags. When relative time strings are found ("2 days ago," "3 weeks ago," "1 month ago"), the script parses them into absolute timestamps by subtracting the time from the current moment. For absolute timestamps, it converts them to Date objects directly. The age is calculated as the difference between the current time and the review date, expressed in days. This age is then mapped to a color category using the user-defined thresholds. The highlighting is applied via inline styles on each review card (background and border-left) that override TripAdvisor's default styling. The badge is inserted into the review title element using DOM manipulation. For the summary, the script counts reviews in each category and calculates percentage distributions. The filter bar uses display toggling to show or hide reviews based on their recency category.
THE PANEL
The control panel appears as a floating, draggable element that you can position anywhere on the TripAdvisor page. Drag by the header to reposition it, and the position is saved per site using GM_setValue so it stays where you left it across sessions. Release the panel near any edge and it snaps into place, keeping your workspace organized. Click the panel header to collapse it into a small bubble showing only the chart emoji (📊), minimizing distraction while keeping controls accessible. Drag from the bubble to restore the full panel. The panel automatically resizes to fit its content and includes all setting toggles, threshold controls, action buttons, and a color legend. Press the Escape key to quickly collapse the panel to its minimized state. The panel remains visible across page navigation within TripAdvisor, with recency highlighting updating automatically as you move between review views.
PLEASE NOTE
This script requires the free BotGentz extension to function. It is designed for TripAdvisor users who need to monitor review recency and prioritize feedback. The script reads only visible review data from the DOM—it does not access TripAdvisor's API, your account credentials, or any sensitive information. All settings (threshold values, toggle states, and panel position) are stored locally using GM_setValue and never leave your browser. The script does not modify your TripAdvisor data—it only enhances the visual presentation of the review list. Age calculations are based on your system's current time and the dates visible on the page; if TripAdvisor updates its website structure, the script may need to be updated to match new selectors. The filter bar works on all reviews currently visible in the list; if the list is paginated, the filter applies only to the current page.