최근 검색
최근 검색 없음

Jim Wagner
가입한 날짜: 2021년 4월 17일
·
마지막 활동: 2023년 9월 14일
팔로잉
0
팔로워
0
총 활동 수
3
투표
1
가입 플랜
1
활동 개요
배지
문서
게시물
커뮤니티 댓글
문서 댓글
활동 개요
님의 최근 활동 Jim Wagner
Jim Wagner님이 에 댓글을 입력함
커뮤니티 댓글 Discussion - Tips and best practices from the community
We are using the Copenhagen theme, which apparently does not include JQuery. So I had to modify the bottom part of the script to use vanilla JS:
document.querySelector('#request_custom_fields_' + browserfield_id).value =
'OS: ' + jscd.os +' '+ jscd.osVersion + '\n' +
'Browser: ' + jscd.browser +' '+ jscd.browserMajorVersion +
' (' + jscd.browserVersion + ')\n' +
'Mobile: ' + jscd.mobile + '\n' +
'Flash: ' + jscd.flashVersion + '\n' +
'Cookies: ' + jscd.cookies + '\n' +
'Screen Size: ' + jscd.screen + '\n\n' +
'Full User Agent: ' + navigator.userAgent;
document.querySelector('.request_custom_fields_' + browserfield_id).hidden = true;
The template looks like it has errors, since the color highlighting is all screwy, but it works. I even left this line as-is, with the apostrophe:
// flash (you'll need to include swfobject)
댓글 보기 · 2020년 5월 15일에 게시됨 · Jim Wagner
0
팔로워
0
투표 수
0
댓글