Last active
May 6, 2025 11:07
-
-
Save scarf005/fa439569d0d146fb4c25b9a388429d1e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name 파파존스 무조건 소스많이 | |
// @namespace https://github.com/scarf005 | |
// @description 무조건 소스많이!!!!!! | |
// @author scarf | |
// @version 1.0.0 | |
// @icon https://www.google.com/s2/favicons?sz=64&domain=github.com | |
// | |
// @homepageURL https://gist.github.com/scarf005/fa439569d0d146fb4c25b9a388429d1e | |
// @supportURL https://gist.github.com/scarf005/fa439569d0d146fb4c25b9a388429d1e | |
// @downloadURL https://gist.github.com/scarf005/fa439569d0d146fb4c25b9a388429d1e/more-sauce.user.js | |
// | |
// @match https://pji.co.kr/menu/productPizzaDetail* | |
// @grant GM.addStyle | |
// ==/UserScript== | |
{ | |
GM.addStyle(`button.btn_payment[disabled] { background-color: gray; }`) | |
const paymentButton = document.querySelector("button.btn_payment") | |
const check = (event) => | |
paymentButton.disabled = event?.target?.getAttribute("data-text") !== "소스 많이" | |
document.querySelector("#detail_option2 ul").addEventListener("change", check) | |
check() | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment