Newgrounds Swf Downloader

download swf from newground easily

当前为 2019-12-23 提交的版本,查看 最新版本

  1. // ==UserScript==
  2. // @name Newgrounds Swf Downloader
  3. // @namespace ngroundswf
  4. // @version 1.0
  5. // @description download swf from newground easily
  6. // @author Reissfeld
  7. // @match https://www.newgrounds.com/portal/view/*
  8. // @require https://code.jquery.com/jquery-3.4.1.min.js
  9. // @grant none
  10. // ==/UserScript==
  11.  
  12. (function() {
  13. 'use strict';
  14. var swf = $("script:contains('swf')").text().split("\"")[3];
  15. var btn = `<span>
  16. <a href="`+swf+`" target="_blank" title="Download Link">
  17. Download This
  18. </a>
  19. </span>`
  20. $("#embed_header").children().last().append(btn)
  21. })();