Cam4 - Males

Cam4 hide male rooms /male tabs from featured

Script này sẽ không được không được cài đặt trực tiếp. Nó là một thư viện cho các script khác để bao gồm các chỉ thị meta // @require https://update.sleazyfork.org/scripts/10936/61661/Cam4%20-%20Males.js

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

Bạn sẽ cần cài đặt một tiện ích mở rộng như Tampermonkey hoặc Violentmonkey để cài đặt kịch bản này.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(Tôi đã có Trình quản lý tập lệnh người dùng, hãy cài đặt nó!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

// ==UserScript==
// @name        Cam4 - Males
// @namespace   cam4.com
// @description Cam4 hide male rooms /male tabs from featured  
// @include     http://cam4.com/*
// @include     http://*.cam4.com/*
//@require      http://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js
// @version     1
// @grant       none
// ==/UserScript==
function hidemale()
   {
$('#directorySavedSearches ul.desktop-tabs li:nth-child(3)').hide();
//if($('.sexnorientation img').attr('alt') == "Male Group"){
  
//}
//alert('1234');
//var atr = $('#directoryDiv').children('.profileBox').children('.profileDataBox').children('.profileDetailBox').children('.profileDetailArea').children('.sexnorientation img').attr('alt');alert(atr);
$('.sexnorientation').find('img').map(function(){
  //alert(this.alt);
  if(this.alt == 'male' || this.alt == 'Male Group' || this.alt == 'Male'){
    //this.find('.profileBox').hide();
    //alert('4321');
    $(this).parent().parent().parent().parent().parent().hide();
  }
}).get();

}
   setInterval(hidemale, 100); // interval timer every 1000 = 1 sec