Figuring out opening links in same tab and firefox
Hey. I've setup my homarr dashboard and I am using a firefox extension to set my new-tab page to my dashboard. From what I understand, the extension (https://github.com/methodgrab/firefox-custom-new-tab-page) uses an iframe to load the dashboard. So when I open a link, for example in my bookmarks list widget, firefox shows me this warning (see attached image). The extension has a fix for this too. But it requires that the anchor tag has an attribute like
target="_top"
. Reference: https://github.com/MethodGrab/firefox-custom-new-tab-page/issues/21. I know this is kind of a niche problem but, I cant be the only one running firefox and wanting my new-tab page to be homarr :)
Any way I can add some js to my dashboard or something which automatically adds that attribute to all a
tags? (btw i was not sure what to tag with so i tagged documentation 😅)![No description](https://cdn.answeroverflow.com/1216416827757035550/image.png)
![No description](https://cdn.answeroverflow.com/1216416828071346356/image.png)
2 Replies
Thank you for submitting a support request.
Depending on the volume of requests, our team should get in contact with you shortly.
⚠️ Please include the following details in your post or we may reject your request without further comment: - Log (See https://homarr.dev/docs/community/faq#how-do-i-open-the-console--log) - Operating system (Unraid, TrueNAS, Ubuntu, ...) - Exact Homarr version (eg. 0.15.0, not latest) - Configuration (eg. docker-compose, screenshot or similar. Use ``your-text`` to format) - Other relevant information (eg. your devices, your browser, ...)
❓ Frequently Asked Questions | Homarr documentation
Can I install Homarr on a Raspberry Pi?
If i manually edit the anchor tag and add
target="_top"
it works just fine
Lol just ended up writing a userscript for tampermonkey myself which runs js on that page
but im leaving this open if theres a better way built in homarr