File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ export type SiteSupportType = (typeof SiteSupport)[keyof typeof SiteSupport];
3131 * @returns a list of page types that the current page is
3232 */
3333export default function getSiteSupport ( url : string ) : SiteSupportType | null {
34- console . debug ( "[UTRP] getSiteSupport entry " , url ) ;
34+ console . debug ( "[UTRP] Injecting on " , url ) ;
3535 if ( isExtensionPopup ( ) ) {
3636 return SiteSupport . EXTENSION_POPUP ;
3737 }
@@ -61,17 +61,11 @@ export default function getSiteSupport(url: string): SiteSupportType | null {
6161 }
6262 try {
6363 const parsed = new URL ( url ) ;
64- console . debug ( "[UTRP] getSiteSupport parsed" , {
65- url,
66- pathname : parsed . pathname ,
67- } ) ;
6864 if (
6965 parsed . hostname === "my.utexas.edu" &&
7066 ( parsed . pathname === "/student" ||
7167 parsed . pathname . startsWith ( "/student/" ) )
7268 ) {
73- // Debug log for MY_UT detection
74- console . debug ( "[UTRP] Detected MY_UT site:" , url ) ;
7569 return SiteSupport . MY_UT ;
7670 }
7771 } catch {
You can’t perform that action at this time.
0 commit comments