?? code in my pages

After I publish my html pages, they mysteriously develop code
that I didn't
put there. And when I run my pages through Tidy, I get
warnings b/c the
script type isn't defined and the final script appears after
the </body>
tag.
Can someone please explain what this code is for, and if DW
is putting it
there, how come I don't see it in code view?
Thanks,
Nancy O.
<script language="JavaScript">
<!--
function SymError()
return true;
window.onerror = SymError;
var SymRealWinOpen = window.open;
function SymWinOpen(url, name, attributes)
return (new Object());
window.open = SymWinOpen;
//-->
</script>
<body></body>
</html>
<script language="JavaScript">
<!--
var SymRealOnLoad;
var SymRealOnUnload;
function SymOnUnload()
window.open = SymWinOpen;
if(SymRealOnUnload != null)
SymRealOnUnload();
function SymOnLoad()
if(SymRealOnLoad != null)
SymRealOnLoad();
window.open = SymRealWinOpen;
SymRealOnUnload = window.onunload;
window.onunload = SymOnUnload;
SymRealOnLoad = window.onload;
window.onload = SymOnLoad;
//-->
</script>

Thanks, Alan. Symantec. It figures.
--Nancy
"Alan" <[email protected]> wrote in
message
news:C25E6285.2CBA6B%[email protected]..
>
>
> > SymRealWinOpen
>
>
http://www.google.com/search?hl=en&q=SymRealWinOpen&btnG=Google+Search
>
> norton internet security suite popup blocker on your
machine is inserting
it
> into the source of the browser's view code.
>
> --
> Alan
> Adobe Community Expert, dreamweaver
>
>
http://www.adobe.com/communities/experts/
>
>
>

