Sleazy Fork is available in English.

Xhamster Quick Links v.2.8

Adds handy links to the top/right of the Xhamster page (inculde USERSTYLE for HOVER)

Versione datata 08/10/2022. Vedi la nuova versione l'ultima versione.

  1. // ==UserScript==
  2. // @name Xhamster Quick Links v.2.8
  3. // @date 2016.01
  4. // @version 2.8.1
  5.  
  6. // @description Adds handy links to the top/right of the Xhamster page (inculde USERSTYLE for HOVER)
  7. // @icon https://external-content.duckduckgo.com/ip3/fr.xhamster.com.ico
  8. // @namespace https://greasyfork.org/users/7434
  9. // @author Andreas Schaefer it.mensch@gmail.com
  10. // @author janvier57
  11.  
  12. // @include *xhamster.com*
  13.  
  14.  
  15.  
  16. // @exclude http*://services.addons.mozilla.org/*
  17. // @exclude https://www.bing.com/*
  18.  
  19. // @grant none
  20. // @grant GM_getValue
  21. // @grant GM_setValue
  22.  
  23. // ==/UserScript==
  24.  
  25. // (Credit Andreas Schaefer)
  26.  
  27.  
  28.  
  29. if (window.top != window.self) //don't run on frames or iframes
  30. {
  31. return;
  32. }
  33.  
  34. // TWEAK FOR MY STYLE :
  35. //var customhtml = "<div style=\"position: absolute !important; top: -2px; left: 0px; margin-left: 180px !important; px;height: 15px; color: #999999; z-index: 99; width: auto !important; font-size:10px; text-align: center; white-space: nowrap !important; outline: 1px solid gray; \">" +
  36.  
  37. // TWEAK FOR NO STYLE :
  38. var customhtml = "<div style=\"border: 1px solid gray; \">" +
  39.  
  40.  
  41. // USAGE: You can put whatever links or html you want in .
  42.  
  43. // Simply Add/Edit your own links to the following variable:
  44. // EXAMPLE:
  45. // "<a href=YOUR LINK>ITS LABEL</a> | " +
  46.  
  47.  
  48. // MY FAVORITES
  49.  
  50. " <a href=http://xhamster.com/user/video/janvier57/favorite-1.html>My Favs</a>" +
  51. "►" +
  52. "<a href=http://xhamster.com/favorites/videos-200.html>My Favs200</a> " +
  53. "<a href=http://xhamster.com/favorites/videos-400.html>My Favs400</a> " +
  54. "<a href=http://xhamster.com/favorites/videos-600.html>My Favs600</a> " +
  55. "<a href=http://xhamster.com/favorites/videos-800.html>My Favs800</a> " +
  56. "<a href=http://xhamster.com/favorites/videos-900.html>My Favs900</a> " +
  57.  
  58. "►" +
  59.  
  60. // My BLOG - Xhamster Tools
  61. "<a href=http://xhamster.com/user/janvier57/posts/479976.html>Xham Tools</a>" +
  62. // Xhamster Forum
  63. "<a href=http://suggestions.xhamster.com/forums/59059-general>Xhamster Forum</a>" +
  64. // ✉ Xhamster CONTACT Support
  65. "<a href=https://xhamster.com/info/contact> ✉ Xhamster Support</a>" +
  66. // How to get around blocking xHamster.com
  67. "<a href=https://xhamster.net/>How to get around blocking xHamster.com</a>" +
  68.  
  69. "►" +
  70. // FIND A PORNSTAR
  71. "<a href=https://xhamster.com/posts/624414>Find a Pornstar (Initial)</a>" +
  72. "<a href=https://xhamster.com/posts/333371>Model Index (by Sick my Duck) (Initial)</a>" +
  73. // Verified Porns Stars (DuckDuckGo: Xhamster video with IAFD links )
  74. " <a href=https://duckduckgo.com/?q=http%3A%2F%2Fwww.iafd.com%2F+site%3Axhamster.com&t=ffsb&ia=web>DuckDuckGo Search: Xhamster video with IAFD links</a>" +
  75. // Verified Porns Stars (DuckDuckGo: Xhamster video with NudeVita links )
  76. " <a href=https://duckduckgo.com/?q=http%3A%2F%2Fwww.nudevista.com+site%3Axhamster.com&t=ffsb&ia=web>DuckDuckGo Search: Xhamster video with NudeVista links</a>" +
  77. // PornMD - Real-Time List of to PornHub's Searches : Straight
  78. "<a href=http://www.pornmd.com/live-search>PornMD : Real-Time List of to PornHub's Searches (Straight) </a> " +
  79. "</div>";
  80.  
  81.  
  82. var allspans = new Array();
  83. //JANVIER57 TWEAK 2016
  84. allspans = document.getElementsByClassName('menu');
  85. if (allspans.length == 0) {
  86. allspans = document.getElementsByClassName('global-nav-content');
  87. }
  88. allspans[0].innerHTML += customhtml;
  89.  
  90.  
  91.  
  92. // ADD MY CSS / USERSTYLE for the Script :
  93. // Test addGlolStyle STYLE technique for Chrome compatibility
  94.  
  95. function addGlobalStyle(css) {
  96. var head, style;
  97. head = document.getElementsByTagName('head')[0];
  98. if (!head) { return; }
  99. style = document.createElement('style');
  100. style.type = 'text/css';
  101. style.innerHTML = css;
  102. head.appendChild(style);
  103. }
  104. // NEW DESIGN 2021 (new - XHAM LOGO)
  105. addGlobalStyle('.logo-container>div { position:fixed !important; height:14px !important; width:9px !important; left: 95px !important; top: 3px !important; color: #999999; font-size:10px; text-align:left; overflow:hidden !important; z-index:5000000 !important; outline:1px solid gray; background:red;} .logo-section>div a {color:white !important; text-shadow:none !important; }');
  106. addGlobalStyle('.logo-container>div:hover { position: fixed !important; display:inline-block !important; height:auto !important; width:100% !important; min-width:430px !important; max-width:430px !important; padding: 5px 20px 5px 10px !important; color:#999999; font-size:15px !important; text-align:left; white-space: pre-wrap !important; overflow:hidden; z-index:500 !important; outline:1px solid gray; background: blue !important; z-index: 5000000 !important; }');
  107. addGlobalStyle('.logo-container>div>a { display: inline-block !important; height: 15px !important; line-height: 15px !important; min-width:435px !important; max-width:435px !important; color: white !important; text-shadow: none !important; overflow:hidden; text-overflow: ellipsis ; white-space: nowrap ; }');
  108. addGlobalStyle('.logo-container>div a:hover { display: inline-block !important; width:435px !important; color: gold !important; background: black ; text-shadow: none !important; }');