Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ask
- var hello = document.getElementsByClassName('PartialSearchResults-item')[0].getElementsByTagName('a');
- content = "";
- for(start = 0; start<10;start++){
- hello = document.getElementsByClassName('PartialSearchResults-item')[start].getElementsByTagName('a');
- content = content + hello[0].attributes['href'].value + "\n";
- window.open("data:application/txt," + encodeURIComponent(content), "_self");
- }
- bing
- var hello = document.getElementsByClassName('b_algo')[0].getElementsByTagName('a');
- content = "";
- for(start = 0; start<10;start++){
- hello = document.getElementsByClassName('b_algo')[start].getElementsByTagName('a');
- content = content + hello[0].attributes['href'].value + "\n";
- window.open("data:application/txt," + encodeURIComponent(content), "_self");
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement