Skip to content

Instantly share code, notes, and snippets.

@Amm1rr
Last active May 3, 2023 12:02
Show Gist options
  • Save Amm1rr/51d197ff4e3bab1b4011c74722b088dc to your computer and use it in GitHub Desktop.
Save Amm1rr/51d197ff4e3bab1b4011c74722b088dc to your computer and use it in GitHub Desktop.
An userscript that make premium account in VajehYab.com
// ==UserScript==
// @name Vajehyab Premium
// @version 0.2
// @author Amir
// @description Make the Vajehyab.com website even better! with enable half of premium features, for free :)
// @homepage https://github.com/Amm1rr
// @namespace mkh
// @include http://*.vajehyab.com/*
// @include https://*.vajehyab.com/*
// @grant none
// ==/UserScript==
(function () {
"use strict";
document
.getElementById("magicword")
.classList.replace("nopremium", "premium");
document.getElementById("is_premium").value = "1";
document.getElementsByClassName("vyads")[0].remove;
document.querySelector("#content > div.vyads").remove;
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment