RAIN @ GSW login page

Make webpage look more interesting

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Greasemonkey lub Violentmonkey.

You will need to install an extension such as Tampermonkey to install this script.

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Violentmonkey.

Aby zainstalować ten skrypt, wymagana będzie instalacja rozszerzenia Tampermonkey lub Userscripts.

You will need to install an extension such as Tampermonkey to install this script.

Aby zainstalować ten skrypt, musisz zainstalować rozszerzenie menedżera skryptów użytkownika.

(Mam już menedżera skryptów użytkownika, pozwól mi to zainstalować!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Musisz zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

(Mam już menedżera stylów użytkownika, pozwól mi to zainstalować!)

// ==UserScript==
// @name         RAIN @ GSW login page
// @namespace    http://tampermonkey.net/
// @version      0.1
// @description  Make webpage look more interesting
// @author       Jonathan Hobbs
// @match        https://rain.gsw.edu/
// @match        https://gsw.gabest.usg.edu/pls/B420/twbkwbis.P_WWWLogin
// @match        https://gsw.gabest.usg.edu/pls/B420/twbkwbis.P_ValLogin
// @match        https://gsw.gabest.usg.edu/pls/B420/zwbkreid.P_ReturnId
// @require      https://code.jquery.com/jquery-1.11.3.min.js
// ==/UserScript==

var bg_div = $('body');
if(bg_div.length == 1) {
    bg_div.css({
        'color' : '#FFFFFF',
        'background-repeat' : 'no-repeat', 
        'background-size' : 'cover',
        'background-image' : 'url(http://revelwallpapers.net/d/343443536D6C36317272716F6837716730474B64313943327A74686565773D3D/umbrella-in-the-summer-rain.jpg)'
    });
}
var form_div = $('table.infotexttable');
if(form_div.length == 1) {
    form_div.css({
        'background-color' : 'transparent',
        'color' : '#FFFFFF',
        'font-size' : '100%',
        'border-color' : 'white',
        'border-width' : 'thin'
    });
}