Redirection and open matlab doc

open matlab doc. Redirection from licensecenter

اعتبارا من 12-01-2020. شاهد أحدث إصدار.

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 or Violentmonkey 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.

ستحتاج إلى تثبيت إضافة مثل Stylus لتثبيت هذا النمط.

ستحتاج إلى تثبيت إضافة لإدارة أنماط المستخدم لتتمكن من تثبيت هذا النمط.

ستحتاج إلى تثبيت إضافة لإدارة أنماط المستخدم لتثبيت هذا النمط.

ستحتاج إلى تثبيت إضافة لإدارة أنماط المستخدم لتثبيت هذا النمط.

(لدي بالفعل مثبت أنماط للمستخدم، دعني أقم بتثبيته!)

// ==UserScript==
// @name         Redirection and open matlab doc
// @namespace    ehng
// @version      0.4
// @description  open matlab doc. Redirection from  licensecenter
// @author       You
// @match        https://ww2.mathworks.cn/licensecenter/*
// @match        https://www.mathworks.com/licensecenter/*
// @grant        none

// ==/UserScript==

(function() {
    'use strict';
var str=unescape(window.location.href);
var it2=str.split("uri=");
var it3=it2[1].split("/");
var it4=it3[0]+'//'+it3[1]+it3[2]+'/'+it3[3]+'/'+it3[4] +'/'+it3[5];
str = it2[1].toString();
var str1 = str.replace(it4.toString(), 'https://ww2.mathworks.cn/help');
location.href=(str1);
   
})();