xgqfrms™, xgqfrms® : xgqfrms's offical website of cnblogs! xgqfrms™, xgqfrms® : xgqfrms's offical website of GitHub!

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?

https://stackoverflow.com/questions/44342065/how-to-get-a-dom-elements-before-content-with-javascript

icons

https://rollbar.com/docs/

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 发布文章使用:只允许注册用户才可以访问!


posted @ 2017-06-04 21:50  xgqfrms  阅读(302)  评论(3编辑  收藏  举报