Welcome to TalkGraphics.com
Results 1 to 4 of 4
  1. #1
    Join Date
    Aug 2010
    Location
    Staffordshire, UK
    Posts
    36

    Default 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.

  2. #2
    Join Date
    Dec 2018
    Location
    Australia
    Posts
    1,775

    Default 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.

  3. #3
    Join Date
    Apr 2012
    Location
    SW England
    Posts
    17,809

    Default 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
    Acorn - installed Xara software: Cloud+/Pro+ and most others back through time (to CC's Artworks). Contact for technical remediation/consultancy for your web designs.
    When we provide assistance, your responses are valuable as they benefit the community. TG Nuggets you might like. Report faults: Xara Cloud+/Pro+/Magix Legacy; Xara KB & Chat

  4. #4
    Join Date
    Aug 2010
    Location
    Staffordshire, UK
    Posts
    36

    Default Re: Removing html/code from the head of a website pages

    Quote Originally Posted by Chris M View Post
    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!

 

 

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •