Remove links when quote
4 posters
Page 1 of 1
Remove links when quote
When the user click on Quote button of another user , it looks like this
can we have the code automatically remove all the image links ??
- Code:
[quote="ABC"]
bla bla bla ...............
[img] image link here [/img]
bla bla bla ...
[img] image link here [/img]
bla bla bla
[/quote]
can we have the code automatically remove all the image links ??
Last edited by TamDonCo on September 5th 2016, 3:11 pm; edited 1 time in total
Re: Remove links when quote
I have not seen any codes that will remove images from quotes.


Lost Founder's Password |Forum's Utilities |Report a Forum |General Rules |FAQ |Tricks & Tips
You need one post to send a PM.
You need one post to send a PM.
When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
Re: Remove links when quote
ok, this code works in the posts, try:
- Code:
$(function () {
if (/\/t\d+/g.test(window.location.pathname)) {
var i, a = document.querySelectorAll('blockquote img');
for (i = 0; i < a.length; i++) {
a[i].remove()
}
}
})
Ch@lo Valdez- Forumember
-
Posts : 138
Reputation : 50
Language : spanish
Re: Remove links when quote
Problem solved & topic archived.
|

» Anyway to remove the text ''Sticky,Quote,Code''
» how to remove text 'wrote' on quote and change BG color of post?
» adding a background image to nav links, whose online, statistics & possible hover buttons for post reply, quote, etc?
» How do I remove these links?
» Remove links from nav bar?
» how to remove text 'wrote' on quote and change BG color of post?
» adding a background image to nav links, whose online, statistics & possible hover buttons for post reply, quote, etc?
» How do I remove these links?
» Remove links from nav bar?
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum