PageSourceSearch

https://www.shanghaimuseum.net/mu/site2/js/aria.js

js shanghaimuseum.net collected 2026-10-02 05:58:04 UTC 2,310 bytes, 72 lines download raw bytes

1if (window.aria === undefined) {
2    window.aria = {
3        start: function() {},
4        oldFixedStart: function() {},
5        status: function() {return false;}
6    };
7}
8
9function adjustForAria() {
10    console.log('adjustForAria');
11
12    /*
13    $('[title="参观与活动"]').hide();
14    $('[title="云游上博"]').hide();
15    $('[title="无障碍"]').hide();
16    $('[title="关怀版"]').hide();
17    $('[title="预约"]').hide();
18    $('[title="切换语言"]').hide();
19    $('[title="搜索"]').hide();
20    $('.site-top .menu .item').addClass('large-item');
21    $('.site-top .menu.menu-right .item').addClass('large-item');
22    */
23
24    $('.shbwg-home-page .home-top').removeClass('home-top');
25    /*
26    $('.shbwg-home-page #swiper1').hide();
27    $('.shbwg-home-page .gallery-panel').hide();
28    $('.shbwg-home-page .wall-wrapper').hide();
29    $('.shbwg-home-page .exhibition-panel').hide();
30    $('.shbwg-home-page-cover-a11y').show();
31
32    $('.shbwg-about-page .history-content1').hide();
33
34    $('.site-sitemap').hide();
35
36    $('html').on('click', '#accclose', function() {
37        location.href = 'frontend/pg/index';
38    });
39    */
40}
41
42function adjustForMobileAria() {
43    console.log('adjustForMobileAria');
44
45    /*
46    $('[title="关怀版"]').hide();
47    $('#language-button').hide();
48    $('[title="搜索"]').hide();
49    $('.luxbar-navigation>li:nth-child(3)').hide();
50    $('.luxbar-navigation>li:nth-child(5)').hide();
51    $('.luxbar-navigation>li:nth-child(6)').hide();
52    $('.luxbar-navigation>li:nth-child(7)').hide();
53    $('.luxbar-navigation>li:nth-child(8)').hide();
54
55    $('.site-m-banner .visit-newline-a11y').hide();
56
57    $('.shbwg-mobile-home-page #swiper1').hide();
58    $('.shbwg-mobile-home-page .gallery-panel').hide();
59    $('.shbwg-mobile-home-page .home-wall .item.item1').hide();
60    $('.shbwg-mobile-home-page .home-wall .item.item3').hide();
61    $('.shbwg-mobile-home-page .exhibition-panel').hide();
62    $('.shbwg-mobile-home-page-cover-a11y').show();
63
64    $('.shbwg-mobile-about-page #swiper1').hide();
65
66    $('.site-bottom.site-m-bottom .share-list').hide();
67
68    $('html').on('click', '.ariamobile .ariaiconmobileExit1', function() {
69        location.href = 'frontend/pg/m/index';
70    });
71    */
72}

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.