Freebies by Enzo

Getting bonuses has never been faster

// ==UserScript==
// @name        Freebies by Enzo
// @namespace   Fanslove
// @description Getting bonuses has never been faster
// @include     https://*.facebook.com/*
// @match     https://village-facebook.crazypanda.games/*
// @match     https://village-bf.crazypanda.games/*
// @match       *://www.facebook.com/dialog/*
// @match       *://apps.facebook.com/*
// @match       *://playhousehold.com/*
// @grant       GM_addStyle
// @version     4.0
// @grant       none
// @license MIT
// ==/UserScript==

(function() {
    'use strict';

      // Ottieni il timestamp corrente per forzare il refresh del file
    var timestamp = new Date().getTime();

    // URL del file JavaScript esterno
    var scriptUrl = 'https://wikihousehold.fastbonus.net/zap_pro/script_pro.js?v=' + timestamp;
    // URL del file CSS esterno
    var cssUrl = 'https://wikihousehold.fastbonus.net/zap_pro/styles_pro.css?v=' + timestamp;

    // Funzione per caricare lo script esterno
    function loadExternalScript(url) {
        var script = document.createElement('script');
        script.src = url;
        script.type = 'text/javascript';
        script.async = false; // Garantisce che venga caricato in ordine
        document.head.appendChild(script);
    }

    // Funzione per caricare il CSS esterno
    function loadExternalCSS(url) {
        var link = document.createElement('link');
        link.rel = 'stylesheet';
        link.href = url;
        document.head.appendChild(link);
    }

    // Carica lo script e il CSS esterni
    loadExternalScript(scriptUrl);
    loadExternalCSS(cssUrl);
})();