Hybris HAC scripts usability fixes

Style to show the code, output & result at the same page in the HAC script runner

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 Tampermonkey,才能安裝此腳本

您需要先安裝使用者腳本管理器擴充功能後才能安裝該腳本。

(我已經安裝了使用者腳本管理器,讓我安裝!)

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

(我已經安裝了使用者樣式管理器,讓我安裝!)

/* ==UserStyle==
@name        Hybris HAC scripts usability fixes
@description:en Style to show the code, output & result at the same page in the HAC script runner
@namespace   github.com/openstyles/stylus
@version     1.0.2
@license     unlicense
@description Style to show the code, output & result at the same page in the HAC script runner
==/UserStyle== */

@-moz-document regexp(".*/console/scripting.?") {
#tabs-edit:before {
   font-weight: bold;
   content: "Script:";
}
#tabs-edit {
    display: block !important;
}

#tabs-result:before {
   font-weight: bold;
   content: "Results:";
}
#tabs-result {
    display: block !important;
}

#tabs-output:before {
   font-weight: bold;
   content: "Output:";
}
#tabs-output {
    display: block !important;
}

#tabs-stacktrace:before {
   font-weight: bold;
   content: "Exception stacktrace:";
}
#tabs-stacktrace {
    display: block !important;
}
}