diff --git a/r18dev_remove_duplicates.user.js b/r18dev_remove_duplicates.user.js index e8cb6ca..17f519f 100644 --- a/r18dev_remove_duplicates.user.js +++ b/r18dev_remove_duplicates.user.js @@ -3,7 +3,7 @@ // @namespace Violentmonkey Scripts // @match https://r18.dev/videos/vod/movies/list/* // @grant none -// @version 1.12 +// @version 1.13 // @author Lukáš Kucharczyk // @description Removes duplicate entries in the list of movies on r18.dev. // @downloadURL https://git.kucharczyk.xyz/lukas/userscripts/raw/branch/main/r18dev_remove_duplicates.user.js @@ -21,7 +21,7 @@ function filterVideos() { } // Regex to match "Letters-Numbers" (e.g., AAA-111) - const regex = /[a-zA-Z]+-[0-9]+/; + const regex = /^[a-zA-Z]+-[0-9]+$/; let removedCount = 0; // Changed to 'let' so it can be incremented videos.forEach(video => {