Internet Explorer Button simple behavior needs enabling ActiveX controls? - html

I have a button whose text color changes when the mouse is over it.
The HTML is :
<a href="products.html" style="text-decoration:none">
<div
class="button"
onmouseover="this.style.color='black'"
onmouseout="this.style.color='#666666'"><div class="menu_text">Products</div></div></a>
The thing is when I opened the page in IE8 , IE8 says:
To protect your security IE8 has restricted this page from running scripts or ActiveX controls that could access your computer.
in the information bar.
I click on options and allow blocked content.
Then it works fine.
Fancybox and GalleryView Plugins that I've included in my pages also are seen only when blocked content is allowed.
Is there a way to fix this?
I find that such an issue does not show here in the navigation bar buttons(home,random,about...). Why so?

By default IE blocks scripts when running websites locally - that is, from local file system. The warning should not appear when running on the server or on localhost.
See here: How do you avoid the drop-down ActiveX warning in IE7 and IE8?

Related

HTML Image tag is not working in Windows Box

i am working on html page, so i am including image in that page using img tag.
<img src="file:///C:/wamp/www/images/Sat.png" class="img-circle" alt="User Image"/>
But its not working !!!
In your case details about your environment (like your browser, server and operating system) can become really necessary to help and solve your problem.
To your current issue I predict that you used the Firefox or Chrome browser. In this case you should know that both browsers preventing and blocking access to your local files.
To access you should disabling the security check of your browser!
Here are the steps (found on Jonathan Li's Blog):
Safari
Enable develop-menu (Preferences -> Advanced -> "Show develop menu in menu bar")
Click "Develop" in the menubar
Select "Disable local file restrictions"
Firefox
Enter "about:config" in your adress-bar and accept.
Find "security.fileuri.strict_origin_policy" parameter
Set the value to false
Chorme
Start your Chrome (or create a shourtcut for it) with the following arguments, like:
C:\PATH-TO-YOUR-CHROME-INSTALL\chrome.exe --allow-file-access-from-files

Link of a PDF not working in Mozilla but works in Chrome

I made a button for a PDF download that is working well in Chrome but it doesn´t open in Mozilla.
This is the code I used:
<a target="_blank" href="http://gerster.com/docs/posamenten_neuheiten_2014_2.pdf">Jetzt PDF-Katalog herunterladen</a>
What could be wrong?
Note: No error is showing up.
Q Using window.open or "target=" such as blank it doesn´t open in ### Browser
What could be wrong?
It is up to each user to download or permit binary.PDF running in a browser viewport after download, this is especially true after download fron any non trusted site.
OOB many browsers assume they can sandbox the PDF download and then allow as default action review of the PDF file. Chromeium based browsers like Edge may be more inclined to use that before the user improves their security.
So the 1st task for a user should be to switch off Edge auto viewing of PDFs and switch to a more secure setting.
In that case Edge / Chrome and other browsers will NOT auto run the downloaded PDF but ask the user if they wish to View after Download or simply Download.
One of the possible values of that attribute is _blank, which tells the browser to open a new window (or tab, if that’s the user’s preference) when that link is clicked.
This used to be “invalid” in HTML
see A Bad Reason: The link is to a PDF
If you are going to do it, not only do you need the target attribute for the functionality, you need to rel attribute for security.
So do not open yourserver to security issues blacklist or pop-up blocking see https://mathiasbynens.github.io/rel-noopener/
Don’t use target=_blank (or any other target that opens a new navigation context), especially for links in user-generated content, unless you have a good reason

Why doesn't a website display properly in Google Chrome normal mode but displays fine in Incognito mode and all other browsers?

In my end the webpage looks good but in my client's end the page doesn't load properly or just the vertical lines show up without the text and images.
Link to the website : http://www.krishnaprasad.me/Iadmire.html (Inactive now).
The website looks fine in all browsers for my client except Google Chrome that too in normal mode.
I've used Foundation 5 framework for developing this site. If it's an issue with browser's extensions/plugins at my client's side, can I automatically disable that?
Let's start with the easy part: You cannot disable a plugin or extension from within JavaScript (if that's what you meant by automatically disabling). The only way that I know of to disabling those is for the user to actually open the Extensions page in their Browser Settings and manually disable those.
You can, however, detect the presence of problematic plugins or extensions in JavaScript and, for example, redirect the user to another page where you ask them to disable those plugins.
I've taken a look at the page and I found the culprit: One of elements had an id of adcontent, which I am guessing is black-listed by either Chrome or one of the plugins.
I believe that if you could change that id to something else, and adjust the CSS appropriately, the issue should be fixed.

Silverlight Display Mixed Content crashes IE

So, I have an HTML page that includes a Silverlight xap file which plays a video. It works correctly while running locally and on our DEV environment when using Chrome or FF. The issue is when I am trying to view the video on our DEV environment using Internet Explorer. When doing so, it prompts me to Display Mixed Content. Whether I hit Yes or No, the browser crashes. I am able to go into my options and Enable Display Mixed Content, which fixes the issue and the video shows up correctly on the DEV environment using IE. But, this is not a good solution for a client facing site. Is there a way around this message to prevent it from crashing the browser?
A workaround for this is to use JavaScript to open the HTML page that contains the video in a new window. The user will still be prompted to Display Mixed Content, but it will not crash the browser and the video will play.

iPad Full-Screen Mode Allow Browsing

I would like to use apple-mobile-web-app-capable to allow a user to browse a website like a kiosk, without the navigation bar and the page fullscreen.
This works well until a link is clicked, then it opens Safari.
Is there any way to use this fullscreen mode and allow clicking of links without being taken to Safari?
I asked a similar question over on AskDifferent - Hiding URL Bar on iPad.
The answer I received there suggested distributing the web app's configuration file, which allows you to configure many more options. The end-user must agree to the profile installation, but having a controlled device will limit any frustration with this fact. The details of this were linked to in the above answer, but it appears to be broken now.
Alternatively, Chrome has a full screen browser mode that can be taken advantage of. Given a controlled device you could simply use the alternative browser.