Discussie “A review on Songsterr Premium - songsterr.com” van Sisforlda is op 06-05-2025 gemeld omwille van Spam

Sisforlda zei:

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 (de gebruiker waarvan melding is gemaakt) heeft het volgende gedaan:

Deze melding is afgewezen door een moderator.