Removing html/code from the head of a website pages
For a clients website I built in Xara Designer Pro I was sent a code to be added to the HEAD of the page, a chat bot. I've been asked to remove it now but cannot find how to remove it from Xara Designer Pro+. Nothing is showing up in the HTML body or head fields. I need to remove it urgently so any help would be very helpful.
Re: Removing html/code from the head of a website pages
Code can be placed in one of three places:
Utilities > Web Properties > Website (tab) > HTML Code (button)
Utilities > Web Properties > Page (tab) > HTML Code (button)
Utilities > Web Properties > Placeholder (tab) > HTML Code (button)
The placeholder could be an image or a shape, usually a shape, but I'd bet heavily on it being in the same page position as the chatbot.
Re: Removing html/code from the head of a website pages
Specifically, there could be a Shape or Text with code in its Placeholder code (head) on a random page and the botcode will be shown in the page's <head> Tag.
You could also have placed in a pop-up layer or even off the design page.
The method is called Divide and Conquer and is searching for a Placeholder.
Work from a copy of your design file, never the original. Also never Save or Close the XDA during your search.
Performa all your deletions in the Page & Layer Gallery.
Delete half of your pages.
Preview and look for the Bot.
Or, examine the browser source to see if the code is still there; basically, you press F5, F12 and expand the <head> section.
If you find it, you know it is still present in the undeleted half.
Keep halving your remaining pages and checking until it disappears.
When it disappears, undelete the last set and delete the ones you know did not have the botcode.
Eventually, you will just have one Page remaining.
Now do the same for all the Page layers.
You will get one Page and one Layer.
Make sure you now make all Objects visible.
D&C until you have the one Page, one Layer & one Object left.
This is the offending Placeholder.
Pray that you haven't Cloned the Placeholder.
Acorn
Re: Removing html/code from the head of a website pages
Quote:
Originally Posted by
Chris M
Code can be placed in one of three places:
Utilities > Web Properties > Website (tab) > HTML Code (button)
Utilities > Web Properties > Page (tab) > HTML Code (button)
Utilities > Web Properties > Placeholder (tab) > HTML Code (button)
The placeholder could be an image or a shape, usually a shape, but I'd bet heavily on it being in the same page position as the chatbot.
Thank you, this has fixed it!
Utilities > Web Properties > Website (tab) > HTML Code (button) --- This was where I couldn't see the script, but:
Utilities > Web Properties > Page (tab) > HTML Code (button)--- This one was where I could see the script, so its all removed now!
Thank you!