') + ')', 'gi');
if (regex.test(text)) {
found = true;
var frag = document.createDocumentFragment();
var parts = text.split(regex);
parts.forEach(function(part, i) {
if (i % 2 === 0) {
frag.appendChild(document.createTextNode(part));
} else {
var span = document.createElement('span');
span.className = 'userscript-highlight';
span.textContent = part;
frag.appendChild(span);
}
});
node.parentNode.replaceChild(frag, node);
}
});
} else if (node.nodeType === 1 && node.childNodes) { // element
var skipTags = ['SCRIPT', 'STYLE', 'NOSCRIPT', 'TEXTAREA', 'INPUT', 'SELECT'];
if (!skipTags.includes(node.tagName)) {
Array.from(node.childNodes).forEach(highlight);
}
}
}
highlight(document.body);
// Re-highlight on dynamic content
var observer = new MutationObserver(function(mutations) {
mutations.forEach(function(m) {
m.addedNodes.forEach(function(node) {
if (node.nodeType === 1 || node.nodeType === 3) highlight(node);
});
});
});
observer.observe(document.body, { childList: true, subtree: true });
})();
}
} catch(__e) { console.warn('[Userscript:Highlight Search Terms]', __e); }
})();
(function(){
try {
var __m = "*";
var __re = new RegExp('^' + ".*" + ', 'i');
if (__m === '*' || __re.test(location.href)) {
// Strip utm_, fbclid, gclid, etc. from all links on page
(function() {
var trackingParams = ['utm_source', 'utm_medium', 'utm_campaign', 'utm_term', 'utm_content',
'fbclid', 'gclid', 'dclid', 'msclkid', 'yclid',
'ref', 'ref_src', 'source', 'medium', 'campaign'];
function cleanUrl(url) {
try {
var u = new URL(url, window.location.origin);
var changed = false;
trackingParams.forEach(function(p) {
if (u.searchParams.has(p)) {
u.searchParams.delete(p);
changed = true;
}
});
return changed ? u.toString() : url;
} catch (e) {
return url;
}
}
function cleanLinks() {
document.querySelectorAll('a[href]').forEach(function(a) {
var clean = cleanUrl(a.href);
if (clean !== a.href) a.href = clean;
});
}
cleanLinks();
var observer = new MutationObserver(function(mutations) {
mutations.forEach(function(m) {
m.addedNodes.forEach(function(node) {
if (node.nodeType === 1) {
if (node.tagName === 'A') cleanLinks();
node.querySelectorAll('a[href]').forEach(function(a) {
var clean = cleanUrl(a.href);
if (clean !== a.href) a.href = clean;
});
}
});
});
});
observer.observe(document.body, { childList: true, subtree: true });
})();
}
} catch(__e) { console.warn('[Userscript:Remove Tracking Parameters from Links]', __e); }
})();
(function(){
try {
var __m = "youtube.com";
var __re = new RegExp('^' + "youtube\\.com" + ', 'i');
if (__m === '*' || __re.test(location.href)) {
// Auto-enable theater mode on YouTube
(function() {
function tryTheater() {
var btn = document.querySelector('button[aria-label="Theater mode"], ytd-player #player button[title="Theater mode"]');
if (btn && !btn.classList.contains('activated')) {
btn.click();
}
}
// Try immediately
tryTheater();
// Try after navigation (SPA)
var lastUrl = location.href;
setInterval(function() {
if (location.href !== lastUrl) {
lastUrl = location.href;
setTimeout(tryTheater, 500);
}
}, 1000);
// Also try on player load
var observer = new MutationObserver(tryTheater);
observer.observe(document.body, { childList: true, subtree: true });
})();
}
} catch(__e) { console.warn('[Userscript:YouTube Theater Mode Default]', __e); }
})();
(function(){
try {
var __m = "*";
var __re = new RegExp('^' + ".*" + ', 'i');
if (__m === '*' || __re.test(location.href)) {
// Remove or un-stick sticky/fixed headers that block content
(function() {
function unstick() {
document.querySelectorAll('header, nav, [role="banner"], .header, .navbar, .sticky, .fixed-top, [style*="position: fixed"], [style*="position:sticky"]').forEach(function(el) {
if (el.style.position === 'fixed' || el.style.position === 'sticky' || getComputedStyle(el).position === 'fixed' || getComputedStyle(el).position === 'sticky') {
el.style.position = 'static';
el.style.top = 'auto';
el.style.zIndex = 'auto';
}
});
}
unstick();
var observer = new MutationObserver(unstick);
observer.observe(document.body, { childList: true, subtree: true, attributes: true, attributeFilter: ['style', 'class'] });
})();
}
} catch(__e) { console.warn('[Userscript:Kill Sticky Headers]', __e); }
})();
})();
GitHub - lunchScreen/iOS08-WithBuddy: 💜 나만의 추억저장소 위드버디 💜 · GitHub
Repository files navigation 친구들과의 일정과 추억을 캐릭터와 함께 기록해 관리할 수 있는 서비스
모임을 간단하게 등록할 수 있어요
모임의 날짜와 시간, 만난 장소, 만난 목적을 기록 할 수 있습니다.메모와 사진을 함께 저장 하여 모임을 추억할 수 있습니다.색상과 얼굴을 선택하여 친구의 캐릭터를 직접 생성 할 수 있습니다. 달력을 통해 모임을 한눈에 확인할 수 있어요
모임의 유무/빈도에 따라 본인의 캐릭터가 관련 정보를 알려줍니다. 달력에서 모임일정을 한눈에 확인 할 수 있습니다.모임에서 만났던 친구들을 각자의 캐릭터로 쉽게 확인 할 수 있습니다. 달력에서 날짜를 클릭하면 해당 날짜의 모임을 모두 확인 할 수 있습니다. 모임의 분석결과를 확인 할 수 있어요
시각화된 그래프를 통해 자신의 만남에 대한 다양한 통계를 확인할 수 있습니다.
버블차트로 가장 많이 만난 친구들의 순위 를 확인할 수 있습니다. 내가 모임을 가지는 목적 을 순서대로 확인할 수 있습니다. 가장 최근에 만난 친구 / 만난지 가장 오래된 친구 를 확인할 수 있습니다. 모임목록과 친구목록을 관리할 수 있어요
모임을 날짜순으로 한번에 확인하고 편집, 삭제 할 수 있습니다. 친구목록에서 친구를 생성, 편집, 삭제 할 수 있습니다. 설정에서 모임목록을 초기화 할 수 있습니다. MVVM Clean Architecture 를 기본으로 하고 진행하면서 개선
Application
- launchScreen
- AppDelegate
- SceneDelegate
- Asset
Domain
- Entities
- UseCases
Presentation
- Common View
- Scene # 1
- View
- xxViewController
- xxView
- ViewModel
- TestMock UseCase
- Scene # 2
- View
- xxViewController
- xxView
- ViewModel
...
Data
- PersistentStorage
위드버디 Wiki로 놀러오세요~
You can’t perform that action at this time.