Plex Web Mouse Right Button Back Page

Plex Web 鼠标右键返回上一页面。

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         Plex Web Mouse Right Button Back Page
// @namespace    https://github.com/Tosslog-admin/Plex-Mouse-Right-Button-Back-Page
// @version      0.0.1
// @description  Plex Web 鼠标右键返回上一页面。
// @author       北京土著 [email protected]
// @include     /^https?://.*:32400/web.*
// @include     http://*:32400/web/index.html*
// @include     https://*:32400/web/index.html*
// @include     https://app.plex.tv/*
// @require     http://code.jquery.com/jquery-3.2.1.min.js
// @connect     *
// @grant       GM_xmlhttpRequest
// ==/UserScript==

(function() {
    $('body').on('contextmenu',function () {
        window.history.back(-1)
        return false
    })
})();