Thread Rating:
  • 2 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Stable version (5.2.1168.83)
(01-16-2026, 01:34 PM)S de Mayo Wrote: Many Temu (www.temu.com) links/buttons (when hovering over them with the mouse, nothing appears in the bottom left corner of the page) cannot be opened in a new tab.

For example, on the "Your orders" page, it is very tedious and slow to browse through the last 20 purchases, since after viewing each purchase you have to go back… then wait for the "Your orders" page to open again… then scroll… then click the "View more" button again… then wait again…

Is there some (Tampermonkey) script or another way to force these Temu links/buttons to open in a new tab?

Tampermonkey scripts are not easy to handle. The main issue is that web design does not wrap visible elements in <a> tags, but uses block elements such as <div> to wrap and listen for their click events to open the link.

You can click on an element while holding down Ctrl to open it in a background tab. Alternatively, clicking while holding down Ctrl+Shift will open the link in the foreground tab.

Additionally, you can enable the "Force links to open in the background tab" option in chrome://settings/cbTabOptions to make links open in background tabs by default.
Reply
^

On Temu, neither Ctrl+click, Ctrl+Shift+click, nor Cent settings adjustments work. That's why I asked here if there might be a script or some other way.
Reply
(Yesterday, 08:07 AM)S de Mayo Wrote: ^

On Temu, neither Ctrl+click, Ctrl+Shift+click, nor Cent settings adjustments work. That's why I asked here if there might be a script or some other way.

If modifier keys don't work, it means they've captured and handled such cases in web script's event handler. In this situation, it's difficult to intervene via the userscript, because it implies both masking the original event handler and writing a new one with the same functionality to replace it, which is hard to achieve without readable source code.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)