mirror of
https://codeberg.org/Amm0ni4/bypass-all-shortlinks-debloated.git
synced 2024-12-28 07:53:01 +05:00
added paster.so bypass
This commit is contained in:
parent
122dd73df3
commit
1d06c09007
4 changed files with 152 additions and 2 deletions
|
@ -4,7 +4,7 @@
|
|||
// @run-at document-start
|
||||
// @author Amm0ni4
|
||||
// @noframes
|
||||
// @version 91.8.27
|
||||
// @version 91.8.28
|
||||
// @grant GM_setValue
|
||||
// @grant GM_getValue
|
||||
// @grant GM_addStyle
|
||||
|
@ -641,6 +641,7 @@
|
|||
// @grant GM_deleteValue
|
||||
// @grant GM.xmlHttpRequest
|
||||
// @grant GM_getResourceText
|
||||
// @match https://paster.so/*
|
||||
// @include /^(https?:\/\/)((ebaticalfel|megadropsz|stownrusis|iedprivatedqu).com)\/s\?/
|
||||
// @include /adbypass.eu/
|
||||
// @include /(bypass.city|adbypass.org)\/bypass\?bypass=/
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
// @run-at document-start
|
||||
// @author Amm0ni4
|
||||
// @noframes
|
||||
// @version 91.8.27
|
||||
// @version 91.8.28
|
||||
// @grant GM_setValue
|
||||
// @grant GM_getValue
|
||||
// @grant GM_addStyle
|
||||
|
@ -641,6 +641,7 @@
|
|||
// @grant GM_deleteValue
|
||||
// @grant GM.xmlHttpRequest
|
||||
// @grant GM_getResourceText
|
||||
// @match https://paster.so/*
|
||||
// @include /^(https?:\/\/)((ebaticalfel|megadropsz|stownrusis|iedprivatedqu).com)\/s\?/
|
||||
// @include /adbypass.eu/
|
||||
// @include /(bypass.city|adbypass.org)\/bypass\?bypass=/
|
||||
|
@ -2721,6 +2722,77 @@
|
|||
// ----- ----- -----
|
||||
|
||||
|
||||
// ----- Bypass paster.so ------
|
||||
(function() {
|
||||
'use strict';
|
||||
|
||||
if (/^https:\/\/paster\.so\/\w+/.test(window.location.href)) {
|
||||
|
||||
// List of excluded domains
|
||||
const excludedDomains = ['paster.so', 'google.com', 'cloudflareinsights.com', 'wikipedia.com', 'w3.org', 'hcaptcha.com', 'gstatic.com'];
|
||||
|
||||
let overlayCreated = false;
|
||||
|
||||
// Function to extract URLs from the page source code and remove duplicates
|
||||
function extractURLsFromPage() {
|
||||
const pageSource = document.documentElement.outerHTML;
|
||||
const urlRegex = /(?:https?|ftp):\/\/[^\s/$.?#].[^\s"]+/g;
|
||||
let urls = pageSource.match(urlRegex);
|
||||
if (urls) {
|
||||
const uniqueURLs = new Set(urls.map(url => url.split("\\")[0]));
|
||||
urls = Array.from(uniqueURLs);
|
||||
}
|
||||
return urls ? urls.filter(url => !excludedDomains.some(domain => url.includes(domain))) : [];
|
||||
}
|
||||
|
||||
// Function to create the overlay element and add clickable URLs to it
|
||||
function addURLsToOverlay(urls) {
|
||||
const overlay = document.createElement('div');
|
||||
overlay.style.position = 'fixed';
|
||||
overlay.style.top = '50%';
|
||||
overlay.style.right = '20px'; // Adjusted to appear in the middle right corner
|
||||
overlay.style.transform = 'translateY(-50%)';
|
||||
overlay.style.backgroundColor = 'rgba(255, 255, 255, 0.9)';
|
||||
overlay.style.padding = '10px';
|
||||
overlay.style.borderRadius = '5px';
|
||||
overlay.style.zIndex = '9999';
|
||||
|
||||
// Add title
|
||||
const title = document.createElement('h3');
|
||||
title.textContent = 'URLs found:';
|
||||
overlay.appendChild(title);
|
||||
|
||||
const urlList = document.createElement('ul');
|
||||
urls.forEach(url => {
|
||||
const listItem = document.createElement('li');
|
||||
const link = document.createElement('a');
|
||||
link.textContent = url;
|
||||
link.href = url;
|
||||
link.target = '_blank'; // Open link in a new tab
|
||||
listItem.appendChild(link);
|
||||
urlList.appendChild(listItem);
|
||||
});
|
||||
|
||||
overlay.appendChild(urlList);
|
||||
document.body.appendChild(overlay);
|
||||
}
|
||||
|
||||
// Wait for the window to be fully loaded
|
||||
window.addEventListener('load', () => {
|
||||
if (!overlayCreated) {
|
||||
const extractedURLs = extractURLsFromPage();
|
||||
if (extractedURLs.length === 1) {
|
||||
window.location.assign(extractedURLs[0]); // Redirect to the URL if only one URL is found
|
||||
} else if (extractedURLs.length > 1) {
|
||||
addURLsToOverlay(extractedURLs); // Add URLs to overlay if more than one URL is found
|
||||
overlayCreated = true;
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
})();
|
||||
// ---------
|
||||
|
||||
//----tiktokcounter auto-skip for firefox only--------
|
||||
(function() {
|
||||
'use strict';
|
||||
|
|
76
extra_bypasses/paster.so.user.js
Normal file
76
extra_bypasses/paster.so.user.js
Normal file
|
@ -0,0 +1,76 @@
|
|||
// ==UserScript==
|
||||
// @name Paster.so URL Extractor
|
||||
// @description Extracts URLs from paste.so and displays them in an overlay.
|
||||
// @match https://paster.so/*
|
||||
// ==/UserScript==
|
||||
|
||||
// ----- Bypass paster.so ------
|
||||
(function() {
|
||||
'use strict';
|
||||
|
||||
if (/^https:\/\/paster\.so\/\w+/.test(window.location.href)) {
|
||||
|
||||
// List of excluded domains
|
||||
const excludedDomains = ['paster.so', 'google.com', 'cloudflareinsights.com', 'wikipedia.com', 'w3.org', 'hcaptcha.com', 'gstatic.com'];
|
||||
|
||||
let overlayCreated = false;
|
||||
|
||||
// Function to extract URLs from the page source code and remove duplicates
|
||||
function extractURLsFromPage() {
|
||||
const pageSource = document.documentElement.outerHTML;
|
||||
const urlRegex = /(?:https?|ftp):\/\/[^\s/$.?#].[^\s"]+/g;
|
||||
let urls = pageSource.match(urlRegex);
|
||||
if (urls) {
|
||||
const uniqueURLs = new Set(urls.map(url => url.split("\\")[0]));
|
||||
urls = Array.from(uniqueURLs);
|
||||
}
|
||||
return urls ? urls.filter(url => !excludedDomains.some(domain => url.includes(domain))) : [];
|
||||
}
|
||||
|
||||
// Function to create the overlay element and add clickable URLs to it
|
||||
function addURLsToOverlay(urls) {
|
||||
const overlay = document.createElement('div');
|
||||
overlay.style.position = 'fixed';
|
||||
overlay.style.top = '50%';
|
||||
overlay.style.right = '20px'; // Adjusted to appear in the middle right corner
|
||||
overlay.style.transform = 'translateY(-50%)';
|
||||
overlay.style.backgroundColor = 'rgba(255, 255, 255, 0.9)';
|
||||
overlay.style.padding = '10px';
|
||||
overlay.style.borderRadius = '5px';
|
||||
overlay.style.zIndex = '9999';
|
||||
|
||||
// Add title
|
||||
const title = document.createElement('h3');
|
||||
title.textContent = 'URLs found:';
|
||||
overlay.appendChild(title);
|
||||
|
||||
const urlList = document.createElement('ul');
|
||||
urls.forEach(url => {
|
||||
const listItem = document.createElement('li');
|
||||
const link = document.createElement('a');
|
||||
link.textContent = url;
|
||||
link.href = url;
|
||||
link.target = '_blank'; // Open link in a new tab
|
||||
listItem.appendChild(link);
|
||||
urlList.appendChild(listItem);
|
||||
});
|
||||
|
||||
overlay.appendChild(urlList);
|
||||
document.body.appendChild(overlay);
|
||||
}
|
||||
|
||||
// Wait for the window to be fully loaded
|
||||
window.addEventListener('load', () => {
|
||||
if (!overlayCreated) {
|
||||
const extractedURLs = extractURLsFromPage();
|
||||
if (extractedURLs.length === 1) {
|
||||
window.location.assign(extractedURLs[0]); // Redirect to the URL if only one URL is found
|
||||
} else if (extractedURLs.length > 1) {
|
||||
addURLsToOverlay(extractedURLs); // Add URLs to overlay if more than one URL is found
|
||||
overlayCreated = true;
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
})();
|
||||
// ---------
|
|
@ -620,6 +620,7 @@ bestlink.pro
|
|||
playstore.pw
|
||||
sigmalinks.in
|
||||
r1.foxylinks.site
|
||||
https://paster.so/*
|
||||
/^(https?:\/\/)((ebaticalfel|megadropsz|stownrusis|iedprivatedqu).com)\/s\?/
|
||||
/adbypass.eu/
|
||||
/(bypass.city|adbypass.org)\/bypass\?bypass=/
|
||||
|
|
Loading…
Reference in a new issue