Results 1 to 3 of 3

Thread: Greasemonkey/Tampermonkey Refresh Script

  1. #1


    Joined
    May 2018
    Posts
    56
    Userbars
    1
    Thanks
    12
    Thanked
    8/7
    DL/UL
    11/0
    Mentioned
    1 time
    Time Online
    18h 24m
    Avg. Time Online
    N/A

    Greasemonkey/Tampermonkey Refresh Script

    Is anyone able to make a script to make a certain tab refresh every few seconds? I have no idea what I'm doing. I've tried to modify other refreshers on here, but I think I just mess them up.

    If there's an easier way to go about this and I'm just overthinking, then feel free to call me stupid and please tell me how!

  2. #2


    Joined
    Aug 2015
    Posts
    78
    Userbars
    1
    Thanks
    7
    Thanked
    12/12
    DL/UL
    18/0
    Mentioned
    6 times
    Time Online
    1d 13h 36m
    Avg. Time Online
    N/A

    Refresh script

    If you're using Tampermonkey and a modern browser it should really be quite easy.

    Code:
    // ==UserScript==
    // @(you need an account to see links)         Refresh
    // @(you need an account to see links)space    MyScripts
    // @version      0.1
    // @(you need an account to see links)cription  Refresh the page
    // @author       You
    // @(you need an account to see links)ch        !!Put the page URL here!!
    // @grant        none
    // ==/UserScript==
    
    (function() {
        'use strict';
        setTimeout(() => window.location.reload(), 5000);
    })();
    You can change the time from 5000 milliseconds to whatever. Remember to put the right URL.

  3. The Following User Says Thank You to domedyne For This Useful Post:

    jrdizzle (06-13-2018)

  4. #3


    Joined
    May 2018
    Posts
    56
    Userbars
    1
    Thanks
    12
    Thanked
    8/7
    DL/UL
    11/0
    Mentioned
    1 time
    Time Online
    18h 24m
    Avg. Time Online
    N/A
    Thanks a bunch! I'm not good at any of this, but I'm slowly learning

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •