PageSourceSearch

https://tfmedia.co.kr/js/editor.js

js tfmedia.co.kr collected 2026-10-02 16:47:56 UTC 1,391 bytes, 53 lines download raw bytes

1// 업로드 파일
2function add_uploaded_file(txt, val)
3{
4  var obj = document.getElementById("uploaded_files");
5
6  obj[obj.length] = new Option(txt, val);
7  obj.selectedIndex = obj.length - 1;
8
9  obj = document.getElementById("upload_filelist");
10  if (obj.value != "")
11    obj.value += ",";
12  obj.value += val;
13}
14
15// 게시물 첨부파일 삭제
16function del_uploaded_file(bbsNo, bbsCode)
17{
18  var obj = document.getElementById("uploaded_files");
19  var idx = obj.selectedIndex;
20  if (idx < 0)
21  {
22    window.alert("삭제하실 파일을 선택해 주십시오.")
23    return;
24  }
25 
26  if (!window.confirm("선택하신 파일을 삭제하시겠습니까?"))
27  {
28    return;
29  }
30
31  var attId = obj.options[idx].value;
32  window.open("/mybbs/upload.php?up_mode=del&bbs_code="+bbsCode+"&bbs_no="+bbsNo+"&att_no="+attId+"&idx="+idx, "", "width=10,height=10");
33}
34
35// 게시물 첨부파일 삭제 승인
36function del_uploaded_file_commit(idx)
37{
38  var obj = document.getElementById("uploaded_files");
39  obj.options[idx] = null;
40  obj.selectedIndex = idx - 1;
41}
42
43// 게시물 첨부파일
44function upload_file(bbsCode)
45{
46  window.open("/mybbs/upload.html?bbs_code="+bbsCode, "", "width=400, height=200");
47}
48
49// 게시물 삭제
50function del_bbs_no(bbsCode, bbsNo, type)
51{
52  window.open("/mybbs/bbs.html?mode=del&bbs_code="+bbsCode+"&bbs_no="+bbsNo + '&type=' + type, "", "width=400, height=200");
53}

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.