Skip to content

Instantly share code, notes, and snippets.

View agungjk's full-sized avatar

Agung Jati Kusumo agungjk

View GitHub Profile
@shaneapen
shaneapen / WAXP.js
Last active November 19, 2023 06:03
WhatsApp Group Contacts Exporter
WAXP = (function(){
MutationObserver = window.MutationObserver || window.WebKitMutationObserver;
var SCROLL_INTERVAL = 600,
SCROLL_INCREMENT = 450,
AUTO_SCROLL = true,
NAME_PREFIX = '',
UNKNOWN_CONTACTS_ONLY = false,
MEMBERS_QUEUE = {},
@OffS3c
OffS3c / jvzoo-IPN-verification.js
Created October 28, 2018 10:49
JVZoo IPN verification function (ported from PHP one)
/*
Hello dear developers,
I ported this function for JVZoo IPN verification from PHP one at
(https://jvzoo.zendesk.com/hc/en-us/articles/206456857-JVZIPN-How-to-create-your-own-integrated-script) and
wanted to share that with all fellow devs.
REF: https://jvzoo.zendesk.com/hc/en-us/articles/206456857-JVZIPN-How-to-create-your-own-integrated-script
@yannleretaille
yannleretaille / validate-selectize-fields.js
Last active April 25, 2022 13:25
How to validate selectize.js comboboxes with the jQuery validation plugin
//How to validate selectize.js comboboxes with the jQuery validation plugin
//selectize.js: http://brianreavis.github.io/selectize.js/ (brianreavis/selectize.js)
//http://jqueryvalidation.org (jzaefferer/jquery-validation)
//configure jquery validation
$("#commentForm").validate({
//the default ignore selector is ':hidden', the following selectors restore the default behaviour when using selectize.js
//:hidden:not([class~=selectized]) | selects all hidden elements, but not the original selects/inputs hidden by selectize
//:hidden > .selectized | to restore the behaviour of the default selector, the original selects/inputs are only validated if their parent is visible
//.selectize-control .selectize-input input | this rule is not really necessary, but ensures that the temporary inputs created by selectize on the fly are never validated