Javascript html Bagh
Sept 5, 2020 23:16:43 GMT 1
Post by alexfish on Sept 5, 2020 23:16:43 GMT 1
Hi All
many site now contain oodles of script
I have been wondering for sometime & esp now that YouTube is nearly 90 % of it
How can one make sense of it :: some rational
Javascript is a language MM! say he
INDENT mm!
install indent
here is a plan
download say page youtube search results saved as say index.html
using indent
ignore the warnings
Now open the file in an editor
or if have terminal that has forever scroll-back
By the way this is a one off post
BR
Alex
added a cut from the file
grep watch
a sample of
many site now contain oodles of script
I have been wondering for sometime & esp now that YouTube is nearly 90 % of it
How can one make sense of it :: some rational
Javascript is a language MM! say he
INDENT mm!
install indent
here is a plan
download say page youtube search results saved as say index.html
using indent
indent index.html
ignore the warnings
Now open the file in an editor
or if have terminal that has forever scroll-back
cat index.html
By the way this is a one off post
BR
Alex
added a cut from the file
</script >< link rel = "shortcut icon" href =
"https://www.youtube.com/s/desktop/ebcf1b0f/img/favicon.ico"
type = "image/x-icon" >< link rel = "icon" href =
"https://www.youtube.com/s/desktop/ebcf1b0f/img/favicon_32.png"
sizes = "32x32" >< link rel = "icon" href =
"https://www.youtube.com/s/desktop/ebcf1b0f/img/favicon_48.png"
sizes = "48x48" >< link rel = "icon" href =
"https://www.youtube.com/s/desktop/ebcf1b0f/img/favicon_96.png"
sizes = "96x96" >< link rel = "icon" href =
"https://www.youtube.com/s/desktop/ebcf1b0f/img/favicon_144.png"
grep watch
cat index2.html | grep /watch?v=
a sample of
"url": "/watch?v=HrxX9TBj2zY\u0026list=PLYjaa9h0s4AZL7YGxxgPkHpj1AHv87hMo", "webPageType": "WEB_PAGE_TYPE_WATCH", "rootVe":3832}
"url": "/watch?v=HrxX9TBj2zY\u0026list=PLYjaa9h0s4AZL7YGxxgPkHpj1AHv87hMo", "webPageType": "WEB_PAGE_TYPE_WATCH", "rootVe":3832}
"url": "/watch?v=P_4uEaZQ2Kg\u0026list=PLYjaa9h0s4AZL7YGxxgPkHpj1AHv87hMo", "webPageType": "WEB_PAGE_TYPE_WATCH", "rootVe":3832}
"url": "/watch?v=P_4uEaZQ2Kg\u0026list=PLYjaa9h0s4AZL7YGxxgPkHpj1AHv87hMo", "webPageType": "WEB_PAGE_TYPE_WATCH", "rootVe":3832}
"url": "/watch?v=DPL_SV3n7IU\u0026list=PLYjaa9h0s4AZL7YGxxgPkHpj1AHv87hMo", "webPageType": "WEB_PAGE_TYPE_WATCH", "rootVe":3832}
"url": "/watch?v=DPL_SV3n7IU\u0026list=PLYjaa9h0s4AZL7YGxxgPkHpj1AHv87hMo", "webPageType": "WEB_PAGE_TYPE_WATCH", "rootVe":3832}
"url": "/watch?v=0lBMs67ZYFY\u0026list=PLYjaa9h0s4AZL7YGxxgPkHpj1AHv87hMo", "webPageType": "WEB_PAGE_TYPE_WATCH", "rootVe":3832}
"url": "/watch?v=0lBMs67ZYFY\u0026list=PLYjaa9h0s4AZL7YGxxgPkHpj1AHv87hMo", "webPageType": "WEB_PAGE_TYPE_WATCH", "rootVe":3832}
"url": "/watch?v=GG2tZNOQWAA\u0026list=PLYjaa9h0s4AZL7YGxxgPkHpj1AHv87hMo", "webPageType": "WEB_PAGE_TYPE_WATCH", "rootVe":3832}
"url": "/watch?v=GG2tZNOQWAA\u0026list=PLYjaa9h0s4AZL7YGxxgPkHpj1AHv87hMo", "webPageType": "WEB_PAGE_TYPE_WATCH", "rootVe":3832}
"url": "/watch?v=jQcBwE6j09U\u0026list=PLYjaa9h0s4AZL7YGxxgPkHpj1AHv87hMo", "webPageType": "WEB_PAGE_TYPE_WATCH", "rootVe":3832}
"url": "/watch?v=jQcBwE6j09U\u0026list=PLYjaa9h0s4AZL7YGxxgPkHpj1AHv87hMo", "webPageType": "WEB_PAGE_TYPE_WATCH", "rootVe":3832}
"url": "/watch?v=7jMlFXouPk8\u0026list=PLYjaa9h0s4AZL7YGxxgPkHpj1AHv87hMo", "webPageType": "WEB_PAGE_TYPE_WATCH", "rootVe":3832}
"url": "/watch?v=7jMlFXouPk8\u0026list=PLYjaa9h0s4AZL7YGxxgPkHpj1AHv87hMo", "webPageType": "WEB_PAGE_TYPE_WATCH", "rootVe":3832}
"url": "/watch?v=73UMWoXRbjg\u0026list=PLYjaa9h0s4AZL7YGxxgPkHpj1AHv87hMo", "webPageType": "WEB_PAGE_TYPE_WATCH", "rootVe":3832}
"url": "/watch?v=73UMWoXRbjg\u0026list=PLYjaa9h0s4AZL7YGxxgPkHpj1AHv87hMo", "webPageType": "WEB_PAGE_TYPE_WATCH", "rootVe":3832}
"url": "/watch?v=-0kcet4aPpQ\u0026list=PLYjaa9h0s4AZL7YGxxgPkHpj1AHv87hMo", "webPageType": "WEB_PAGE_TYPE_WATCH", "rootVe":3832}
"url": "/watch?v=-0kcet4aPpQ\u0026list=PLYjaa9h0s4AZL7YGxxgPkHpj1AHv87hMo", "webPageType": "WEB_PAGE_TYPE_WATCH", "rootVe":3832}
"url": "/watch?v=vWZ6hmHj2MA\u0026list=PLYjaa9h0s4AZL7YGxxgPkHpj1AHv87hMo", "webPageType": "WEB_PAGE_TYPE_WATCH", "rootVe":3832}
"url": "/watch?v=vWZ6hmHj2MA\u0026list=PLYjaa9h0s4AZL7YGxxgPkHpj1AHv87hMo", "webPageType": "WEB_PAGE_TYPE_WATCH", "rootVe":3832}