Giter Site home page Giter Site logo

vacbanchecker's People

Contributors

amarkalabic avatar aquaeatrae avatar htjjen avatar willsonhaw avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

vacbanchecker's Issues

Not working anymore

All i can say is, thats its not working since 1-2 weeks. FF 51.0.1
edit: https not working http works

New Persona Version on Steam

Hi there,

I noticed the new Steam Design came out, so also the classnames and stuff changed...
Nonetheless I have solved it by now with a custom design. It's the same procedure with the bookmark. Enjoy.

javascript:(function(){function getDigit(x,digitIndex){return(digitIndex>=x.length)?"0":x.charAt(x.length-digitIndex-1)} function prefixZeros(strint,zeroCount){var result=strint;for(var i=0;i<zeroCount;i++){result="0"+result} return result} function add(x,y){var maxLength=Math.max(x.length,y.length);var result="";var borrow=0;var leadingZeros=0;for(var i=0;i<maxLength;i++){var lhs=Number(getDigit(x,i));var rhs=Number(getDigit(y,i));var digit=lhs+rhs+borrow;borrow=0;while(digit>=10){digit-=10;borrow++} if(digit===0){leadingZeros++}else{result=String(digit)+prefixZeros(result,leadingZeros);leadingZeros=0}} if(borrow>0){result=String(borrow)+result} return result} function getId(friend){var steam64identifier="76561197960265728";var miniProfileId=friend.attributes.getNamedItem('data-miniprofile').value;return add(steam64identifier,miniProfileId)} var friends=[].slice.call(document.querySelectorAll('.friend_block_v2'));var lookup={};friends.forEach(function(friend){var id=getId(friend);if(!lookup[id]){lookup[id]=[]} lookup[id].push(friend)});function setVacation(player){var friendElements=lookup[player.SteamId];friendElements.forEach(function(friend){var inGameText=friend.querySelector('.in-game');var span=document.createElement('span');span.style.fontWeight='bold';span.style.display='block';if(inGameText){inGameText.innerHTML=inGameText.innerHTML.replace(/<br ?\/?>/,' - ')} if(player.NumberOfVACBans||player.NumberOfGameBans){var text='';if(player.NumberOfGameBans){text+=player.NumberOfGameBans+' OW bans'} if(player.NumberOfVACBans){text+=(text===''?'':', ')+player.NumberOfVACBans+' VAC bans'} text+=' '+player.DaysSinceLastBan+' days ago.';span.style.color='rgb(255, 73, 73)';span.innerHTML=text;friend.setAttribute("style","background-color: rgba(100, 31, 36, .8);")}else{span.style.color='rgb(43, 203, 64)';span.innerHTML='No Bans for this player.'} friend.querySelector('.player_avatar.friend_block_link_overlay > img').setAttribute("style","height: 70px; width: 70px; border-radius: 15px;");friend.querySelector('.player_avatar.friend_block_link_overlay').style.height="70px";friend.style.height="70px";var selection=friend.querySelector('.blocked_text')!==null;if(selection){friend.querySelector('.blocked_text').outerHTML=""} friend.querySelector('.friend_small_text').appendChild(span)})} function onData(xmlHttp){if(xmlHttp.readyState===XMLHttpRequest.DONE&&xmlHttp.status===200){var data=JSON.parse(xmlHttp.responseText);data.players.forEach(setVacation)}} function makeApiCall(ids){var xmlHttp=new XMLHttpRequest();var endpointRoot='https://api.steampowered.com/ISteamUser/GetPlayerBans/v1/?key=12A1D1DE83F9932934EDD6DF2BA00463&steamids=';var endpoint=endpointRoot+ids.join(',');xmlHttp.onreadystatechange=function(){onData(xmlHttp)};xmlHttp.open('GET',endpoint,!0);xmlHttp.send()} var ids=Object.keys(lookup);while(ids.length>0){var batch=ids.splice(0,100);makeApiCall(batch)}})()

Revise "How to Use" section in README

I would like to make some revisions to the How to Use section.


Background:
As a beginner contributor, I'm working on an assignment for my technical writing course, which requires students to make real-world revisions and have them accepted.

I will make PR(s) after my revisions. Please feel free to correct me if I missed anything. Thank you!

Add Description of Project to README.md

Hi,
I would like to add some description of your project in the README.md. If it's possible, please let me know what you'd like me to add. Thank you!


Background:
As a beginner contributor, I'm working on an assignment for my technical writing course, which requires students to make real-world revisions and have them accepted.

I will make PR(s) after my revisions. Please feel free to correct me if I missed anything. Thank you!

Nov/2016 the checker dont work anymore

Hello!

I've always check in the "recently played with" if somebody has received the vac, but yesterday i've try and the checker dont work anymore! I test today again and nothing happened. = /

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    šŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. šŸ“ŠšŸ“ˆšŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ā¤ļø Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.