We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 29ae575 + 931749b commit e7d464dCopy full SHA for e7d464d
index.html
@@ -135,7 +135,7 @@ <h2>
135
<body>
136
<script>
137
window.addEventListener('load', () => {
138
- var parsedUrl = new URL(window.location.toString());
+ var parsedUrl = new URL(window.location);
139
console.log('Title shared: ' + parsedUrl.searchParams.get('name'));
140
console.log('Text shared: ' + parsedUrl.searchParams.get('description'));
141
console.log('URL shared: ' + parsedUrl.searchParams.get('link'));
0 commit comments