File tree 2 files changed +32
-0
lines changed 2 files changed +32
-0
lines changed Original file line number Diff line number Diff line change @@ -38,6 +38,10 @@ const config = {
38
38
// src: '/js/gpt.js',
39
39
// async: true,
40
40
// },
41
+ {
42
+ src : '/js/ads.js' ,
43
+ async : true ,
44
+ } ,
41
45
] ,
42
46
43
47
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