Still failing in open a link on default browser
Avoid duplicates
- [x] I agree to follow the Code of Conduct that this project adheres to.
- [x] I have searched the issues tracker for a bug report similar to mine, in vain
Ferdium Version
Ferdium-linux-Portable-7.1.1-nightly.2-x86_64.appimage
What Operating System are you using?
Other Linux
Operating System Version
Kubuntu 25.04
What arch are you using?
x64
Last Known Working Ferdium version
Ferdium-linux-Portable-7.1.1-nightly.2-x86_64.appimage
Expected Behavior
Would likoe to open a link on the default browser, please.
Actual Behavior
Got this error:
Steps to reproduce
1 - Open Ferdium 2 - click on the web link 3 - got https://web.telegram.org/a/[object%20Object]
Debug link
No response
Screenshots
Additional information
Operating System: Kubuntu 25.04 KDE Plasma Version: 6.4.3 KDE Frameworks Version: 6.14.0 Qt Version: 6.8.3 Kernel Version: 6.15.7-x64v3-xanmod1 (64-bit) Graphics Platform: X11 Processors: 12 × AMD Ryzen 5 5625U with Radeon Graphics Memory: 64 GiB of RAM (62.2 GiB usable) Graphics Processor: AMD Radeon Graphics Manufacturer: Positivo Bahia - VAIO Product Name: VJFE69F11X-B0411H
This is an issue for me as well in W11 with Ferdium v7.1.0
This is an issue for me as well in Ubuntu 24.02 with Ferdium v7.1.0
Well... My own fix was to used an old version of Ferdium: 6.2.6 works fine openning the link in the default browser.
Thank you anyway.
Why would you close a bug report that hasn't been fixed? A workaround is not a solution.
Just an update. Version 6.2.6 doesn't work anymore. But with new version I noteiced that right click and choose Open Link works fine. However, if I click directly the links doesn't work.
Found a workaround. Right click on Telegram service in Ferdium, click "Edit", click on "Open user.js" button, open and edit "user.js" file, delete existing code and paste the code below, save the file and reload Telegram in Ferdium:
module.exports = (config, Ferdium) => {
document.addEventListener(
'click',
event => {
const link = event.target.closest('a[href^="http"]');
const button = event.target.closest('button[title^="http"]');
if (link || button) {
const url = link
? link.getAttribute('href')
: button.getAttribute('title');
event.preventDefault();
event.stopPropagation();
window.open(url);
}
},
true,
);
};
Can confirm that @represiv 's workaround solves the issue. Alternatively, if you click on links using the wheel click, they open correctly as well without making any modifications.
Found a workaround. Right click on Telegram service in Ferdium, click "Edit", click on "Open user.js" button, open and edit "user.js" file, delete existing code and paste the code below, save the file and reload Telegram in Ferdium:
module.exports = (config, Ferdium) => { document.addEventListener( 'click', event => { const link = event.target.closest('a[href^="http"]'); const button = event.target.closest('button[title^="http"]');
if (link || button) { const url = link ? link.getAttribute('href') : button.getAttribute('title'); event.preventDefault(); event.stopPropagation(); window.open(url); } }, true,); };
Works fine. Thanks
It worked for me too :) Thanks @represiv
This solution makes jumping from A to K version impossible. After changing to A we are stuck there.
thannks for the workaround . works for me on Version 7.1.1 on Fedora 43
Found a workaround. Right click on Telegram service in Ferdium, click "Edit", click on "Open user.js" button, open and edit "user.js" file, delete existing code and paste the code below, save the file and reload Telegram in Ferdium:
There's one more issue with this solution. Let's take for example this case:
On the top is the pasted link, then there's a preview text (which is also clickable) and then an image. The pasted link works. The image preview works. What it doesn't work is the (clickable) preview text. Since most of the time the preview text has more screen estate than the original link, it's common to click accidentally on the text and again have the "404" error. Is it possible to grab the even on this area too?