Similar Messages

  • How do I add a tracking code to my page?

    I want to add a tracking code to my page but iWeb doesn't seem to allow it. I copied the html code from a 3rd party site (Google Analytic) and tried pasting into the html widget in iWeb but when I check the tracking report it keeps telling me the code has not been installed. I have tried placing the text block at various places on the page and still no luck. The directions at Google Analytic tell me where I need to paste it into the html code but to do that I need an html editor or a text editor that can read html.
    Am I doing something wrong with the html widget? If a tracking code can't be added with a widget is there a way I can edit the source code directly? A text editor, maybe? I tried Word but but it wouldn't open the page.
    Thanks for any help!
    Rikki

    There's a way to add Google Analytic to pages without having to edit the page. It's a little bit of work but it's a one time process. Read about it here: http://www.wyodor.net/blog/archives/2010/05/entry_316.html
    Or you could add StatCounter to each page to get not only the number of hits but lots more information:
    Click to view full size
    This tutorial describes how to add it: Old Toad's Tutorial #13 - Adding a StatCounter as an HTML Snippet.
    OT

  • What are the benefits of adding the Google Tracking Code to web pages.

    Hi everyone - I completed my site a few months ago but I'm not happy with the Google ranking I'm getting
    after typing "leadlight windows" into the Google search field.
    I've got Google verification and made sure I've got descriptive titles for my pages and alt text for photos
    plus plenty of "leadlight windows" in my text and headings.
    After months of doing a Google search, to my surprise other sites with what seems like less mention of "leadlight windows"
    are getting a much higher ranking than mine.
    I was wondering wether inserting the Google Tracking Code on each page might give me a higher ranking
    than I'm getting.
    My site is www.leadlightdlux.com
    Many thanks in advance for anyone that has clues about Google Tracking Code.

    Google Analytics is only half the battle.  The analytics starts the process for Google and they build off it.  What you need to examine next is Google Webmaster Tools: https://www.google.com/webmasters/tools/home?hl=en .  On that tool under "Your Site on the Web" you will see an option for keywords.  This will show you what Google sees.
    Lastly Google has recently updated their code whether you are subdomains, multiple domains, etc and this code is placed in the head of your document instead of the end of the document, so updating your code may help there as well.

  • How can we  use java variable in javascript code on JSP page?

    How can we use java variable in javascript code on JSP page?
    Pls help

    Think about it:
    JSP/Java is executed on the Server and produces HTML+JavaScript.
    Then that HTML+JavaScript is transfered to the client. The client now interpretes the HTML+JavaScript.
    Obviously there's no way to access a Java variable directly from JavaScript.
    What you can do, however, is write out some JavaScript that creates a JavaScript variable containing the value of your Java variable.

  • How to read the code of html page

    Hi,
    I want to know how to read the code of html page through Java? And if anyone know the link of full implementation of Page Rank Algorithm in Java.
    Please let me know. I have to do the project on that topic.
    Regard
    Vivek

    Vivek_NITT wrote:
    I want to know how to read the code of html page through Java? Get the input stream from an HttpUrlConnection. Read from it like from any other stream.
    And if anyone know the link of full implementation of Page Rank Algorithm in Java.Which one?

  • I dw file.dwt files may insert server side code supposed all pages depended are in the same code eg

    I dw file.dwt (exact like this ext) files may insert server side code supposed all pages depended are in the same code eg cfml?

    I'm sorry, but your English is pretty difficult for me to figure.  I'm assuming your asking how to have a Dreameraver template support ColdFusion. It hat is what you are asking, the template file extension should be:  YourTemplateName.dwt.cfm  - this tells Dreamweaver is a ColdFusion template.
    I hope I understood you and that this helps.
    Lawrence Cramer - *Adobe Community Professional*
    http://www.Cartweaver.com
    Shopping Cart for Adobe Dreamweaver
    available in PHP, ColdFusion, and ASP
    Stay updated - http://blog.cartweaver.com

  • Servlet with no dynamic code inside jsp pages

    Hello,
              I saw that a servlet is created even if there is no dynamic code inside jsp pages (scriplets & tags). Is it possible to avoid it on bea side ? (I am using portal 8).
              By the way, do you know if is it possible to define apache in order to avoid to send to bea the jsp which have no dynamic code inside ?
              thank you !

    JSP's always generate a servlet on all web containers. Apache/Tomcat is no
              different. If you have static content, make it an HTML page.
              Bill
              "hournon jc" <[email protected]> wrote in message
              news:22255787.1103297053148.JavaMail.root@jserv5...
              > Hello,
              >
              > I saw that a servlet is created even if there is no dynamic code inside
              jsp pages (scriplets & tags). Is it possible to avoid it on bea side ? (I am
              using portal 8).
              >
              > By the way, do you know if is it possible to define apache in order to
              avoid to send to bea the jsp which have no dynamic code inside ?
              >
              > thank you !
              

  • View source code of the page executed in browser...

    Hi,
    Request you to help me to view the source code of the page executed in browser using a Query/ Web Template. We can view the HTML code when we go to
    Page--> View source code.
    But i want to see the Java code behind the web page.
    Regards,
    Koundinya K

    You can use tools like JD-GUI and the see the code. If you want to customize a cartirdge, you can always extend the class and add your stuff to the contentItem.
    Thanks

  • How to remove blank spaces in the source code of my page?

    I created a page with the following code for testing:
    <dsp:page>
    <dsp:importbean bean="/atg/commerce/catalog/ProductLookup"/>
         <dsp:droplet name="ProductLookup">
              <dsp:param name="id" value="xprod2046" />
              <dsp:param name="elementName" value="product" />
              <dsp:oparam name="output">
                   <dsp:valueof param="product.DisplayName"/>
              </dsp:oparam>
         </dsp:droplet>
    </dsp:page>
    It only shows the product name in the browser. But if I look at the source code of my page he created 61 lines in response to this code, where a line is the product name and the other 60 have nothing.
    I know how to remove these lines that the ATG creates no content because my project is full of these empty lines.
    Anyone ever had this problem and could help me?
    Thanks

    Hi ,
    Yup this is a problem ,
    you can use following ways :
    1- use jsp comments eg :
    <dsp:page>
    <dsp:importbean bean="/atg/commerce/catalog/ProductLookup"/><%--
         ----%><dsp:droplet name="ProductLookup"><%--
              ----%><dsp:param name="id" value="xprod2046" /><%--
              ----%><dsp:param name="elementName" value="product" /><%--
              ----%><dsp:oparam name="output"><%--
                   ----%><dsp:valueof param="product.DisplayName"/><%--
              ----%></dsp:oparam><%--
         ----%></dsp:droplet><%--
    ----%></dsp:page>
    2- End tags at next line :
    e g :
    * <dsp:page
    * ><dsp:droplet name=”xyz”
    * ><dsp:oparam name=”output”
    * >Name: <dsp:valueof param=”abc”
    * /></dsp:oparam
    * ></dsp:droplet
    * ></dsp:page>
    3- Always use TAB instead of using SPACEBAR whie writing source code.
    4 - From JSP 2.1 onwards we have a page directive trimwhitespaces ( see if that works , i was not able to ), google for it for more info
    5 - You can modify your build scripts to remove white spaces from jsps while building EAR.(complex though, as you may not want to trim all white space.)
    6 - modifying the deployment descriptor.
    <init-param>
    <param-name>trimSpaces</param-name>
    <param-value>true</param-value>
    </init-param>

  • Can use asp code in xsl page?

    hello,
    i want to know can i use asp code in xsl page ..if so, please let me know.
    thz
    nway nge

    Hi,
    now we have the tinyMCE editor, where you can insert and edit html-code. It works fine now for the layout,
    but there are still a few problems with the links..
    In the edit mode there are displayed all km images out of the km. But the images aren't displayed under the portal role, when i publish the page. And all the links like one to a wiki or the TBN links doesn't work, too.
    Can anybody help me further?
    Thanks in advance,
    Lydia

  • How to embed Typekit code in Muse pages?

    How to embed Typekit code in Muse pages?

    Hi Enu1,
    Currently, you can only use and preview the free and open-source Typekit fonts in Muse.
    If you're comfortable with a little HTML/CSS, the Muse Insider wrote a post on how to insert the Typekit embed code from the Muse interface:
    http://museinsider.com/how-to-add-typekit-fonts-to-your-muse-site.html
    Or you can add the embed code to the Page Properties dialog within Muse, which will include it in the <head> of the page when you export your website.
    However, we do see the value of being able to design in Muse with all the fonts in your Typekit library. This will require a deeper integration between Typekit & Muse. I'll give the team a nudge in this direction for you.
    Let me know if you have any further questions and thanks for your patience.
    Cheers,
    Benjamin

  • Code highlighting for page with .master extension

    Hi,
    How do I get Dreamweaver to highlight the code of .master
    pages just the same as it does with .aspx?
    I've looked through the help docs.
    Please advise, thanks.

    The dreamweaver support page has a technote section.
    http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_16410
    Adding file extensions to dreamweaver
    note- pay attention to the part about which set of files to
    modify- not the
    ones in program files, the ones for You as a User get
    changed.

  • Global Template Button without any code on the page, only in the template

    I have a template with 2 facets
         Main
         SubMenu
    I would like to have some global Button on my template like Insert, save, delete, next and prev. And only have the code in the template.
    So others just can use the template without thinking on added code to the page, to make the template work.
    I have found some tutorials but there you have to create a managed bean on the page that uses the template.
    What i would like it to make a piece of Java code in the bean on the template that do
    something like this:
    Look in Facet("Main) for form, find the last focus table
         then do the action "Insert,save,delete,next and prev" on table
    I guess i need to run thru all the children of the Facet and look for a specific type
    and somehow run the action for this child.
    I don't wanna have to do any coding on the page, that uses the template only the template.

    Hi,
    have a look at http://thepeninsulasedge.com/frank_nimphius/2007/11/23/adf-faces-rc-implementation-strategies-for-global-buttons-in-page-templates/
    Maybe this is what you are after
    Frank

  • Oracle CODE Submission Web Page - MAKE IT WORK  finally ( not temporary! )

    Is it possible to finally FIX Oracle Code Submission web page. Last year ( last half ) it return errors, same this time. Is any possible way to finally FIX it without anytime alert that it is not working or broken. As far as I understand that the place were we share our code/tips/ideas, not publish our friends or something like that. I think if we use it, then at least put warning prior than we try to submit. No conversations about re-type same code ( tip used SQL, new tip - SAME but using PL/SQL function ), but at least make it work.
    Thanks/Ilya

    Thanks, Olivier. That may help me in future and shows me where I can edit some of the HTML code (though I've no experience yet of even reading HTML or Javascript, let alone editing it!).
    The web page I'm trying to edit has a URL of https://....../sap/bc/gui/sap/its/bbpstart which fits your example but the templates under service BBPSTART seem to bear no resemblance to the screen I need. The code under services BBPSC01 and BBPSC02 looks more relevant but still doesn't refer to the screen input field that I'm looking to edit.
    Doing View Source on the web-page dumps the (very lengthy) generated code. Extracted from the header of that code-dump is...
    This page was created by the SAP Integrated ITS, WebAS: SRA, workprocess: 0
    Template: bbpsc02/99/saplbbp_sc_ui_its_2000.html
    Does that point me to the actual editable source?
    (I am using SE80 in the SRA system.)
    I wrote the above on 3rd Jan but was unable to post it.
    Since then I have found template SAPLBBP_SC_UI_ITS 2000 in service BBPSC01 does bear a resemblance to the displayed page code but as a scanty framework. The generated code has vastly more lines. I can't yet see how the template becomes the web page and where all the addditional lines of code come from and are edited.

  • How to transport code on this page to an applet?

    Hi friends..
    the following page has a program to capture images from a web-cam.. can u help me how to transport that code into an applet. So that i can import that applet into an html page, where the live video can be streamed.
    the link is :- http://forum.java.sun.com/thread.jspa?threadID=247253&start=0&tstart=0
    i tried this code..but on html page the applet is not being initialised. though compiling is giving no error. please help.
    import javax.swing.*;
    import javax.swing.event.*;
    import java.io.*;
    import javax.media.*;
    import javax.media.format.*;
    import javax.media.util.*;
    import javax.media.control.*;
    import javax.media.protocol.*;
    import java.util.*;
    import java.awt.*;
    import java.awt.image.*;
    import java.awt.event.*;
    import java.applet.*;
    import com.sun.image.codec.jpeg.*;
    public class applet extends JApplet{
       static final int    WIDTH  = 320;
        static final int    HEIGHT = 320;
        //public intoApplet d = null;
        public static void main(String args[]){
             JFrame frame = new JFrame("Code Converter");
             applet a = new applet();
             a.init();
             frame.getContentPane().add(a);
             frame.setSize(WIDTH, HEIGHT);
             frame.setVisible(true);
        public void init() {
          System.out.println("Applet initializing");
          intoApplet d = new intoApplet();
          getContentPane().add(d);
        public void start() {
            System.out.println("Applet starting");
        public void stop() {
            System.out.println("Applet stopping");
        public void destroy() {
            System.out.println("Applet destroyed");
    public class intoApplet extends JPanel //implements ActionListener
      public Player player = null;
      public CaptureDeviceInfo di = null;
      public MediaLocator ml = null;
      public JButton capture = null;
      public Buffer buf = null;
      public Image img = null;
      public VideoFormat vf = null;
      public BufferToImage btoi = null;
      //public ImagePanel imgpanel = null;
      public intoApplet()
           System.out.print("into swing...");
        setLayout(new BorderLayout());
        setSize(320,320);
        String str1 = "vfw:Logitech USB Video Camera:0";
        String str2 = "vfw:Microsoft WDM Image Capture (Win32):0";
        di = CaptureDeviceManager.getDevice(str2);
        //ml = di.getLocator();
        ml = new MediaLocator("vfw://0");
        try
          player = Manager.createRealizedPlayer(ml);
          player.start();
          Component comp;
          if ((comp = player.getVisualComponent()) != null)
            add(comp,BorderLayout.NORTH);
          //add(capture,BorderLayout.CENTER);
          //add(imgpanel,BorderLayout.SOUTH);
        catch (Exception e)
          e.printStackTrace();
    public void playerclose()
        player.close();
        player.deallocate();
    }

    i tried this code..but on html page the applet isnot
    being initialised. And what error do you get? Look at the Java console.Java Console shows no error..
    when i run the applet class on console by java applet the frame comes and works fine.. but when i do that thru html page..the appl;et is not getting displayed..
    code of html page is:-
    <HTML>
    <HEAD> <TITLE> Hello World</TITLE>
    <BODY>
    This is the applet to check swing component import:<P>
    <APPLET
    CODE = "applet.class"
    WIDTH = "320" HEIGHT = "320"
    >
    </APPLET>
    </BODY>
    </HTML>
    applet.class is placed on same directory as that of html page.

  • How to transport code on this page to applet?

    Hi friends..
    the following page has a program to capture images from a web-cam.. can u help me how to transport that code into an applet. So that i can import that applet into an html page, where the live video can be streamed.
    the link is :- http://forum.java.sun.com/thread.jspa?threadID=247253&start=0&tstart=0
    i tried this code. but on html page the code is not being initialized, though the program is getting compiled correctly.
    import javax.swing.*;
    import javax.swing.event.*;
    import java.io.*;
    import javax.media.*;
    import javax.media.format.*;
    import javax.media.util.*;
    import javax.media.control.*;
    import javax.media.protocol.*;
    import java.util.*;
    import java.awt.*;
    import java.awt.image.*;
    import java.awt.event.*;
    import java.applet.*;
    import com.sun.image.codec.jpeg.*;
    public class applet extends JApplet{
       static final int    WIDTH  = 320;
        static final int    HEIGHT = 320;
        //public intoApplet d = null;
        public static void main(String args[]){
             JFrame frame = new JFrame("Code Converter");
             applet a = new applet();
             a.init();
             frame.getContentPane().add(a);
             frame.setSize(WIDTH, HEIGHT);
             frame.setVisible(true);
        public void init() {
          System.out.println("Applet initializing");
          intoApplet d = new intoApplet();
          getContentPane().add(d);
        public void start() {
            System.out.println("Applet starting");
        public void stop() {
            System.out.println("Applet stopping");
        public void destroy() {
            System.out.println("Applet destroyed");
    public class intoApplet extends JPanel //implements ActionListener
      public Player player = null;
      public CaptureDeviceInfo di = null;
      public MediaLocator ml = null;
      public JButton capture = null;
      public Buffer buf = null;
      public Image img = null;
      public VideoFormat vf = null;
      public BufferToImage btoi = null;
      //public ImagePanel imgpanel = null;
      public intoApplet()
           System.out.print("into swing...");
        setLayout(new BorderLayout());
        setSize(320,320);
        String str1 = "vfw:Logitech USB Video Camera:0";
        String str2 = "vfw:Microsoft WDM Image Capture (Win32):0";
        di = CaptureDeviceManager.getDevice(str2);
        //ml = di.getLocator();
        ml = new MediaLocator("vfw://0");
        try
          player = Manager.createRealizedPlayer(ml);
          player.start();
          Component comp;
          if ((comp = player.getVisualComponent()) != null)
            add(comp,BorderLayout.NORTH);
          //add(capture,BorderLayout.CENTER);
          //add(imgpanel,BorderLayout.SOUTH);
        catch (Exception e)
          e.printStackTrace();
    public void playerclose()
        player.close();
        player.deallocate();
    }

    i tried this code..but on html page the applet isnot
    being initialised. And what error do you get? Look at the Java console.Java Console shows no error..
    when i run the applet class on console by java applet the frame comes and works fine.. but when i do that thru html page..the appl;et is not getting displayed..
    code of html page is:-
    <HTML>
    <HEAD> <TITLE> Hello World</TITLE>
    <BODY>
    This is the applet to check swing component import:<P>
    <APPLET
    CODE = "applet.class"
    WIDTH = "320" HEIGHT = "320"
    >
    </APPLET>
    </BODY>
    </HTML>
    applet.class is placed on same directory as that of html page.

Maybe you are looking for

  • Mail App downloading incomplete attachments

    Hi, I've been having an issue with the mail app in Mavericks. Sometimes, when downoading an attachment in an email it shows it as downloaded, but when i try to open it it says the file cannot be openned because it may be damaged. The file size showed

  • Blocking Ad servers via etc/host file not working

    In Snow Leopard I add a list of ad servers and direct them to 127.0.0.1 via the /ect/host file. I've configured the host file on my mac mini server and it doesn't work. i just want to block ads when using browsers ON the Mini. How can I achieve this?

  • Flashback transaction query output

    Hi there, Here is my small demo. C:\Documents and Settings\Aman>net start oracleserviceorcl The OracleServiceORCL service is starting............................. The OracleServiceORCL service was started successfully. C:\Documents and Settings\Aman>

  • Schedule agreement by target qty

    Is there a way to set up Schedule Agreements by Target qty verses by validity date?  We are using LPA (SA's with JIT/FRC) and would like the schedule agreement to stop generating schedule lines based on the Target Qty set up in the Schedule Agreement

  • External URL in Gateway Space

    I have a portlet that does a Response.Redirect to another address within our domain. However, when the user accesses it. It is not in the Gateway space. How can I add this URL so that it resides in the Gateway Space?