Lovoo Profile Helper

Open Lovoo profiles in a new tab, even restricted ones. | Ouvrez les profils Lovoo dans un nouvel onglet, même ceux restreints. | Abra perfiles de Lovoo en una nueva pestaña, incluso los restringidos. | Öffnen Sie Lovoo-Profile in einem neuen Tab, auch eingeschränkte. | Открывайте профили Lovoo в новой вкладке, даже ограниченные. | 打开 Lovoo 个人资料,即使是受限制的,也可以在新选项卡中打开。

  1. // ==UserScript==
  2. // @name Lovoo Profile Helper
  3. // @namespace http://tampermonkey.net/
  4. // @version 1.0
  5. // @description Open Lovoo profiles in a new tab, even restricted ones. | Ouvrez les profils Lovoo dans un nouvel onglet, même ceux restreints. | Abra perfiles de Lovoo en una nueva pestaña, incluso los restringidos. | Öffnen Sie Lovoo-Profile in einem neuen Tab, auch eingeschränkte. | Открывайте профили Lovoo в новой вкладке, даже ограниченные. | 打开 Lovoo 个人资料,即使是受限制的,也可以在新选项卡中打开。
  6. // @author Manu OVG
  7. // @icon https://www.tempsdimages.eu/wp-content/uploads/2019/09/logo-lovoo.png
  8. // @match https://fr.lovoo.com/*
  9. // @match https://en.lovoo.com/*
  10. // @match https://es.lovoo.com/*
  11. // @match https://de.lovoo.com/*
  12. // @match https://ru.lovoo.com/*
  13. // @match https://cn.lovoo.com/*
  14. // @grant none
  15. // ==/UserScript==
  16.  
  17. (function() {
  18. 'use strict';
  19.  
  20. // Add click listener to handle profile opening
  21. document.addEventListener('click', function(e) {
  22. const target = e.target.closest('.user-image.user-userpic'); // Select the clicked element
  23. if (target) {
  24. // Attempt to capture the direct URL
  25. const profileUrl = target.closest('a')?.href || null;
  26. if (profileUrl) {
  27. window.open(profileUrl, '_blank'); // Open the profile directly
  28. } else {
  29. alert('Could not find the direct profile URL. The profile may have special restrictions.');
  30. }
  31. }
  32. });
  33. })();