Sleazy Fork is available in English.

Camwhores

Show full sizes image on https://www.camwhores.tv/

このスクリプトの質問や評価の投稿はこちら通報はこちらへお寄せください。
  1.  
  2. // ==UserScript==
  3. // @name Camwhores
  4. // @version 1.0.1
  5. // @description Show full sizes image on https://www.camwhores.tv/
  6. // @match https://www.camwhores.tv/*
  7. // @match https://www.camwhores.video/*
  8. // @require http://ajax.googleapis.com/ajax/libs/jquery/1.2.6/jquery.js
  9. // @grant GM_addStyle
  10. // @namespace https://greasyfork.org/users/1291978
  11. // ==/UserScript==
  12. var $ = unsafeWindow.jQuery;
  13. function sleep(milliseconds) {
  14. const date = Date.now();
  15. let currentDate = null;
  16. do {
  17. currentDate = Date.now();
  18. } while (currentDate - date < milliseconds);
  19. }
  20. $(function () {
  21. $('.table').remove();
  22. const regex = /videos_screenshots\/(\d*)\/(\d*)/gm;
  23. var finded = null;
  24. //do {
  25. try{
  26. var new_thumbs = [];
  27. var private_url = '';
  28. var thumbs = $(".block-screenshots").find('img');
  29. try{
  30. private_url = $(thumbs[0]).data('original');
  31. } catch (err){
  32. private_url = thumbs[0].src;
  33. }
  34. console.log(private_url);
  35. finded = regex.exec(private_url);
  36. new_thumbs.push('https://cdn.camwhores.tv/contents/videos_sources/'+finded[1]+'/'+finded[2]+'/screenshots/1.jpg')
  37. new_thumbs.push('https://cdn.camwhores.tv/contents/videos_sources/'+finded[1]+'/'+finded[2]+'/screenshots/2.jpg')
  38. new_thumbs.push('https://cdn.camwhores.tv/contents/videos_sources/'+finded[1]+'/'+finded[2]+'/screenshots/3.jpg')
  39. new_thumbs.push('https://cdn.camwhores.tv/contents/videos_sources/'+finded[1]+'/'+finded[2]+'/screenshots/4.jpg')
  40. new_thumbs.push('https://cdn.camwhores.tv/contents/videos_sources/'+finded[1]+'/'+finded[2]+'/screenshots/5.jpg')
  41. console.log(new_thumbs);
  42. $(".block-screenshots").html('');
  43. $.each( new_thumbs , function( key, value ) {
  44. $(".block-screenshots").append('<a href="'+value+'" class="item" rel="screenshots" data-fancybox-type="image"><img class="thumb lazy-load" src="'+value+'" width="180" height="135" style="display: inline;"></a>')
  45. });
  46. } catch (err){
  47. }
  48. //} while (finded === null);
  49. });
  50. GM_addStyle(`
  51. .block-video .no-player img {
  52. opacity: 1;
  53. }
  54. `);
  55.