Last active
April 18, 2018 20:36
-
-
Save NickDeckerDevs/3146b3a204844783bb4a8a41816e80e5 to your computer and use it in GitHub Desktop.
lucky orange script to block ip addresses in the google console
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// replace ip addresses with your ip addresses. | |
// place this in google console to block all of these from your results | |
var ips = [ | |
'10.103.253.202', | |
'10.165.23.18', | |
'10.252.160.205' | |
]; | |
for(var i = 0; i < ips.length; i++) { | |
$('#settings-blocked .btn').trigger('click'); | |
$('#block_ip').val(ips[i]).parent().find('.btn').trigger('click'); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment