PageSourceSearch

https://poe2lens.com/js/adsense_config.js

js poe2lens.com collected 2026-10-02 01:40:39 UTC 2,259 bytes, 82 lines download raw bytes

1// Google AdSense 配置
2// 统一管理所有页面的广告配置
3
4window.AdSenseConfig = {
5    // AdSense Publisher ID (需要替换为您的实际 ID)
6    // 格式: ca-pub-XXXXXXXXXXXXXXXX
7    publisherId: 'ca-pub-XXXXXXXXXXXXXXXX',
8    
9    // 是否启用广告 (开发时可以设为 false)
10    enabled: true,
11    
12    // 广告位配置
13    adSlots: {
14        // 左侧边栏广告 (最外侧,桌面端)
15        leftSidebar: {
16            enabled: true,
17            slotId: '1234567890', // 需要替换为实际的广告位 ID
18            format: 'auto',
19            responsive: true,
20            style: {
21                display: 'block',
22                width: '100%',
23                minHeight: '250px'
24            }
25        },
26        
27        // 右侧边栏广告 (最外侧,桌面端)
28        rightSidebar: {
29            enabled: true,
30            slotId: '1234567891', // 需要替换为实际的广告位 ID
31            format: 'auto',
32            responsive: true,
33            style: {
34                display: 'block',
35                width: '100%',
36                minHeight: '250px'
37            }
38        },
39        
40        // 内容顶部横幅广告
41        topBanner: {
42            enabled: true,
43            slotId: '1234567892', // 需要替换为实际的广告位 ID
44            format: 'auto',
45            responsive: true,
46            style: {
47                display: 'block',
48                width: '100%',
49                minHeight: '90px'
50            }
51        },
52        
53        // 内容底部横幅广告
54        bottomBanner: {
55            enabled: true,
56            slotId: '1234567893', // 需要替换为实际的广告位 ID
57            format: 'auto',
58            responsive: true,
59            style: {
60                display: 'block',
61                width: '100%',
62                minHeight: '90px'
63            }
64        },
65        
66        // 表格内嵌广告 (可选,谨慎使用)
67        inContent: {
68            enabled: false, // 默认关闭,避免影响用户体验
69            slotId: '1234567893',
70            format: 'auto',
71            responsive: true
72        }
73    },
74    
75    // 响应式断点
76    breakpoints: {
77        mobile: 768,
78        tablet: 1024,
79        desktop: 1280
80    }
81};
82

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.