existy / siambit.me auto like

// ==UserScript==
// @name         siambit.me auto like
// @namespace    bearbit.co
// @version      1.3
// @description  auto like
// @author       existy
// @match        *.bearbit.co/details.php?*
// @grant        none
// @license      MIT
// @updateURL    https://openuserjs.org/meta/existy/siambit.me_auto_like.meta.js
// @downloadURL https://openuserjs.org/install/existy/siambit.me_auto_like.user.js
// @copyright 2024, existy (https://openuserjs.org/users/existy)
// ==/UserScript==

(function() {
    'use strict';

    // Your code here...
    const urlParams = new URLSearchParams(window.location.search);
    const id = urlParams.get('id');

    if(sndReq) sndReq('action=say_thanks&id='+id, 'saythanks')
})();