File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -243,6 +243,17 @@ function li_create_linkage(li_tag, header_level) {
243
243
}
244
244
245
245
function create_banner ( element ) {
246
+ ( function ( ) {
247
+ var wwads = document . createElement ( 'script' ) ;
248
+ wwads . type = 'text/javascript' ;
249
+ wwads . async = true ;
250
+ wwads . src = 'https://cdn.wwads.cn/js/makemoney.js' ;
251
+ ( document . getElementsByTagName ( 'head' ) [ 0 ] || document . getElementsByTagName ( 'body' ) [ 0 ] ) . appendChild ( wwads ) ;
252
+ } ) ( ) ;
253
+
254
+ var banner = $ ( '<div class="wwads-cn wwads-horizontal" data-id="197" style="max-width:100%"></div>' )
255
+ . insertAfter ( element ) ;
256
+ /*
246
257
// 2022年8月25日
247
258
var deadline = new Date(2022, 7, 25);
248
259
if (deadline - (new Date()) < 0) return;
@@ -264,6 +275,7 @@ function create_banner(element) {
264
275
var banner = $('<a href="http://www.apeclass.com?did=12" style="color: #333333;" target="_blank"><div style="' + styleStr + '">' + text + '</div></a>')
265
276
.insertAfter(element);
266
277
setTimeout(function () {if (banner.css('display') === 'none') {show_loading();show_error();} }, 500);
278
+ */
267
279
}
268
280
269
281
function create_page_anchors ( ) {
You can’t perform that action at this time.
0 commit comments