RS Bily Link Shortener Bypasser

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

Size

2.8 KB

Version

1.1.2

Created

Nov 20, 2025

Updated

26 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.2
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 three times (triple 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 finalUrl = atob(decoded2);
34            console.log('RS Bily Bypasser: Final URL:', finalUrl);
35
36            // Validate that we got a proper URL
37            if (finalUrl && (finalUrl.startsWith('http://') || finalUrl.startsWith('https://'))) {
38                console.log('RS Bily Bypasser: Redirecting to:', finalUrl);
39                
40                // Show a message to the user
41                const messageDiv = document.createElement('div');
42                messageDiv.style.cssText = `
43                    position: fixed;
44                    top: 50%;
45                    left: 50%;
46                    transform: translate(-50%, -50%);
47                    background: #4CAF50;
48                    color: white;
49                    padding: 20px 40px;
50                    border-radius: 10px;
51                    font-size: 18px;
52                    font-weight: bold;
53                    z-index: 999999;
54                    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
55                    text-align: center;
56                `;
57                messageDiv.textContent = 'Bypassing link shortener... Redirecting now!';
58                document.body.appendChild(messageDiv);
59
60                // Redirect after a short delay
61                setTimeout(() => {
62                    window.location.href = finalUrl;
63                }, 1000);
64            } else {
65                console.error('RS Bily Bypasser: Invalid URL after decoding:', finalUrl);
66            }
67        } catch (error) {
68            console.error('RS Bily Bypasser: Error decoding URL:', error);
69        }
70    }
71
72    // Run the bypass function when the page loads
73    if (document.readyState === 'loading') {
74        document.addEventListener('DOMContentLoaded', bypassShortener);
75    } else {
76        bypassShortener();
77    }
78})();
RS Bily Link Shortener Bypasser | Robomonkey