Last active
December 4, 2021 15:47
-
-
Save berkantkz/a9a3bcab0a4532c8d268fbbe5d6ecfdb to your computer and use it in GitHub Desktop.
Tamper monkey için GSBWIFI otomatik giriş betiği.
This file contains hidden or 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
// ==UserScript== | |
// @name KYKWIFI Otomatik Giriş | |
// @namespace http://github.com/berkantkz/ | |
// @version 0.1 | |
// @description KYKWIFI otomatik giriş | |
// @author berkantkz | |
// @match https://wifi.gsb.gov.tr/login.html* | |
// @grant none | |
// ==/UserScript== | |
(function() { | |
'use strict'; | |
// Your code here... | |
function ask() { | |
var answer = window.confirm("Giriş yap?"); | |
if (answer) { | |
document.getElementsByClassName('btn')[0].click(); | |
} | |
} | |
setTimeout(() => ask(), 5000); | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment