forked from SYu449/Auto-Fork
-
Notifications
You must be signed in to change notification settings - Fork 0
/
notes.txt
23 lines (17 loc) · 832 Bytes
/
notes.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
URL
------------------------------------------------------
slack github link characteristics:
<a target="_blank" class="c-link" data-stringify-link="https://github.com/CodesmithLLC/unit-11-authentication" delay="150" data-sk="tooltip_parent" href="https://github.com/CodesmithLLC/unit-11-authentication" rel="noopener noreferrer">https://github.com/CodesmithLLC/unit-11-authentication</a>
-class: c-link
urlclipping script:
const links = document.querySelectorAll("a");
const array = [];
const base = 'github';
for (const link of links) {
const urlClean = link.href;
if (urlClean.includes(base)) array.push(urlClean);
};
console.log(array);
AUTHENTICATION
------------------------------------------------------
https://docs.github.com/en/rest/guides/basics-of-authentication