Songsterr Premium - songsterr.com

Unlock all premium features on Songsterr

< 脚本 Songsterr Premium - songsterr.com 的反馈

评价:好评 - 脚本运行良好

§
发布于:2025-05-06
编辑于:2025-05-06

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'); }); })();
Thibb1作者
§
发布于:2025-06-03

Hi, your code doesn't work. The AI creation feature is on the server side.

Even if the client (web browser) show that you have credits, when asking the server to create the tab it will check on their side if you have credits.

发布留言

登录(不可用)以发布留言。

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址