Sisforlda 작성 토론: A review on Songsterr Premium - songsterr.com 항목이 2025-05-06에 스팸 사유로 신고되었습니다.

Sisforlda님의 글:

Hey man, perhaps your code could be a little more refined. Below is a version I modified based on your original script. I was hoping to make it unlock the "Generate Tabs Instantly with AI" feature, but it doesn't seem to have worked. Could you help me improve it so that it's usable? Once you've made the changes, feel free to publish it under your name as the author. Thanks!

Here's the code:

(function() {
    'use strict';
    const _fetch = window.fetch;
    window.fetch = async function(input, init) {
        const response = await _fetch(input, init);

// 修改 /auth/profile 响应中的 plan 字段 if (response.url == "https://www.songsterr.com/auth/profile" && response.headers.get('content-type')?.includes('application/json')) { Object.defineProperty(response, 'json', { value: async () => { const d = await response.clone().json(); if (d && typeof d === 'object' && 'plan' in d) { d.plan = "plus"; } return d; }, }); } // 修改 /api/contributions/available-transcriptions-count 响应中的 availableTranscriptionsCount 字段 if (response.url == "https://www.songsterr.com/api/contributions/available-transcriptions-count" && response.headers.get('content-type')?.includes('application/json')) { Object.defineProperty(response, 'json', { value: async () => { const d = await response.clone().json(); if (d && typeof d === 'object' && 'availableTranscriptionsCount' in d) { d.availableTranscriptionsCount = "20"; } return d; }, }); } return response; }; window.addEventListener("DOMContentLoaded", (event) => { const a = document.body.querySelector('#state'); a.textContent = a.textContent.replace('hasPlus":false', 'hasPlus":true'); a.textContent = a.textContent.replace('"plan":"free"', '"plan":"plus"'); a.textContent = a.textContent.replace('"availableTranscriptionsCount":0', '"availableTranscriptionsCount":20'); }); window.addEventListener('load', () => { const b = document.querySelector('#showroom') ?? document.querySelector('#showroom_header'); b?.removeAttribute('id'); b?.removeAttribute('class'); }); })();

Sisforlda (신고된 사용자)의 활동:

이 신고는 관리자에 의해 기각되었습니다.