Plex Web Mouse Right Button Back Page

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

当前为 2021-09-07 提交的版本,查看 最新版本

  1. // ==UserScript==
  2. // @name Plex Web Mouse Right Button Back Page
  3. // @namespace https://github.com/Tosslog-admin/Plex-Mouse-Right-Button-Back-Page
  4. // @version 0.0.1
  5. // @description Plex Web 鼠标右键返回上一页面。
  6. // @author 北京土著 30344386@qq.com
  7. // @include /^https?://.*:32400/web.*
  8. // @include http://*:32400/web/index.html*
  9. // @include https://*:32400/web/index.html*
  10. // @include https://app.plex.tv/*
  11. // @require http://code.jquery.com/jquery-3.2.1.min.js
  12. // @connect *
  13. // @grant GM_xmlhttpRequest
  14. // ==/UserScript==
  15.  
  16. (function() {
  17. $('body').on('contextmenu',function () {
  18. window.history.back(-1)
  19. return false
  20. })
  21. })();