TimerInTitlebar

Puts the remaining HIT time in the titlebar.

当前为 2018-01-24 提交的版本,查看 最新版本

  1. // ==UserScript==
  2. // @name TimerInTitlebar
  3. // @namespace https://greasyfork.org/en/users/6503-turk05022014
  4. // @description Puts the remaining HIT time in the titlebar.
  5. // @match https://*.mturk.com/projects/*/tasks/*
  6. // @grant none
  7. // @require http://ajax.googleapis.com/ajax/libs/jquery/2.0.0/jquery.min.js
  8. // @version 1.1.20180123
  9. // ==/UserScript==
  10. this.$ = this.jQuery = jQuery.noConflict(true);
  11. $(document).ready(function () {
  12. setInterval(function () {
  13. document.title = $(".completion-timer").text();
  14. }, 1000);
  15. });