File tree Expand file tree Collapse file tree 2 files changed +32
-0
lines changed Expand file tree Collapse file tree 2 files changed +32
-0
lines changed Original file line number Diff line number Diff line change @@ -38,6 +38,10 @@ const config = {
3838 // src: '/js/gpt.js',
3939 // async: true,
4040 // },
41+ {
42+ src : '/js/ads.js' ,
43+ async : true ,
44+ } ,
4145 ] ,
4246
4347 presets : [
Original file line number Diff line number Diff line change 1+ /* eslint-disable */ // --> OFF
2+
3+ ; ( function ( ) {
4+ var pushState = history . pushState
5+ var replaceState = history . replaceState
6+
7+ history . pushState = function ( ) {
8+ pushState . apply ( history , arguments )
9+ window . dispatchEvent ( new Event ( 'pushstate' ) )
10+ window . dispatchEvent ( new Event ( 'locationchange' ) )
11+ }
12+
13+ history . replaceState = function ( ) {
14+ replaceState . apply ( history , arguments )
15+ window . dispatchEvent ( new Event ( 'replacestate' ) )
16+ window . dispatchEvent ( new Event ( 'locationchange' ) )
17+ }
18+
19+ window . addEventListener ( 'popstate' , function ( ) {
20+ window . dispatchEvent ( new Event ( 'locationchange' ) )
21+ } )
22+ } ) ( )
23+
24+ window . addEventListener ( 'locationchange' , function ( ) {
25+ setTimeout ( ( ) => {
26+ ; ( window . adsbygoogle = window . adsbygoogle || [ ] ) . push ( { } )
27+ } , 1000 )
28+ } )
You can’t perform that action at this time.
0 commit comments