Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open Bookmarks in New Tab? #89

Open
DaveH1 opened this issue Apr 27, 2024 · 19 comments
Open

Open Bookmarks in New Tab? #89

DaveH1 opened this issue Apr 27, 2024 · 19 comments

Comments

@DaveH1
Copy link

DaveH1 commented Apr 27, 2024

As a user of 360Chome, one of the most useful things in that browser was the setting to always open bookmarks in a new tab.
Could this be added as an option to Thorium?
Thanks, Dave.

@Unknown78
Copy link

Just click the link with middle scroll button if you have a mouse. lol.

@DaveH1
Copy link
Author

DaveH1 commented Apr 27, 2024

Yes, I'm well aware of that option thanks, and the right click menu option too!
It's just something I've got used to happening automatically with browsers I've previously used.
It's there as a settings option in 360Chrome, so presumably wouldn't be that difficult to provide in Thorium.
My other two preferred options, not closing the browser when the last tab is closed, and double-clicking to close a tab, are already there. It's just opening bookmarks in a new tab, which is still missing!

@Alex313031
Copy link
Owner

@DaveH1 I know how to make Chromium register different mouse button presses. I use this, for example, in the flag to enable closing a tab by right clicking on it. The issue is finding where in the source code it decides to open a bookmark in a new tab on middle click press.

@DaveH1
Copy link
Author

DaveH1 commented Apr 28, 2024

Thanks @Alex313031.
Hopefully this can be added at some point, but it's obviously not a high priority!
Cheers, Dave.

@JoachimHenze
Copy link

@DaveH1 you could either use the chrome-flag #custom-ntp and set that to chrome://bookmarks
Or @Alex313031 could pick the implementation that the Supermium developers added here for me win32ss/supermium#238
That retores the behavior of Chrome 49 to display the bookmark bar only for new tabs but hides it for tabs which do already display webpage content (to save vertical screen space).

Not sure which of boith you do actually request for here.

@DaveH1
Copy link
Author

DaveH1 commented May 11, 2024

Thanks @JoachimHenze but that's not quite what I'm asking about.
What I'm asking for is an option (it is in the settings of 360Chrome) to always open them in a new tab when bookmarks are selected, instead of replacing the existing foreground tab.

Clipboard-3

This is especially good (for me anyway) when selecting entries on the bookmarks bar.

@gz83
Copy link
Collaborator

gz83 commented May 11, 2024

Here is a GitHub project that may be suitable for you to use. In fact, I am willing to try to implement the functions you want from the source code level, but my current main focus is to assist Google in modifying and improving the webgpu and Android codes.

https://github.com/Bush2021/chrome_plus

@DaveH1

@DaveH1
Copy link
Author

DaveH1 commented May 11, 2024

Thanks @gz83 that looks like a very interesting project!
However, the function I'm asking about must be already capable of being implemented in Chromium as it's already there in 360Chrome, which is based on Chromium 86.

@gz83
Copy link
Collaborator

gz83 commented May 11, 2024

What I proposed to you earlier is a transitional solution.

@DaveH1

@DaveH1
Copy link
Author

DaveH1 commented May 12, 2024

@gz83
Yes of course.
Alex was going to look into adding this as an option in Thorium, I think it was a matter of isolating the code used when the middle click is used to open a link in a new tab.
I have downloaded the option you kindly linked to, and I will give it a try.
Thanks very much.

@DaveH1
Copy link
Author

DaveH1 commented May 12, 2024

@gz83
Hi again! Off-topic, but have you actually used the chrome_plus option?
I can't see how to use it.
It says you just have to put the version.dll into the same folder as chrome.dll, but there's obviously more to it than that!
It comes with three folders, an 'app' folder containing version.dll and chrome++.ini, the settings file, and two other folders, 'Cache' and 'Data' both of which are empty.
What are you supposed to do with them, and the settings ini file?
I've tried various options, but nothing I've tried has actually made it work!
Thanks, Dave.

@gz83
Copy link
Collaborator

gz83 commented May 12, 2024

I have used it before and it worked fine. From your description, it seems that you need to look carefully at the introduction in that repo.
@DaveH1

@DaveH1
Copy link
Author

DaveH1 commented May 13, 2024

@gz83
Thanks, but I really can't see what I'm missing here.

Clipboard-1

In the introduction, under Installation, it just says "Place version.dll in the same directory as chrome.exe" and that's all it says!
Where are the other instructions?
Cheers, Dave.

@gz83
Copy link
Collaborator

gz83 commented May 13, 2024

Regarding how to use this software, it is recommended to consult the author and other users in the repo of this software.

We are now in the Thorium repo and should focus more on discussing Thorium issues.

@DaveH1

@DaveH1
Copy link
Author

DaveH1 commented May 13, 2024

Thanks, but can't you just tell me?!
I only want to test it.
Yes, this is completely off-topic here.

@gz83
Copy link
Collaborator

gz83 commented May 14, 2024

Please place the chrome++ file like this.

image

Next, you need to modify the chrome++.ini file, which uses 0 or 1 to control the turning off or on of the function.

Every time you modify the chrome++.ini file, you need to restart the browser for the changes to take effect.

Finally, your browser user data may be reset, please make sure to back it up.

@DaveH1

@DaveH1
Copy link
Author

DaveH1 commented May 14, 2024

Thanks very much!
I have put the files into the folder Program Files\Thorium\Chrome\Application, which is where yours seem to be.
This is different to the instructions, which say that version.dll should be in the same folder as Chrome.dll.
Still nothing happens, no matter what I put into chrome++.ini.
Sorry, I should have stated that I'm using Thorium Legacy on Windows XP.
Does that make a difference? Perhaps this just won't work on that version under that OS.

@gz83
Copy link
Collaborator

gz83 commented May 14, 2024

Oops, I forgot you were using Windows XP, and Chrome++ is not currently available on Windows XP.

In addition, I will move this issue to the legacy repo to reduce misunderstandings.

@DaveH1

@gz83 gz83 transferred this issue from Alex313031/Thorium-Win May 14, 2024
@DaveH1
Copy link
Author

DaveH1 commented May 16, 2024

Thanks @gz83 !
I raised this on the Chrome++ repro, and the author confirmed that too, it won't work on a Windows XP system.
Never mind, it's only the opening bookmarks in a new tab that I'm actually missing that I want, and I hope Alex might be able to add that to a future version of Thorium Legacy anyway.
Sorry, for the long off-topic discussion.
Cheers, Dave.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants