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 Mon Sep 05, 2016 4: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.
|
Similar topics
» Remove the Text Links from Nav menu
» Remove Underline Links?
» Please Please remove the links to my site
» Remove links near statistics
» Remove navigation links
» Remove Underline Links?
» Please Please remove the links to my site
» Remove links near statistics
» Remove navigation links
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum