-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0104c9e
commit 537202a
Showing
2 changed files
with
21 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
function openLinkedInConnections() { | ||
// Select each connection card's name element | ||
document.querySelectorAll('.mn-connection-card__name').forEach(card => { | ||
// Attempt to find the URL from a known data attribute or surrounding link | ||
let profileUrl = card.closest('.mn-connection-card').querySelector('a')?.href; | ||
|
||
// Open each profile URL in a new tab if found | ||
if (profileUrl) { | ||
window.open(profileUrl, '_blank'); | ||
} else { | ||
console.log("No URL found for one of the connections."); | ||
} | ||
}); | ||
} | ||
|
||
openLinkedInConnections(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# Issues I encountered | ||
|
||
## Long file name fix: | ||
|
||
--restrict-filenames -o 1.mp4 |