@@ -21,7 +21,10 @@ const getDomain = () =>
21
21
goFrame = ( url ) => {
22
22
localStorage . setItem ( '{{hu-lts}}-frame-url' , url ) ;
23
23
if ( location . pathname !== '{{route}}{{/s}}' )
24
- location . href = '{{route}}{{/s}}' ;
24
+ location . href =
25
+ '{{route}}{{/s}}' +
26
+ '?cache=' +
27
+ crypto . getRandomValues ( new Uint32Array ( 1 ) ) [ 0 ] ;
25
28
else document . getElementById ( 'frame' ) . src = url ;
26
29
} ,
27
30
/* Used to set functions for the goProx object at the bottom.
@@ -910,8 +913,8 @@ const preparePage = async () => {
910
913
a = document . createElement ( 'a' ) ,
911
914
img = document . createElement ( 'img' ) ,
912
915
title = document . createElement ( 'h3' ) ;
913
- desc = document . createElement ( 'p' ) ,
914
- credits = document . createElement ( 'p' ) ;
916
+ ( ( desc = document . createElement ( 'p' ) ) ,
917
+ ( credits = document . createElement ( 'p' ) ) ) ;
915
918
916
919
a . href = '#' ;
917
920
img . src = `{{route}}{{/assets/img/}}${ dir } /` + item . img ;
@@ -928,7 +931,6 @@ const preparePage = async () => {
928
931
a . appendChild ( img ) ;
929
932
a . appendChild ( title ) ;
930
933
a . appendChild ( desc ) ;
931
-
932
934
933
935
// Which function is used for the click event is determined by
934
936
// the corresponding location/index in the dirnames object.
@@ -942,11 +944,11 @@ const preparePage = async () => {
942
944
item . core +
943
945
'&rom=' +
944
946
item . rom
945
- ) ,
947
+ ) ,
946
948
// par-nav
947
949
item . custom && goProx [ item . custom ]
948
950
? ( ) => goProx [ item . custom ] ( 'stealth' )
949
- : ( ) => { } ,
951
+ : ( ) => { } ,
950
952
// h5-nav
951
953
item . custom && goProx [ item . custom ]
952
954
? ( ) => goProx [ item . custom ] ( 'stealth' )
0 commit comments