-
Notifications
You must be signed in to change notification settings - Fork 71
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adds QueryString to the html page title on IE #54
Comments
Could you please create a plunker I can look at ? |
http://plnkr.co/MS2RssJECvPnscv8kwax -- the issue doesn't show when using plunker - i think it adds the page url to its title . |
what IE version ? |
Version: 11.0.9600.17416 - plus try any site that uses this feature and notice its title . thanks |
Did this get fixed ? I am also facing the same issue on IE. |
This is a known issue with IE and Flash. function handleIETitle() {
var originalTitle = document.title.split('#')[0];
window.onload = function () {
var titleEl = document.getElementsByTagName('title')[0];
var docEl = document.documentElement;
if (docEl && docEl.addEventListener) {
docEl.addEventListener('DOMSubtreeModified', function (evt) {
var t = evt.target;
if (t === titleEl || (t.parentNode && t.parentNode === titleEl)) {
if (document.title !== originalTitle) {
document.title = originalTitle;
}
}
}, false);
} else {
document.onpropertychange = function () {
if (window.event.propertyName === 'title') {
if (document.title !== originalTitle) {
document.title = originalTitle;
}
}
};
}
};
} |
Once navigated to the page with clip-copy directive used in, the page title will become
Assigned pagetitle Plus (htmlpagetitle#/htmlpagename/session id)and stays that way , the zeroclipboard version is v2.1.6 .
The text was updated successfully, but these errors were encountered: