fix(learn): skip plaza share widget on learning assistant pages
Wire delivery path detection through portal static routes and strip baked share chrome from learn parent/child HTML. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -79,7 +79,8 @@ th{font-size:11px;color:#6b7280}
|
||||
.tabs{display:flex;gap:8px;margin-top:14px}
|
||||
.tabs button{flex:1;background:#e8ebf2;color:#6b7280}
|
||||
.tabs button.on{background:#3b5bfd;color:#fff}
|
||||
.empty{text-align:center;color:#9ca3af;font-size:13px;padding:18px 0;line-height:1.7}`;
|
||||
.empty{text-align:center;color:#9ca3af;font-size:13px;padding:18px 0;line-height:1.7}
|
||||
[data-mindspace-public-share],[data-mindspace-wechat-dialog],.publication-share-fab,.publication-share-sheet{display:none!important;visibility:hidden!important}`;
|
||||
|
||||
function childScript() {
|
||||
return `
|
||||
|
||||
Reference in New Issue
Block a user