Skip to content

Instantly share code, notes, and snippets.

@almuhdilkarim
Last active January 25, 2022 22:23
Show Gist options
  • Save almuhdilkarim/bb9742a83e64b723ad47cdeb6c48b6f2 to your computer and use it in GitHub Desktop.
Save almuhdilkarim/bb9742a83e64b723ad47cdeb6c48b6f2 to your computer and use it in GitHub Desktop.

Revisions

  1. Al Muhdil Karim revised this gist Jan 25, 2022. No changes.
  2. Al Muhdil Karim revised this gist Jan 25, 2022. 1 changed file with 0 additions and 14 deletions.
    14 changes: 0 additions & 14 deletions xpresensi.js
    Original file line number Diff line number Diff line change
    @@ -1,22 +1,8 @@
    // ==UserScript==
    // @name X-Code
    // @namespace http://127.0.0.1/
    // @version 0.1
    // @description try to take over the world!
    // @author Cyb3r4r3s
    // @match https://presensi.uinjkt.ac.id/home
    // @icon https://www.google.com/s2/favicons?sz=64&domain=ac.id
    // @grant none
    // ==/UserScript==

    (function() {
    'use strict';
    const myTimeout = setTimeout(myGreeting, 5000);
    function myGreeting() {
    document.querySelector('.content-wrapper').firstElementChild.style.zIndex = "-100";
    alert('Sistem Pertahanan Non Aktiv');
    }


    // Your code here...
    })();
  3. Al Muhdil Karim created this gist Jan 25, 2022.
    22 changes: 22 additions & 0 deletions xpresensi.js
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,22 @@
    // ==UserScript==
    // @name X-Code
    // @namespace http://127.0.0.1/
    // @version 0.1
    // @description try to take over the world!
    // @author Cyb3r4r3s
    // @match https://presensi.uinjkt.ac.id/home
    // @icon https://www.google.com/s2/favicons?sz=64&domain=ac.id
    // @grant none
    // ==/UserScript==

    (function() {
    'use strict';
    const myTimeout = setTimeout(myGreeting, 5000);
    function myGreeting() {
    document.querySelector('.content-wrapper').firstElementChild.style.zIndex = "-100";
    alert('Sistem Pertahanan Non Aktiv');
    }


    // Your code here...
    })();