Greasy Fork is available in English.

mmmturkeybacon Remove Embedded Youtube

Removes embedded youtube videos from mturk forums and replaces them with links to youtube.

As of 19.01.2015. See ბოლო ვერსია.

  1. // ==UserScript==
  2. // @name mmmturkeybacon Remove Embedded Youtube
  3. // @author mmmturkeybacon
  4. // @description Removes embedded youtube videos from mturk forums and replaces them with links to youtube.
  5. // @namespace http://userscripts.org/users/523367
  6. // @match http://mturkforum.com/showthread.php?*
  7. // @match http://www.mturkgrind.com/showthread.php?*
  8. // @match http://www.mturkgrind.com/threads/*
  9. // @match http://mturkgrind.com/threads/*
  10. // @match http://turkernation.com/showthread.php?*
  11. // @require http://code.jquery.com/jquery-latest.min.js
  12. // @version 1.13
  13. // @grant GM_log
  14. // ==/UserScript==
  15.  
  16. var yt_embed = $('iframe[src^="//www.youtube.com"]');
  17. var yt_url = yt_embed.attr('src');
  18. yt_embed.parent().append('<br><a href="'+yt_url+'"><b>mmmturkeybacon Remove Embedded Youtube has removed this video.</b></a>');
  19. yt_embed.remove();