(stop, save)
| 11488 | tipsWords.className = "pagetual_tipsWords"; |
| 11489 | |
| 11490 | function changeStop(stop, save) { |
| 11491 | isPause = stop; |
| 11492 | [].forEach.call(getBody(document).querySelectorAll(".pagetual_pageBar,#pagetual-sideController"), bar => { |
| 11493 | if (isPause) { |
| 11494 | bar.classList.add("stop"); |
| 11495 | } else { |
| 11496 | bar.classList.remove("stop"); |
| 11497 | } |
| 11498 | }); |
| 11499 | if (!isPause) ruleParser.showAddedElements(); |
| 11500 | manualPause = isPause; |
| 11501 | if (save && sideController.inited) setListData("pauseState", location.host, isPause ? true : ""); |
| 11502 | } |
| 11503 | |
| 11504 | function changeHideBar(hide) { |
| 11505 | isHideBar = hide; |
no test coverage detected