Pirated games on store pages

Adds links to pirated games on multiple stores

< Pirated games on store pages 피드백으로 돌아가기

리뷰: 좋음 - 스크립트가 잘 작동함

§
게시: 2023-04-01
수정: 2023-04-01

Love this script, but it likes inputting the annoying symbols in searches, do you mind adding this to all your cases:

appName = appName.replace(/®|™/g, '');

For reference, it should look like this once you've added it:

switch (storePageResult) {
    case "GOG":
        appName = document.getElementsByClassName("productcard-basics__title")[0].textContent;
        appName = appName.replace(/®|™/g, '');
        pirateLinks.forEach((e) => {
            $("button.cart-button")[0].parentElement.parentElement.append(rigGOG(e.url + appName + e.urlSpecial, e.title))
        })
        break;
    // cases for other stores...
}

Keep up the great work, boss

Edit: Kinda like this icon: https://vectorified.com/images/pirate-bay-icon-28.png | Makes the script feel less bloated too.

답글 게시

답글을 게시하려면 로그인하세요.

长期地址
遇到问题?请前往 GitHub 提 Issues。