Unrelated content is displaying in my webpage - safari

I am using Safari MAC system here, some content is displaying in my webpage which is not related to the webpage and I have not placed anything related to this content in the page. And also getting this content in only MAC-Safari browser.
Can someone tell me why I am getting unnecessary content in the webpage in MAC Safarienter image description here.
Thanks
Sateesh

Related

DNN 2sxc blog sharing parent page's meta title and description

We are having a problem with Facebook share not showing the correct picture, meta title and description.
Ex. something.com/blog/post/examplePostName/ is showing meta title and description of the something.com/blog/ parent page.
When we view the source for each of these two pages everything looks correct meta, og:graph, twitter card, but the sharer on the page (AddThis) is still not pulling the right stuff.
When we tried it out on the Facebook debugger page it is showing the correct meta, but sharing from the page (by clicking on AddThis) is still pulling the parent page meta.
Did anyone have this issue?
Could it be that we missed something in the blog app settings?
We figured this out.
We had a serverside script in our default.aspx file writing the canonical links. That was causing the issue. As soon as it was removed the facebook sharer was working fine. Great blog module!

How do I render a PDF from HTML with working named anchors?

Is there a way for a bunch of named anchors in a large html to be clickable within a PhantomJs generated PDF file?
I.e. say I have a table of contents or a list of FAQ questions. When clicking on the question/title - I'm taken to its answer/content within the same HTML file which is great but when the same HTML is rendered into a PDF each named anchor becomes an absolute URL (i.e. http://example.com/render.html#anchor_1) so clicking on it opens a browser with that URL instead of jumping to its content within the PDF file.
So, basically, is it possible (and how?) for a markup like this - https://fiddle.jshell.net/jyjuaaog/ to work within the generated PDF?
BTW, this works great when "printing as a PDF file" in Google Chrome but links end up broken when rendered in PhantomJs so there must be something I'm missing that I can't seem to find in the docs.
Any ideas?
Thanks!
Apparently there's a bug in PhantomJs preventing this. As suggested by PhantomJsCloud a quick-and-dirty workaround would be to replace the links with page links.

IE11 issue with Embedded PDF

I have an HTML page that loads an embedded pdf on the page dynamically via an ajax call.
The below iframe code is pasted onto the Html page from the ajax method
<iframe src="${pdfpath}" width="1000" height="500">
It works well the first time it is called, however in subsequent calls there is an issue. The PDF loads fine, its the other contents on the page that disappears. This issue only happens in IE11, works fine in Chrome, Firefox and even IE9.
One thing odd I noticed is, when I open up the F12 developer tools, the remaining contents of the page appears again. Keep in mind that these contents have already been loaded the first time the page was loaded, the ajax method just inserts the iframe element onto the html page.
Below is a sample of how the ajax method inserts the data
$("#pdfDiv").empty().html(data);
Any help is appreciated on how to resolve this issue.
Thanks.
I was able to resolve this issue by replacing the iframe element with an object element
<object data="${pdfpath}" type="application/pdf">
<embed src="${pdfpath}" type="application/pdf" />
</object>
Thanks.
Since internet explorer 11 came up, everyone seems to have troubles when wanting to display or download pdf files, and me too. Personnaly, i just stopped using pdf. But, here is something for you, i don't know if it will help :
http://answers.microsoft.com/en-us/ie/forum/ie11-windows_7/internet-explorer-11-windows-7-pdf-files-will-not/3882b9cb-05ff-45de-acc6-0f6b8b752ed6?auth=1

display html in xaml

I wasted few hours for looking the answer and I'm very sad cause I didn't find anything usefull. I have a CMS in cloud and it provides content for diffrent devices like www site and my new windows store application.
I want to use html formating. I've already created app in c# and xaml and I'm wondering how can I display html
I was happy cause I found http://nuget.org/packages/RichTextBlock.Html2Xaml but I can't make it work. I get blank page. No text, no error, no nothing.
Can someone pls tell me how can I display html in my app ?
Use a WebView/WebViewBrush or use HTML Agility Pack and implement the styles/rendering yourself.
In WinRt app you can display html code by some ways:
Using WebView with it's NavigateToString("html content")
Using WebViewBrush and displaying it in rectangle
If you had your .html file local - you can open it with myWebview.Navigate(new Uri("ms-appx-web:///" + myPath));
You can make a screenshot of webpage by the method wich I describe here and open it as a picture.
For more info, see the WebView control sample

Asp.net MVC4, Mobile Safari, iFrame - add link to each page of a multi-page pdf document

While http://www.example.com/my.pdf#pageX works on the iPad to open the page "X", this does not work while the pdf is embedded in an iFrame. Has any of you has a solution how to link to a specific page of a pdf document in an iFrame on the iPad, or a similar solution that will show a specific page of a pdf document within an html page?
I have been looking for a solution for months now and have not come across the solution yet. Tried google doc viewer and tried to go to a specific page using almost all the solutions posted on the web (http://stackoverflow.com/questions/12290148/link-to-specific-page-on-google-document-viewer-on-ipad) but those solutions seem dated and do not work.
Any help is appreciated.