Skip to content

fennifith/Scrurl

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 

Probably one of the worst things I've ever used my free time for, this is a script that displays scrolling text in the address bar. It is almost entirely useless. Please do not use it for anything. That said, if you want to make it any worse than it already is, please feel free to make a PR.

If for some reason you wish to change the message that scrolls in the url, simply prefix the query with an '@' symbol, for example: https://jfenn.me/Scrurl/?@this_is_a_different_message.

Usage

If you for some reason do want to use this project in your own website, here's a quick guide to using it.

Define the Script Tag

<script type="text/javascript" src="https://jfenn.me/Scrurl/scrurl.js"></script>

Start the Scrolly Thing

Scrurl.display("a bunch of text", {
  "scrolldelay": 200, //the delay (in ms) between each scroll update
  "scrollamount": 1,  //the amount of characters to scroll on each update
  "direction": "left" //the direction to scroll through the characters in
});

Stop the Scrolly Thing

This will stop the url from scrolling, but will not remove it from the address bar, because frankly I'm just too lazy to do that, and I don't think anyone will use it if I do.

Scrurl.display(null);

Sample Implementations

About

Scrolling urls, a.k.a. the second worst website I've ever made.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published