Wednesday 15 February 2012

javascript - Custom Google Search Ajax call -


I am using Custom Google Search to get Google content of my searched query.

Displaying some errors in my developer device This error is not affecting the result, the result is visible in my UI but some error is showing.

There are errors

  1. Invalid 'X-frame-options' header to face when loading '' ???? 330 and DT = 1364365747827 and U_WA = 1366 and U_H = 768 and BS = 1366333 and PS = 1366,0 and FRM = 0 # Master-1 ':' Grant 'is not a recognized instruction. The title will be ignored

  2. About insecure JavaScript Try to reach the frame with the URL: Clear the frame with the URL ?? | 330 and DT = 1364365747827 and U_V = 1366 and U_H = 768 & amp; Bs = 1366.333 & amp; Ps = 1366,0 & amp; Frm = 0 # guru-1 Domains, protocols and ports must match.

  3. Invalid 'x-frames-option' header when facing 'loading'? | Search.aspx% 3Fquery% 3Dweb% 2520storage% 2520in% 2520html5% 26type% 3D2 # slave-1-1 ':' Allow 'is not a recognized instruction header will be ignored

    These three errors are visible in my developer tool.

    My code in ASPX page

      & lt; Script src = "https://www.google.com/jsapi" type = "text / javascript" & gt; & Lt; / Script & gt; & Lt; Script & gt; Google.load ('Search', '1'); // Get a custom search control & amp; Place it in cseControl / note /: Place your own custom search id number here; var cseControl = new google.search.CustomSearchControl ('009827885688477640989: igzwimalyta'); // open page with the click of search results on the same page cseControl.setLinkTarget (google.search.Search.LINK_TARGET_SELF); // When there are no matches, tell CCE Control. Set Nosersstress ("Sorry, there is no page in this web site that matches all search terms."); // search field in the div with 'cseDiv' cseControl.draw ('divGoogleResult'); CseControl.execute (userInput); & Lt; / Script & gt;   

    Why is this error showing? How to remove these errors?

    Why is this error showing?

    1. Because Google's code makes some non-standard
    2. Because Google's code tries to do things that are not allowed.
    3. This is similar to 1

      How to remove these errors?

      Google's code (or a service on Google) that service!), You can not

No comments:

Post a Comment