This repository was archived by the owner on May 13, 2018. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -5,6 +5,8 @@ window.addEventListener("DOMContentLoaded", () => {
55 location . href = "/SimpleThread/Error/403.10/" ;
66 }
77
8+ location . pathname == "/SimpleThread/" || sessionStorage . setItem ( "com.GenbuProject.SimpleThread.currentPage" , location . pathname + location . search ) ;
9+
810 DOM ( '@A[Href]:Not([Target]):Not([Href^="javascript:"])' ) . forEach ( ( elem ) => {
911 elem . addEventListener ( "click" , ( event ) => {
1012 event . preventDefault ( ) ;
Original file line number Diff line number Diff line change @@ -67,6 +67,8 @@ window.addEventListener("DOMContentLoaded", () => {
6767
6868 if ( querys . TID ) {
6969 DOM ( "$IFrame.mdl-layout__content" ) . src = "Thread/Viewer/?tid=" + querys . TID ;
70+ } else {
71+ ! sessionStorage . getItem ( "com.GenbuProject.SimpleThread.currentPage" ) || ( DOM ( "$IFrame.mdl-layout__content" ) . src = sessionStorage . getItem ( "com.GenbuProject.SimpleThread.currentPage" ) ) ;
7072 }
7173 } ) ;
7274
Original file line number Diff line number Diff line change 33< HTML >
44 < Head >
55 < Meta Charset = "UTF-8 " />
6- < Title > Simple Thread == </ Title >
6+ < Title > Simple Thread == Thread Viewer </ Title >
77
88 < Link Rel = "StyleSheet " Href = "https://fonts.googleapis.com/icon?family=Material+Icons " />
99 < Link Rel = "StyleSheet " Href = "https://code.getmdl.io/1.3.0/material.teal-red.min.css " />
Original file line number Diff line number Diff line change 1212 < Link Rel = "StyleSheet " Href = "https://genbuproject.github.io/Programs/MDL Extender/MDL Extender.css " />
1313
1414 < Script Src = "https://genbuproject.github.io/Programs/DOM Extender/DOM Extender v3.0.js "> </ Script >
15+ < Script Src = "https://caligatio.github.io/jsSHA/sha.js "> </ Script >
1516 < Script Src = "https://www.gstatic.com/firebasejs/4.2.0/firebase.js "> </ Script >
1617 < Script Src = "https://genbuproject.github.io/Programs/FirebasePlus.js "> </ Script >
1718
You can’t perform that action at this time.
0 commit comments