Skip to content

Instantly share code, notes, and snippets.

View ahmadajmi's full-sized avatar

Ahmad Ajmi ahmadajmi

View GitHub Profile
<script>
$(document).ready(function() {
// =====================
// Members subscription
// =====================
// Parse the URL parameter
function getParameterByName(name, url) {
if (!url) url = window.location.href;
name = name.replace(/[\[\]]/g, '\\$&');
<li class='c-social-icons__item'>
<a href='#' aria-label='Spotify' target='_blank' rel='noopener'>
<span class='c-social-icons__icon' data-size='s'>
<svg enable-background="new 0 0 512 512" width='18' height='18' style='vertical-align:top;' id="Layer_1" version="1.1" viewBox="0 0 512 512" xml:space="preserve" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><g><path d="M507,257.1c0,2.5-0.1,5,0,7.5c1.2,43.2-11.5,82.9-33.5,119.3c-40.5,67-99.8,108.7-177.4,119.5 c-99,13.8-179.6-21-240.1-100.7C29.8,368.3,14.8,328.8,10.4,286c-8.3-82.4,17-153.1,76.8-210.6c41.6-40,91.8-62.9,149.2-67.1 c91.8-6.7,166.4,27.1,222.7,100c26,33.7,41.4,72.3,46.7,114.6c1.4,11.3,0.2,22.8,0.2,34.3C506.3,257.1,506.7,257.1,507,257.1z M207.8,139.3c-9.5,0.7-24.6,1.4-39.7,3c-22.4,2.2-44.5,6.1-66,12.9c-12.5,4-19,16.8-15.2,29.1c3.8,12.2,16.5,19.1,29,15.4 c30.1-8.9,60.9-12.6,92.1-13.6c30.2-1,60.2,0.9,90,5.9c37.6,6.3,74,16.7,107.3,36c12.2,7.1,26.2,3.8,33-7.8 c6.8-11.5,2.9-25.7-9.7-32.5c-11.7-6.3-23.6-12.
@ahmadajmi
ahmadajmi / app.min.js
Created April 11, 2021 16:22
Sinai - Search Title Only
!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(k,e){"use strict";function m(e){return null!=e&&e===e.window}var t=[],n=Object.getPrototypeOf,a=t.slice,g=t.flat?function(e){return t.flat.call(e)}:function(e){return t.concat.apply([],e)},c=t.push,r=t.indexOf,i={},o=i.toString,v=i.hasOwnProperty,s=v.toString,u=s.call(Object),w={},y=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType&&"function"!=typeof e.item},x=k.document,l={type:!0,src:!0,nonce:!0,noModule:!0};function b(e,t,n){var i,r,o=(n=n||x).createElement("script");if(o.text=e,t)for(i in l)(r=t[i]||t.getAttribute&&t.getAttribute(i))&&o.setAttribute(i,r);n.head.appendChild(o).parentNode.removeChild(o)}function p(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?i[o.call(e)]||"object":typeof e}var d="3.6.0
@ahmadajmi
ahmadajmi / app.min.js
Created April 11, 2021 16:19
Aspire - Search Title Only
!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(k,e){"use strict";function m(e){return null!=e&&e===e.window}var t=[],n=Object.getPrototypeOf,a=t.slice,w=t.flat?function(e){return t.flat.call(e)}:function(e){return t.concat.apply([],e)},c=t.push,i=t.indexOf,r={},s=r.toString,g=r.hasOwnProperty,o=g.toString,u=o.call(Object),v={},b=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType&&"function"!=typeof e.item},x=k.document,l={type:!0,src:!0,nonce:!0,noModule:!0};function y(e,t,n){var r,i,s=(n=n||x).createElement("script");if(s.text=e,t)for(r in l)(i=t[r]||t.getAttribute&&t.getAttribute(r))&&s.setAttribute(r,i);n.head.appendChild(s).parentNode.removeChild(s)}function p(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?r[s.call(e)]||"object":typeof e}var d="3.6.0
@ahmadajmi
ahmadajmi / app.min.js
Created April 11, 2021 16:14
Maxima - Search Title Only
!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(k,e){"use strict";function m(e){return null!=e&&e===e.window}var t=[],n=Object.getPrototypeOf,a=t.slice,g=t.flat?function(e){return t.flat.call(e)}:function(e){return t.concat.apply([],e)},c=t.push,r=t.indexOf,i={},o=i.toString,w=i.hasOwnProperty,s=w.toString,u=s.call(Object),v={},y=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType&&"function"!=typeof e.item},x=k.document,l={type:!0,src:!0,nonce:!0,noModule:!0};function b(e,t,n){var i,r,o=(n=n||x).createElement("script");if(o.text=e,t)for(i in l)(r=t[i]||t.getAttribute&&t.getAttribute(i))&&o.setAttribute(i,r);n.head.appendChild(o).parentNode.removeChild(o)}function p(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?i[o.call(e)]||"object":typeof e}var h="3.6.0
@ahmadajmi
ahmadajmi / app.min.js
Created April 11, 2021 16:11
East - Search Title Only
!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(k,e){"use strict";function m(e){return null!=e&&e===e.window}var t=[],n=Object.getPrototypeOf,a=t.slice,w=t.flat?function(e){return t.flat.call(e)}:function(e){return t.concat.apply([],e)},c=t.push,i=t.indexOf,r={},s=r.toString,g=r.hasOwnProperty,o=g.toString,u=o.call(Object),v={},b=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType&&"function"!=typeof e.item},x=k.document,l={type:!0,src:!0,nonce:!0,noModule:!0};function y(e,t,n){var r,i,s=(n=n||x).createElement("script");if(s.text=e,t)for(r in l)(i=t[r]||t.getAttribute&&t.getAttribute(r))&&s.setAttribute(r,i);n.head.appendChild(s).parentNode.removeChild(s)}function p(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?r[s.call(e)]||"object":typeof e}var d="3.6.0
@ahmadajmi
ahmadajmi / app.min.js
Created April 11, 2021 16:08
Nubia - Search Title Only
!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(k,e){"use strict";function m(e){return null!=e&&e===e.window}var t=[],n=Object.getPrototypeOf,a=t.slice,g=t.flat?function(e){return t.flat.call(e)}:function(e){return t.concat.apply([],e)},c=t.push,i=t.indexOf,r={},o=r.toString,w=r.hasOwnProperty,s=w.toString,u=s.call(Object),v={},b=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType&&"function"!=typeof e.item},x=k.document,l={type:!0,src:!0,nonce:!0,noModule:!0};function y(e,t,n){var r,i,o=(n=n||x).createElement("script");if(o.text=e,t)for(r in l)(i=t[r]||t.getAttribute&&t.getAttribute(r))&&o.setAttribute(r,i);n.head.appendChild(o).parentNode.removeChild(o)}function p(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?r[o.call(e)]||"object":typeof e}var d="3.6.0
@ahmadajmi
ahmadajmi / app.min.js
Created April 11, 2021 16:06
Hue - Search Title Only
!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(k,e){"use strict";function m(e){return null!=e&&e===e.window}var t=[],n=Object.getPrototypeOf,a=t.slice,g=t.flat?function(e){return t.flat.call(e)}:function(e){return t.concat.apply([],e)},c=t.push,i=t.indexOf,r={},o=r.toString,w=r.hasOwnProperty,s=w.toString,u=s.call(Object),v={},b=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType&&"function"!=typeof e.item},x=k.document,l={type:!0,src:!0,nonce:!0,noModule:!0};function y(e,t,n){var r,i,o=(n=n||x).createElement("script");if(o.text=e,t)for(r in l)(i=t[r]||t.getAttribute&&t.getAttribute(r))&&o.setAttribute(r,i);n.head.appendChild(o).parentNode.removeChild(o)}function p(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?r[o.call(e)]||"object":typeof e}var d="3.6.0
@ahmadajmi
ahmadajmi / app.min.js
Created April 11, 2021 16:03
Melaka - Search Title Only
!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(k,e){"use strict";function m(e){return null!=e&&e===e.window}var t=[],n=Object.getPrototypeOf,a=t.slice,g=t.flat?function(e){return t.flat.call(e)}:function(e){return t.concat.apply([],e)},c=t.push,i=t.indexOf,r={},o=r.toString,w=r.hasOwnProperty,s=w.toString,u=s.call(Object),v={},b=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType&&"function"!=typeof e.item},x=k.document,l={type:!0,src:!0,nonce:!0,noModule:!0};function y(e,t,n){var r,i,o=(n=n||x).createElement("script");if(o.text=e,t)for(r in l)(i=t[r]||t.getAttribute&&t.getAttribute(r))&&o.setAttribute(r,i);n.head.appendChild(o).parentNode.removeChild(o)}function p(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?r[o.call(e)]||"object":typeof e}var d="3.6.0
@ahmadajmi
ahmadajmi / app.min.js
Created April 11, 2021 16:01
Penang - Search Title Only
!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(k,e){"use strict";function m(e){return null!=e&&e===e.window}var t=[],n=Object.getPrototypeOf,a=t.slice,g=t.flat?function(e){return t.flat.call(e)}:function(e){return t.concat.apply([],e)},c=t.push,i=t.indexOf,r={},o=r.toString,w=r.hasOwnProperty,s=w.toString,u=s.call(Object),v={},b=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType&&"function"!=typeof e.item},x=k.document,l={type:!0,src:!0,nonce:!0,noModule:!0};function y(e,t,n){var r,i,o=(n=n||x).createElement("script");if(o.text=e,t)for(r in l)(i=t[r]||t.getAttribute&&t.getAttribute(r))&&o.setAttribute(r,i);n.head.appendChild(o).parentNode.removeChild(o)}function p(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?r[o.call(e)]||"object":typeof e}var d="3.6.0