RS Bily Link Shortener Bypasser

Automatically bypasses rs.bily.cc link shortener by decoding the URL

Size

3.0 KB

Version

1.1.1

Created

Feb 12, 2026

Updated

21 days ago

1// ==UserScript==
2// @name		RS Bily Link Shortener Bypasser
3// @description		Automatically bypasses rs.bily.cc link shortener by decoding the URL
4// @version		1.1.1
5// @match		https://*.rs.bily.cc/*
6// @icon		https://rs.bily.cc/img/icon.png
7// @grant		GM.openInTab
8// ==/UserScript==
9(function() {
10    'use strict';
11
12    console.log('RS Bily Bypasser: Script started');
13
14    async function bypassShortener() {
15        try {
16            // Get the hash from the URL (after the #)
17            const hash = window.location.hash.substring(1);
18            
19            if (!hash) {
20                console.error('RS Bily Bypasser: No hash found in URL');
21                return;
22            }
23
24            console.log('RS Bily Bypasser: Hash found:', hash);
25
26            // Decode the hash four times (quadruple Base64 encoding)
27            const decoded1 = atob(hash);
28            console.log('RS Bily Bypasser: First decode:', decoded1);
29            
30            const decoded2 = atob(decoded1);
31            console.log('RS Bily Bypasser: Second decode:', decoded2);
32            
33            const decoded3 = atob(decoded2);
34            console.log('RS Bily Bypasser: Third decode:', decoded3);
35            
36            const finalUrl = atob(decoded3);
37            console.log('RS Bily Bypasser: Final URL:', finalUrl);
38
39            // Validate that we got a proper URL
40            if (finalUrl && (finalUrl.startsWith('http://') || finalUrl.startsWith('https://'))) {
41                console.log('RS Bily Bypasser: Redirecting to:', finalUrl);
42                
43                // Show a message to the user
44                const messageDiv = document.createElement('div');
45                messageDiv.style.cssText = `
46                    position: fixed;
47                    top: 50%;
48                    left: 50%;
49                    transform: translate(-50%, -50%);
50                    background: #4CAF50;
51                    color: white;
52                    padding: 20px 40px;
53                    border-radius: 10px;
54                    font-size: 18px;
55                    font-weight: bold;
56                    z-index: 999999;
57                    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
58                    text-align: center;
59                `;
60                messageDiv.textContent = 'Bypassing link shortener... Redirecting now!';
61                document.body.appendChild(messageDiv);
62
63                // Redirect after a short delay
64                setTimeout(() => {
65                    window.location.href = finalUrl;
66                }, 1000);
67            } else {
68                console.error('RS Bily Bypasser: Invalid URL after decoding:', finalUrl);
69            }
70        } catch (error) {
71            console.error('RS Bily Bypasser: Error decoding URL:', error);
72        }
73    }
74
75    // Run the bypass function when the page loads
76    if (document.readyState === 'loading') {
77        document.addEventListener('DOMContentLoaded', bypassShortener);
78    } else {
79        bypassShortener();
80    }
81})();