Neopets Beta - Community to Neoboards

Go directly to the neoboards instead of the community page

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

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

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

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

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

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

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.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

// ==UserScript==
// @name         Neopets Beta - Community to Neoboards
// @author       Necramancy
// @description  Go directly to the neoboards instead of the community page
// @namespace    https://greasyfork.org/users/547396
// @match        *.neopets.com/*
// @grant        none
// @version      0.1
// ==/UserScript==

(function() {
    'use strict';

    let community = document.getElementsByClassName( 'nav-community__2020' )[0];

    // Remove Beta Popup
    community.onclick = function() {
        return false;
    }

    // Go to neobooards
    community.addEventListener( 'click', function(){
       window.location = 'http://www.neopets.com/neoboards/index.phtml';
    });
})();