Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // ==UserScript==
- // @name Phoenix Tales Autos
- // @version 0.1
- // @description Displays autos remaining in the tab title.
- // @match http://www.pho3nix-dev.com/insta.php
- // @copyright 2014+, Jake
- // ==/UserScript==
- setInterval(function() {
- if (/[0-9]{1,3} Auto/.exec(document.getElementById('responsecontainer').innerText) !== null) {
- document.title = (/[0-9]{1,3} Auto/.exec(document.getElementById('responsecontainer').innerText)).toString().replace('Auto', '') + ' - The Phoenix Tales';
- } else if (/no Auto/.exec(document.getElementById('responsecontainer').innerText) !== null) {
- document.title = 'END - The Phoenix Tales';
- } else {
- document.title = 'The Phoenix Tales';
- } }, 1500);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement