-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathscript.user.js
More file actions
32 lines (24 loc) · 984 Bytes
/
script.user.js
File metadata and controls
32 lines (24 loc) · 984 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
// ==UserScript==
// @name RapidMoviez 1080p Release Link Filter
// @description Keeps only the 1080p links on release page by filtering out the other links.
// @version 1.1
// @namespace io.github.ni554n
// @match http*://rmz.cr/*
// @exclude-match http*://rmz.cr/
// @exclude-match http*://rmz.cr/*/*
// @supportURL https://github.com/ni554n/userscripts/issues
// @license MIT
// @author Nissan Ahmed
// @homepageURL https://ni554n.github.io/
// @contributionURL https://paypal.me/ni554n
// ==/UserScript==
// Section example: Packs, Episodes, Archived.
const sectionList = document.getElementsByClassName("allrls");
for (const section of sectionList) {
for (const releaseItem of section.children) {
const releaseName = releaseItem.children[1].innerText;
if (!releaseName.includes("1080p")) {
releaseItem.style.display = "none";
}
}
}