-
Notifications
You must be signed in to change notification settings - Fork 1
/
Ruleset.json
1 lines (1 loc) · 6.41 KB
/
Ruleset.json
1
{"v":1,"data":[{"id":"d5","matchUrl":"*surviv.io*","rules":[{"type":"fileInject","fileName":"Automatically safe proxy","file":"(function() {'use strict';if (location.protocol !== \"https:\"){location.protocol = \"https:\";}})();","fileId":"f1","fileType":"js","injectLocation":"head","on":true},{"type":"fileInject","fileName":"Adblocker","file":"!function(){\"use strict\";setInterval(function(){document.querySelector(\"#btn-start-team\")&&(document.querySelector(\"#btn-start-team\").style.display=\"block\");let e=document.querySelectorAll(\"#surviv-io_728x90, #surviv-io_300x600, #surviv-io_300x250, #ad-block-top, #surviv-io_300x250_2, #surviv-io_300x250_mobile_2\");for(let t=0;t<e.length;t++)e[t].remove();let t=document.querySelectorAll(\"#news-block, #social-share-block, #start-menu, #team-menu, #ad-block-left\");for(let e=0;e<t.length;e++)t[e].style.boxShadow=\"\"})}();","fileId":"f2","fileType":"js","injectLocation":"head","on":true},{"type":"fileInject","fileName":"Enhanced HUD","file":"!function(){\"use strict\";var e=document.getElementsByClassName(\"ui-weapon-name\");console.log(e);for(var a=0;a<e.length;a++)e[a].addEventListener(\"DOMSubtreeModified\",function(){var e=\"solid\";switch(this.textContent){default:e=\"#FFFFFF\",e=\"solid\";break;case\"Fists\":e+=\"#FFFFFF\";break;case\"Karambit\":e+=\"#76787A\";break;case\"Karambit Rugged\":e+=\"#16163B\";break;case\"Karmabit Prismatic\":e+=\"#34D682\";break;case\"Karmabit Drowned\":e+=\"#0CBCCC\";break;case\"Bayonet\":case\"Bayonet Rugged\":e+=\"#76787A\";break;case\"Bayonet Woodland\":e+=\"#5AA415\";break;case\"Huntsman\":e+=\"#76787A\";break;case\"Huntsman Rugged\":e+=\"#A0441E\";break;case\"Huntsman Burnished\":e+=\"#DACF76\";break;case\"Bowie\":e+=\"#76787A\";break;case\"Bowie Vintage\":e+=\"#B6B6B6\";break;case\"Bowie Frontier\":e+=\"#BA4B2E\";break;case\"Wood Axe\":e+=\"#95500E\";break;case\"Blood Axe\":e+=\"#568A09\";break;case\"Fire Axe\":e+=\"#B40000\";break;case\"Katana\":e+=\"#858585\";break;case\"Katana Rusted\":e+=\"#875F37\";break;case\"Katana Orchid\":e+=\"#C189CB\";break;case\"Naginata\":e+=\"#3C3C3C\";break;case\"Machete\":case\"Kukri\":e+=\"#685F40\";break;case\"Stone Hammer\":case\"Sledgehammer\":e+=\"#585A5C\";break;case\"Hook\":e+=\"#888A8B\";break;case\"Pan\":e+=\"#484848\";break;case\"Knuckles\":case\"Knuckles Rusted\":e+=\"#63452D\";break;case\"Knuckles Heroic\":e+=\"#90700D\";break;case\"Bonesaw\":e+=\"#461904\";break;case\"Spade\":e+=\"#DACF59\";break;case\"Crowbar\":e+=\"#ACD563\";break;case\"Kukri\":e+=\"#8DCEDB\";break;case\"Bonesaw\":e+=\"#DC79DC\";break;case\"Katana\":e+=\"#C76A67\";break;case\"War Hammer\":e+=\"#EAB963\";break;case\"CZ-3A1\":case\"G18C\":case\"M9\":case\"M93R\":case\"MAC-10\":case\"MP5\":case\"P30L\":case\"Dual P30L\":case\"UMP9\":case\"Vector\":case\"VSS\":e+=\"#FFAE00\";break;case\"M1100\":case\"M870\":case\"MP220\":case\"Saiga-12\":case\"SPAS-12\":case\"Super 90\":case\"USAS-12\":e+=\"#FF0000\";break;case\"AK-47\":case\"AN-94\":case\"BAR M1918\":case\"BLR 81\":case\"DP-28\":case\"Groza\":case\"Groza-S\":case\"M1 Garand\":case\"M39 EMR\":case\"Mosin-Nagant\":case\"OT-38\":case\"OTs-38\":case\"PKP Pecheneg\":case\"SCAR-H\":case\"SV-98\":case\"SVD-63\":e+=\"#0066FF\";break;case\"FAMAS\":case\"L86A2\":case\"M249\":case\"M416\":case\"M4A1-S\":case\"Mk 12 SPR\":case\"QBB-97\":case\"Scout Elite\":e+=\"#039E00\";break;case\"M1911\":case\"M1A1\":case\"Mk45G\":case\"Model 94\":case\"Peacemaker\":case\"Vector 45\":e+=\"#7900FF\";break;case\"Flare Gun\":e+=\"#D44600\";break;case\"DEagle 50\":e+=\"#292929\";break;case\"AWM-S\":case\"Mk 20 SSR\":e+=\"#465000\";break;case\"Potato Cannon\":e+=\"#935924\";break;case\"M9 Cursed\":e+=\"#323232\";break;case\"Frag\":e+=\"#837516\";break;case\"MIRV\":e+=\"#940000\";break;case\"Potato\":e+=\"#958359\";break;case\"Smoke\":e+=\"#DDDDDD\";break;case\"Snowball\":e+=\"#74D4F8\";break;case\"Strobe\":e+=\"#FFF205\";break;case\"Iron Bomb\":e+=\"#00FF00\"}console.log(e),this.parentNode.style.border=e},!1)}(),function(){\"use strict\";var e=document.getElementsByClassName(\"ui-armor-level\");console.log(e);for(var a=0;a<e.length;a++)e[a].addEventListener(\"DOMSubtreeModified\",function(){var e=\"solid\";switch(this.textContent){default:e=\"#000000\",e=\"solid\";break;case\"Lvl. 0\":case\"Lvl. 1\":e+=\"#FFFFFF\";break;case\"Lvl. 2\":e+=\"#808080\";break;case\"Lvl. 3\":e+=\"#0C0C0C\";break;case\"Lvl. 4\":e+=\"#FFF00F\"}console.log(e),this.parentNode.style.border=e},!1)}();","fileId":"f3","fileType":"js","injectLocation":"head","on":true},{"type":"fileInject","fileName":"Solo Squad | Solo Duo | Buttons","file":"!function(){\"use strict\";var t=document.createElement(\"button\");t.innerHTML=\"Play Solo 'Duo'\",t.setAttribute(\"id\",\"btn-start-solo btns-quick-start\"),t.setAttribute(\"class\",\"btn-darken menu-option btn-team-option menu-column menu-block\"),t.style.align=\"center\",t.style.background=\"#50AFAB\",t.style.border=\"#408E8B\",t.style.color=\"#E5F1F0\",t.style.cursor=\"pointer\",t.style.width=\"50%\",t.style.radius=\"15px\",t.style.shadow=\"0 5px #408E8B\",window.myFunc=function(){document.getElementById(\"btn-create-team\").click(),setTimeout(function(){document.getElementById(\"btn-team-queue-mode-1\").click(),document.getElementById(\"btn-team-fill-none\").click(),document.getElementById(\"btn-start-team\").click()},750)},t.addEventListener(\"click\",window.myFunc),document.getElementById(\"btns-quick-start\").parentNode.appendChild(t);var e=document.getElementById(\"btn-help\");e.parentNode.insertBefore(t,e)}(),function(){\"use strict\";var t=document.createElement(\"button\");t.innerHTML=\"Play Solo 'Squad'\",t.setAttribute(\"id\",\"btn-start-solo btns-quick-start\"),t.setAttribute(\"class\",\"btn-darken menu-option btn-team-option menu-column menu-block\"),t.style.align=\"center\",t.style.background=\"#50AFAB\",t.style.border=\"#408E8B\",t.style.color=\"#E5F1F0\",t.style.cursor=\"pointer\",t.style.width=\"50%\",t.style.radius=\"15px\",t.style.shadow=\"0 5px #408E8B\",window.myFunc=function(){document.getElementById(\"btn-create-team\").click(),setTimeout(function(){document.getElementById(\"btn-team-queue-mode-2\").click(),document.getElementById(\"btn-team-fill-none\").click(),document.getElementById(\"btn-start-team\").click()},750)},t.addEventListener(\"click\",window.myFunc),document.getElementById(\"btns-quick-start\").parentNode.appendChild(t);var e=document.getElementById(\"btn-help\");e.parentNode.insertBefore(t,e)}();","fileId":"f4","fileType":"js","injectLocation":"head","on":true}],"on":true}]}