It is currently March 28th, 2024, 2:05 pm



Post new topic Reply to topic  [ 9 posts ] 
Author Message
 Post subject: Remove a clickable link from message.
PostPosted: March 22nd, 2016, 1:27 am 

Joined: December 2nd, 2013, 9:36 pm
Posts: 55
what i must add to "remove elements"


<a href="http://anysite.com">text</a>

i added the a element but message leech bad

a tried a href etc.. can you help me?


Top
 Profile  
Reply with quote  
 Post subject: Re: remove a clickable link from message
PostPosted: March 22nd, 2016, 10:45 am 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 12629
Location: Earth
The tag name is "a" (not href - it's just an attribute).

But adding "a" to remove elements will remove all clickable links (image links, download links, IMDB links, etc.).

If you don't need just some hosts, you could added those hosts to banned hosts in "HOSTS" tab.

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: Remove a clickable link from message.
PostPosted: March 22nd, 2016, 9:47 pm 

Joined: December 2nd, 2013, 9:36 pm
Posts: 55
ok thank you.

i have another question.

on a web i want to leech theres some selector for an especific thing but each thing has hiw own id but very similar.


example:

selectorname_15787 then selectorname_15788 selectorname_15789

i added the base selectorname_ but not works, any ideas to work with this?


original selector lookslike
Code:
<td id="selector_15787" colspan="3">


Top
 Profile  
Reply with quote  
 Post subject: Re: Remove a clickable link from message.
PostPosted: March 22nd, 2016, 10:53 pm 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 12629
Location: Earth
In that case it should be like this:

Code:
td[id^=name_]


^= means "starts with".

This information can be found here: http://jsoup.org/apidocs/org/jsoup/select/Selector.html (this link is also mentioned in FAQ).

http://leecher.freddy.lt/faq.php?expand=faq206

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: Remove a clickable link from message.
PostPosted: March 23rd, 2016, 12:15 am 

Joined: December 2nd, 2013, 9:36 pm
Posts: 55
yes i've read but honestly im not understand much of that.

your code didnt work maybe cause the data i want to leech is in this format and i must click a link show the content (it expands, doesnt reload the page)

Code:
<a id="Button2282169" href="#2282169" onclick="togglecontent('2282169'); return false;">show here</a>


Top
 Profile  
Reply with quote  
 Post subject: Re: Remove a clickable link from message.
PostPosted: March 23rd, 2016, 9:41 am 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 12629
Location: Earth
I will need post URL to take a look.

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: Remove a clickable link from message.
PostPosted: March 24th, 2016, 1:46 am 

Joined: December 2nd, 2013, 9:36 pm
Posts: 55
lyrics tab

Code:
http://goo.gl/Pgndk858


Last edited by flaiho on March 25th, 2016, 4:53 am, edited 1 time in total.

Top
 Profile  
Reply with quote  
 Post subject: Re: Remove a clickable link from message.
PostPosted: March 24th, 2016, 11:39 pm 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 12629
Location: Earth
They are loaded externally. When you press on "Show" button there it makes request to totally different page which loads the lyrics.

There are websites where it's not really hidden and are not loaded externally, then it works fine.

In this case it won't work.

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: Remove a clickable link from message.
PostPosted: March 25th, 2016, 4:52 am 

Joined: December 2nd, 2013, 9:36 pm
Posts: 55
oks, i got more sources anyways xD


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 9 posts ] 

Who is online

Users browsing this forum: No registered users and 13 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Theme designed by stylerbb.net © 2008
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
All times are UTC