Annoying advertisement to buy API credits on every startup: Bug or feature? #8006
Replies: 2 comments 6 replies
-
Rather than cookies, it is stored in localstorage. Are you able to configure firefox to not clear the domain/port you use Comfy on? The app also relies on storing other important thing in local/session storage like the workflow state. Let me know if that works, otherwise we can try other things.
I wouldn't say ComfyUI is developing towards a SaaS/proprietary tool. It's just one of many features being added to expand what the user is able to do. |
Beta Was this translation helpful? Give feedback.
-
Two ways I can think of. Method 1: custom uBlock ruleIf you have an ad-blocker, here's a rule that works. 127.0.0.1##.p-dialog-mask:has([aria-labelledby="api-nodes-news"]) If you're not accessing comfy from a URL of 127.0.0.1 then edit the rule accordingly. uBlock's syntax doesn't seem to do port numbers (such as 127.0.0.1:8188) so this is good enough. Method 2: edit the frontend codeThe popup is being called from code in the comfy-frontend package. You can edit out the function call directly by searching for the packed javascript file in your Comfy installation or python packages. In the current build, that file is function showApiNodesNewsDialog() { and put in a function showApiNodesNewsDialog() { return; |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
The title already says it: I get the annoying ad for buying API credits on every startup of Comfy. I assume it’s a bug because other users told me that they see the ad only once and not on every startup.
Windows11, RTX3060, ComfyUI portable, no VM, no Docker.
Browser: Firefox
Did some research myself. I noticed that ComfyUI creates a cookie in the browser. So the issue might be related to wiping cookies upon closing Firefox for privacy reasons.
Also I added
-–disable-api-nodes
to startup args. But that changes nothing.Any chance to disable the message once and for all, without having to enable cookies in Firefox?
I don’t want to sound ungrateful and I can understand that Comfy devs want to make some money. But still I’m sad and disappointed that one of the most powerful tools of the open source AI community is developing towards SaaS/proprietary tool.

Beta Was this translation helpful? Give feedback.
All reactions