|
@@ -14,8 +14,11 @@
|
|
if (window.top !== window.self) {
|
|
if (window.top !== window.self) {
|
|
return;
|
|
return;
|
|
}
|
|
}
|
|
|
|
+ if (location.href.indexOf("?v") > 0) {
|
|
|
|
+ return;
|
|
|
|
+ }
|
|
axios.post(`https://web_history.tianyunperfect.cn/notion/insert`, {
|
|
axios.post(`https://web_history.tianyunperfect.cn/notion/insert`, {
|
|
- "notion_url": location.href,
|
|
|
|
|
|
+ "notion_url": location.href.split("?")[0].split("/").pop().split("-").pop(),
|
|
}).then(async res => {
|
|
}).then(async res => {
|
|
console.log(res.data)
|
|
console.log(res.data)
|
|
if (res.data.statusCode == 200) {
|
|
if (res.data.statusCode == 200) {
|