Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // ==UserScript==
- // @name freeproxyupdate.com get fast proxies
- // @namespace http://tampermonkey.net/
- // @version 0.1
- // @description console.log a list of proxies from the below pages (socks4 and 5) if they are marked as "Fast"
- // @author Wrath of Ainz / XenoTheStrange
- // @match https://freeproxyupdate.com/socks5-proxy
- // @match https://freeproxyupdate.com/socks4-proxy
- // @match https://freeproxyupdate.com/socks-proxy
- // @icon https://www.google.com/s2/favicons?sz=64&domain=freeproxyupdate.com
- // @grant none
- // ==/UserScript==
- (function() {
- 'use strict';
- var proxylist = []
- var table = document.querySelector(".list-proxy").children[1]
- for (let i=0;i<table.children.length;i++){
- let elm = table.children[i]
- //elm.children are as follows from 0-10
- //IP:PORT:COUNTRY:REGION/CITY:PROTOCOL:ANONYMITY:SPEED:LATENCY:RESPONSE:UPTIME:LAST_CHECKED
- if (elm.children[6].innerText === "Fast"){
- proxylist.push(
- elm.children[4].innerText +
- "://"+
- elm.children[0].innerText +
- ":" +
- elm.children[1].innerText
- )
- }
- }
- console.log(proxylist.join("\n"))
- })();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement