MCPcopy
hub / github.com/hoothin/UserScripts / init

Method init

Pagetual/pagetual.user.js:8527–9165  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

8525 }*/
8526
8527 init() {
8528 if (this.inited) return;
8529 this.inited = true;
8530 let self = this;
8531 this.signList = [];
8532 this.cssText = `
8533 body.pagetual-picker,
8534 body.pagetual-picker *:hover,
8535 body.pagetual-picker a:hover {
8536 cursor: crosshair !important;
8537 }
8538 #pagetual-picker {
8539 position: fixed;
8540 max-width: 80vw;
8541 top: 10px;
8542 left: calc(50% - 178px);
8543 background: aliceblue;
8544 padding: 10px;
8545 border-radius: 5px;
8546 text-align: center;
8547 opacity: 0.95;
8548 color: #161616;
8549 z-index: 2147483646;
8550 font-size: 16px;
8551 overflow: hidden;
8552 box-shadow: rgb(0 0 0) 0px 0px 10px;
8553 }
8554 #pagetual-picker * {
8555 margin: 0;
8556 padding: 0;
8557 font-family: Times New Roman;
8558 overflow: initial;
8559 user-select: none;
8560 line-height: unset;
8561 min-width: unset;
8562 min-height: unset;
8563 height: auto;
8564 width: auto;
8565 }
8566 #pagetual-picker>.title {
8567 max-width: 100%;
8568 margin: -5px 45px 10px 45px;
8569 font-size: 20px;
8570 font-weight: bold;
8571 cursor: pointer;
8572 border-bottom: 1px solid black;
8573 user-select: none;
8574 color: orangered;
8575 height: initial;
8576 width: initial;
8577 position: initial;
8578 transition: transform .3s ease;
8579 }
8580 #pagetual-picker>.title:hover {
8581 transform: scale(1.1);
8582 }
8583 #pagetual-picker button {
8584 background: none;

Callers 15

startMethod · 0.95
BloomFunction · 0.45
PopVideoFunction · 0.45
CloseVideoFunction · 0.45
FloatBarFunction · 0.45
GalleryCFunction · 0.45
initFunction · 0.45
MagnifierCFunction · 0.45
ImgWindowCFunction · 0.45
LoadingAnimCFunction · 0.45
FloatBarCFunction · 0.45
MatchedRuleCFunction · 0.45

Calls 15

createSignDivMethod · 0.95
setListDataFunction · 0.85
startAutoScrollFunction · 0.85
nextPageFunction · 0.85
clientXFunction · 0.85
clientYFunction · 0.85
debugFunction · 0.85
showTipsFunction · 0.85
getElementFunction · 0.85
getTempRuleMethod · 0.80
addToHpRulesMethod · 0.80
checkInputSelectorMethod · 0.80

Tested by

no test coverage detected