Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // 일반 메모
- var MemoList = new Array(
- '꽃펑','gofun','고펑',
- 'ㅡ','ㅡ','ㅡ'
- );
- // 븅모음
- var MemoBYList = new Array(
- '닉네임','id',
- 'ㅡ','ㅡ'
- );
- $(document).ready(function() {
- for(k = 0; k < MemoList.length; k += 3) {
- $('span.list_name').html(function(i, v) {
- if (v.trim() == MemoList[k].trim()) {
- return v.replace(MemoList[k], MemoList[k] + ' / <strong>' + MemoList[k+2]+'</strong>');
- }
- });
- $('span.eng').html(function(i, v) {
- if (v.trim() == MemoList[k+1].trim()) {
- return v.replace(MemoList[k+1], MemoList[k+1] + ' / <strong>' + MemoList[k+2]+'</strong>');
- }
- });
- }
- var BYStr = ' / <strong>ㅂ</strong>';
- for(k = 0; k < MemoBYList.length; k += 2) {
- $('span.list_name').html(function(i, v) {
- if (v.trim() == MemoBYList[k].trim()) {
- return v.replace(MemoBYList[k], MemoBYList[k] + BYStr);
- }
- });
- $('span.eng').html(function(i, v) {
- if (v.trim() == MemoBYList[k+1].trim()) {
- return v.replace(MemoBYList[k+1], MemoBYList[k+1] + BYStr);
- }
- });
- }
- // https://archive.is
- $('span.title > a').html(function(i, v){
- var href = $(this).attr('href');
- var tar = ('https://te31.com/rgr/') + encodeURIComponent(href);
- return v + '</a><a href=\'https://archive.is/?run=1&url=' + tar + '\' target=\'_blank\'> .';
- //console.log(href);
- });
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement