create account

RE: [Steemit CountDown] - 🕐 Easily Monitor Elapsed Times of Posts by lukestokes

View this thread on: hive.blogpeakd.comecency.com

Viewing a response to: @bitcoiner/steemit-countdown-easily-monitor-elapsed-times-of-posts

· @lukestokes · (edited)
$0.11
Here you go, with a built in alert at 30 minutes:
```
javascript:(function(){window.status.length||(window.setTimeout(function(){alert("Go vote on "+document.title+"!")},1000*60*(30-parseInt(document.getElementsByTagName("time")[0].innerHTML))),window.status="",setInterval(function(){document.getElementsByClassName("Post").length?(window.status.length||(window.status=document.title),document.title="["+document.getElementsByTagName("time")[0].innerHTML+"] - "+window.status):window.status=""},500));})();
```
The unminified code:
```

javascript: (function() {
    if (!window.status.length) {
        window.setTimeout(function() {
            alert("Go vote on " + document.title + "!");
        }, 1000 * 60 * (30 - parseInt(document.getElementsByTagName("time")[0].innerHTML)));
        window.status = "";
        setInterval(function() {
            if (document.getElementsByClassName("Post").length) {
                if (!window.status.length) window.status = document.title;
                document.title = "[" + document.getElementsByTagName("time")[0].innerHTML + "] - " + window.status;
            } else window.status = "";
        }, 500);
    }
})();
```
If you want to get in earlier than 30 minutes, just change the `30` in there to something else like 28, 25, etc.
👍  , , ,
properties (23)
authorlukestokes
permlinkre-bitcoiner-steemit-countdown-easily-monitor-elapsed-times-of-posts-20160811t201537819z
categorysteem
json_metadata{"tags":["steem"]}
created2016-08-11 20:15:39
last_update2016-08-11 20:17:42
depth1
children2
last_payout2016-09-06 17:18:00
cashout_time1969-12-31 23:59:59
total_payout_value0.101 HBD
curator_payout_value0.004 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length1,288
author_reputation554,601,966,217,919
root_title"[Steemit CountDown] - 🕐 Easily Monitor Elapsed Times of Posts"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id751,932
net_rshares259,330,141,775
author_curate_reward""
vote details (4)
@folken ·
Hey, I know I am little late buuuut ... I would really appreciate if someone can update this code! :)
properties (22)
authorfolken
permlinkre-lukestokes-re-bitcoiner-steemit-countdown-easily-monitor-elapsed-times-of-posts-20180113t190634635z
categorysteem
json_metadata{"tags":["steem"],"app":"steemit/0.1"}
created2018-01-13 19:06:33
last_update2018-01-13 19:06:33
depth2
children1
last_payout2018-01-20 19:06:33
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length101
author_reputation6,566,500,484,034
root_title"[Steemit CountDown] - 🕐 Easily Monitor Elapsed Times of Posts"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id29,295,052
net_rshares0
@lukestokes ·
I just use this: https://steemit.com/steemtools/@lukestokes/updated-vote-in-x-minutes-bookmarklet
👍  
properties (23)
authorlukestokes
permlinkre-folken-re-lukestokes-re-bitcoiner-steemit-countdown-easily-monitor-elapsed-times-of-posts-20180113t195311616z
categorysteem
json_metadata{"tags":["steem"],"links":["https://steemit.com/steemtools/@lukestokes/updated-vote-in-x-minutes-bookmarklet"],"app":"steemit/0.1"}
created2018-01-13 19:53:12
last_update2018-01-13 19:53:12
depth3
children0
last_payout2018-01-20 19:53:12
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length97
author_reputation554,601,966,217,919
root_title"[Steemit CountDown] - 🕐 Easily Monitor Elapsed Times of Posts"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id29,302,927
net_rshares0
author_curate_reward""
vote details (1)