Cam4 - Males

Cam4 hide male rooms /male tabs from featured

このスクリプトは単体で利用できません。右のようなメタデータを含むスクリプトから、ライブラリとして読み込まれます: // @require https://update.sleazyfork.org/scripts/10936/61661/Cam4%20-%20Males.js

このスクリプトの質問や評価の投稿はこちら通報はこちらへお寄せください。
  1. // ==UserScript==
  2. // @name Cam4 - Males
  3. // @namespace cam4.com
  4. // @description Cam4 hide male rooms /male tabs from featured
  5. // @include http://cam4.com/*
  6. // @include http://*.cam4.com/*
  7. //@require http://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js
  8. // @version 1
  9. // @grant none
  10. // ==/UserScript==
  11. function hidemale()
  12. {
  13. $('#directorySavedSearches ul.desktop-tabs li:nth-child(3)').hide();
  14. //if($('.sexnorientation img').attr('alt') == "Male Group"){
  15. //}
  16. //alert('1234');
  17. //var atr = $('#directoryDiv').children('.profileBox').children('.profileDataBox').children('.profileDetailBox').children('.profileDetailArea').children('.sexnorientation img').attr('alt');alert(atr);
  18. $('.sexnorientation').find('img').map(function(){
  19. //alert(this.alt);
  20. if(this.alt == 'male' || this.alt == 'Male Group' || this.alt == 'Male'){
  21. //this.find('.profileBox').hide();
  22. //alert('4321');
  23. $(this).parent().parent().parent().parent().parent().hide();
  24. }
  25. }).get();
  26.  
  27. }
  28. setInterval(hidemale, 100); // interval timer every 1000 = 1 sec
  29.