MCPcopy Create free account
hub / github.com/dailydotdev/apps / getChromeIntentUrl

Function getChromeIntentUrl

packages/shared/src/lib/func.ts:131–134  ·  view source on GitHub ↗
(url: string)

Source from the content-addressed store, hash-verified

129};
130
131export const getChromeIntentUrl = (url: string): string => {
132 const { host, pathname, search } = new URL(url);
133 return `intent://${host}${pathname}${search}#Intent;scheme=https;package=com.android.chrome;end`;
134};
135
136export enum ArrowKeyEnum {
137 Up = 'ArrowUp',

Callers 2

onProviderClickFunction · 0.90
func.spec.tsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected