Could we have a site option or any workaround which allow us change the “Powered by Obsidian” text on graph view to other custom text(unicode string)? or hide it?
Thanks
Could we have a site option or any workaround which allow us change the “Powered by Obsidian” text on graph view to other custom text(unicode string)? or hide it?
Thanks
This is something that I’d like to have. It feels a bit unfair to be charged such a premium and end up with TWO Obsidian notices in the same screen. Come on. Let me hide it. If I want to promo Obsidian I’ll do it myself.
Please note how the “Powered by Obsidian” has more opacity than the other text at #fff
0.4
…
Then there’s this ridiculous thing:
Seriously.
This would feel less of an abuse if I could set the fill opacity to 0 and then use a -highlgith (:hover) fill class, which I know is not implemented.
You can use:
app.graph.renderer.hidePowerTag = true
As of 10/6/2023
@sol, where do you use this configuration?
I’d also like to know.
I thought maybe you just put it in publish.css but I’m not sure where. Putting it near the top did not work for me.
I would also like to know!
@lki987 @andrewkumarxyz @vesto.comodo Adding the following code to my publish.js file worked for me. (note that to use javascript like this you need to have a custom domain set up):
function setupGraphSettings() {
if (app && app.graph && app.graph.renderer) {
app.graph.renderer.hidePowerTag = true;
console.log('Graph settings successfully applied.');
} else {
console.log('Graph renderer still not available, retrying in 10ms...');
setTimeout(setupGraphSettings, 10); // Retry after 10ms
}
}
// Initial call to setupGraphSettings
setupGraphSettings();
thank you very much sir - this worked like a charm! @jdafoe