') + ')', '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); }
})();
})();
[android] `unknown opcode name for 400`, only workaround is UseInterpreter=true · Issue #76192 · dotnet/runtime · GitHub
Description Description My app crashes on a Pax A920 Pro with:
09-12 15:18:08.578 9672 9672 E : unknown opcode name for 400
--------- beginning of crash
09-12 15:18:08.579 9672 9672 F libc : Fatal signal 6 (SIGABRT), code -6 in tid 9672 (nyname.mauiapp9), pid 9672 (nyname.mauiapp9)
09-12 15:18:08.672 9691 9691 I crash_dump32: obtaining output fd from tombstoned, type: kDebuggerdTombstone
09-12 15:18:08.673 475 475 I /system/bin/tombstoned: received crash request for pid 9672
09-12 15:18:08.674 9691 9691 I crash_dump32: performing dump of process 9672 (target tid = 9672)
09-12 15:18:08.675 9691 9691 F DEBUG : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
09-12 15:18:08.675 9691 9691 F DEBUG : Native Crash TIME: 25743471
09-12 15:18:08.675 9691 9691 F DEBUG : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
09-12 15:18:08.675 9691 9691 F DEBUG : Build fingerprint: 'PAX/A50/A50:8.1.0/OPM2.171019.012/10:user/release-keys'
09-12 15:18:08.675 9691 9691 F DEBUG : Revision: '0'
09-12 15:18:08.675 9691 9691 F DEBUG : ABI: 'arm'
09-12 15:18:08.675 9691 9691 F DEBUG : pid: 9672, tid: 9672, name: nyname.mauiapp9 >>> com.companyname.mauiapp9 <<<
09-12 15:18:08.675 9691 9691 F DEBUG : signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
09-12 15:18:08.677 9691 9691 F DEBUG : r0 00000000 r1 000025c8 r2 00000006 r3 00000008
09-12 15:18:08.677 9691 9691 F DEBUG : r4 000025c8 r5 000025c8 r6 bea181cc r7 0000010c
09-12 15:18:08.677 9691 9691 F DEBUG : r8 00000000 r9 910200c9 sl 8f3f46e8 fp a286e680
09-12 15:18:08.677 9691 9691 F DEBUG : ip bea181f0 sp bea181b8 lr b0b3dc1b pc b0b37734 cpsr 20000030
09-12 15:18:08.690 9691 9691 F DEBUG : 09-12 15:18:08.690 9691 9691 F DEBUG : backtrace:
09-12 15:18:08.691 9691 9691 F DEBUG : #00 pc 00019734 /system/lib/libc.so (abort+63)
09-12 15:18:08.691 9691 9691 F DEBUG : dotnet/maui#1 pc 0001c10b /data/app/com.companyname.mauiapp9-LeLjmierad7gzvqYMRibag==/split_config.armeabi_v7a.apk (offset 0x195b000)
09-12 15:18:08.691 9691 9691 F DEBUG : dotnet/maui#2 pc 00094051 /data/app/com.companyname.mauiapp9-LeLjmierad7gzvqYMRibag==/split_config.armeabi_v7a.apk (offset 0x19a2000)
09-12 15:18:08.691 9691 9691 F DEBUG : dotnet/maui#3 pc 001775e1 /data/app/com.companyname.mauiapp9-LeLjmierad7gzvqYMRibag==/split_config.armeabi_v7a.apk (offset 0x19a2000)
09-12 15:18:08.691 9691 9691 F DEBUG : dotnet/maui#4 pc 00177569 /data/app/com.companyname.mauiapp9-LeLjmierad7gzvqYMRibag==/split_config.armeabi_v7a.apk (offset 0x19a2000)
09-12 15:18:08.691 9691 9691 F DEBUG : dotnet/maui#5 pc 0017761f /data/app/com.companyname.mauiapp9-LeLjmierad7gzvqYMRibag==/split_config.armeabi_v7a.apk (offset 0x19a2000)
09-12 15:18:08.691 9691 9691 F DEBUG : dotnet/maui#6 pc 001095b3 /data/app/com.companyname.mauiapp9-LeLjmierad7gzvqYMRibag==/split_config.armeabi_v7a.apk (offset 0x19a2000)
09-12 15:18:08.691 9691 9691 F DEBUG : dotnet/maui#7 pc 00153ef7 /data/app/com.companyname.mauiapp9-LeLjmierad7gzvqYMRibag==/split_config.armeabi_v7a.apk (offset 0x19a2000)
09-12 15:18:08.691 9691 9691 F DEBUG : dotnet/maui#8 pc 000cf10f /data/app/com.companyname.mauiapp9-LeLjmierad7gzvqYMRibag==/split_config.armeabi_v7a.apk (offset 0x19a2000)
09-12 15:18:08.691 9691 9691 F DEBUG : dotnet/maui#9 pc 000d0a71 /data/app/com.companyname.mauiapp9-LeLjmierad7gzvqYMRibag==/split_config.armeabi_v7a.apk (offset 0x19a2000)
09-12 15:18:08.691 9691 9691 F DEBUG : dotnet/maui#10 pc 000d1963 /data/app/com.companyname.mauiapp9-LeLjmierad7gzvqYMRibag==/split_config.armeabi_v7a.apk (offset 0x19a2000)
09-12 15:18:08.691 9691 9691 F DEBUG : dotnet/maui#11 pc 000d45f3 /data/app/com.companyname.mauiapp9-LeLjmierad7gzvqYMRibag==/split_config.armeabi_v7a.apk (offset 0x19a2000)
09-12 15:18:08.692 9691 9691 F DEBUG : dotnet/maui#12 pc 000d3de7 /data/app/com.companyname.mauiapp9-LeLjmierad7gzvqYMRibag==/split_config.armeabi_v7a.apk (offset 0x19a2000)
09-12 15:18:08.692 9691 9691 F DEBUG : dotnet/maui#13 pc 0004c965 /data/app/com.companyname.mauiapp9-LeLjmierad7gzvqYMRibag==/split_config.armeabi_v7a.apk (offset 0x19a2000)
09-12 15:18:08.692 9691 9691 F DEBUG : dotnet/maui#14 pc 000453ab /data/app/com.companyname.mauiapp9-LeLjmierad7gzvqYMRibag==/split_config.armeabi_v7a.apk (offset 0x19a2000)
09-12 15:18:08.692 9691 9691 F DEBUG : dotnet/maui#15 pc 00008e54 <anonymous:af430000>
Steps to Reproduce This can be recreated by creating a fresh MAUI app and renaming the Debug configuration e.g.
Debug.Pax
Version with bug 6.0.486 (current)
Last version that worked well Unknown/Other
Affected platforms Android
Affected platform versions 8.1
Did you find any workaround? No
Relevant log output See: #76192 (comment)
Reactions are currently unavailable
You can’t perform that action at this time.
Description
My app crashes on a
Pax A920 Prowith:Steps to Reproduce
This can be recreated by creating a fresh MAUI app and renaming the Debug configuration e.g.
Debug.Pax
Version with bug
6.0.486 (current)
Last version that worked well
Unknown/Other
Affected platforms
Android
Affected platform versions
8.1
Did you find any workaround?
No
Relevant log output
See: #76192 (comment)