Node.js Spider
Node.js Spider
How To Write a Spider using JavaScript, in order to auto download some svg images form the target website!
node.js spider
How to get a DOM element's ::before
content with JavaScript?
icons
https://rollbar.com/platforms/
https://rollbar.com/error-tracking/
https://rollbar.com/assets/shared/logos/node-icon.svg
https://rollbar.com/assets/shared/logos/laravel-icon.svg
https://rollbar.com/assets/shared/logos/apple-icon.svg
https://rollbar.com/assets/shared/logos/ruby-icon.svg
https://rollbar.com/assets/shared/logos/angular-icon.svg
https://rollbar.com/assets/shared/logos/vue-icon.svg
https://rollbar.com/assets/shared/logos/react-icon.svg
https://rollbar.com/assets/shared/logos/javascript-icon.svg
https://rollbar.com/assets/shared/logos/php-icon.svg
https://rollbar.com/assets/shared/logos/python-icon.svg
https://rollbar.com/assets/shared/logos/java-icon.svg
https://rollbar.com/assets/shared/logos/ios-icon.svg
https://rollbar.com/assets/shared/logos/android-icon.svg
https://rollbar.com/assets/shared/logos/dotnet-icon.svg
const links = document.querySelectorAll(`ul.image-list a`);
links[0];
// <a href="/docs/notifier/rollbar-gem/" class="ruby">::before Ruby</a>
links[0];
//
links[0].textContent;
//"Ruby"
links[0].innerText;
// "Ruby"
links[0].innerHTML;
// "Ruby"
// ??? links[0]::before;
JS Regex
HTML5 download
HTML5 Canvas
refs
https://gist.github.com/xgqfrms-GitHub/0bf82ff06037a0d1776c9f30033cbfd1
https://css-tricks.com/using-svg/
©xgqfrms 2012-2020
www.cnblogs.com 发布文章使用:只允许注册用户才可以访问!
本文首发于博客园,作者:xgqfrms,原文链接:https://www.cnblogs.com/xgqfrms/p/6942147.html
未经授权禁止转载,违者必究!