ao3 clone subscribe button

recreate subscribe button at end of works

目前為 2018-02-17 提交的版本,檢視 最新版本

  1. // ==UserScript==
  2. // @name ao3 clone subscribe button
  3. // @namespace https://greasyfork.org/en/users/36620
  4. // @version 0.2
  5. // @description recreate subscribe button at end of works
  6. // @author scriptfairy
  7. // @include /https?://archiveofourown\.org/works/\d+/
  8. // @require http://ajax.googleapis.com/ajax/libs/jquery/2.0.0/jquery.min.js
  9. // @grant none
  10. // ==/UserScript==
  11.  
  12. (function($) {
  13. $(document).ready(function() {
  14. var sub = $('li.subscribe').clone();
  15. $('#new_kudo').parent().after(sub);
  16. });
  17. })(window.jQuery);