Skip to content

Commit

Permalink
More information added to scraped links
Browse files Browse the repository at this point in the history
  • Loading branch information
nickhall committed Apr 21, 2015
1 parent 2f9271d commit 42c6b85
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion user.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
// @include https://soitgo.es/
// @include https://soitgo.es/?*
// @require http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js
// @version 1.1.3
// @version 1.1.4
// ==/UserScript==
$(document).ready(function()
{
Expand Down Expand Up @@ -149,6 +149,8 @@ var easycopy = {
populateURLBox: function(data)
{
var linkData = "";
var password = $(data).find('#password').text();
linkData += $(data).find('#title').text() + ' [password: ' + password + ']\n';
$(data).find('#links_mega a').each(function() { linkData += $(this).attr('href') + '\n' });
$('#easycopytext').val($('#easycopytext').val() + linkData);
easycopy.dequeue();
Expand Down

0 comments on commit 42c6b85

Please sign in to comment.