Explorer Not Passing Referer
Aug 29, 2009I have a redirection... Code:
var url='http://mydomain.com';
window.location=url;
but unlike other browsers Explorer is not showing any referrer after such redirection. Is there any work-around?
I have a redirection... Code:
var url='http://mydomain.com';
window.location=url;
but unlike other browsers Explorer is not showing any referrer after such redirection. Is there any work-around?
when I load a new page with location.href, ie doesn't set the http
referer header while firefox&mozilla does...
I tried the click() method on a hidden link, this times it works on ie,
but firefox says that click is not a function
[...
<a id="ref" href.......>...</a>
....
document.getElementById("ref").click();
....]
Is there any method which I can set this header manualy or make ie set
it properly? Or any other idea?
I'm trying to list to a html page where the referer is, There are a lot of
ways ive tried and work, but the problem if my mainpage uses frames, and no
matter where I do the referer check it just reports the website url, does
anyone know a cure or workaround other than trashing the frames?
I need to say something like:
http://www.blahblahblah.com?r=document.referer
but obviously it isn't that easy, could anyone help me w/ the syntax on this one?
I need to be able to get the HTTP-REFERER of an HTML page. Is it possible to do it with a JavaScript applet included in the page itself?
View 1 Replies View RelatedI build a website who can monitor other website's visitors and build
some reports.
I use PHP/MySQL and Javascript.
I am stucked at the point when I have to get the page where the visitor
came from and also the keywords, if the visit was referred by a search
engine.
The second task I kinda have it done IF i will get the referrer string.
I get always 'undefined' or current website's address.
I use a .js file to get the screen resolutions, color, cpu etc.
I have tested it both online and offline.
I have a pages with list of sites and when I click on links to other domains, the other domains will see the referer where I clicked from. How can I avoid the referer when clickin on links on my page? (I don't want to click new IE browser and paste the url).
View 3 Replies View RelatedI'm passing the variables myTitle and myLink to form.php using javascript.
This is the way I'm doing it:
Code:
<a href='form.php?title=" + myTitle +"&link="+myLink+">Click me</a>
It's working great but sometimes myTitle and myLink contain the plus character (+). When this happens it's not passed. In the case of the title, it's just a problem of looks but in the case of the link, well, the link won't work without the character.
As an example if the title is: Laptop + Accessories What is passed is: Laptop Accessories
What can I do to pass also the plus character??
is someone know a good way to show/hide a div in explorer as style.display do not work at all for me. I also try with visibility but then, it doesn't work in Firefox as I still see the scrollbar.
View 1 Replies View Relatedvar totalpoints=0;
for (counter=1;....){
myvalue=parseFloat(document.forms["myform"].elements[counter].value);
totalpoints+=myvalue
//the fields in elements[] are always numbers
}
In Internet Explorer the field numbers are not added while in Mozilla
everything works ok.
I'm having trouble figuring out what's going on with IE6's
Msxml2.XMLHTTP object. I have two feed addresses in this stripped down
version of my code below. Both work fine in Firefox (using the
XMLHttpRequest object), but only the thinkgeek one works in IE. In the
processFeed function, it shows the problem - the first alert shows 0
for the wikihow feed in IE, though it can still display the
responseText. Any insight? Code:
How does one find the value of a drop down in Internet Explorer?
The form below works in Firefox and Safari. But not in Internet
Explorer. Can someone tell me how to code this so IE understands it?
<script language="javascript">
function copyDescription() {
document.myForm.Description.value=document.myForm. MakeDescription.value
}
</script>
<form name="myForm" id="myForm">
<SELECT name="MakeDescription" onChange="copyDescription();">
<OPTION selected value="">Choose</OPTION>
<OPTION>A</OPTION>
<OPTION>B</OPTION>
<OPTION>C</OPTION>
</SELECT>
<br /><br />
<input name="Description" id="Description" type="text" />
</form>
i want to run a bit of js not in ie but in all others within some js i'm doing.is this the way to do it? (got this from o'reilly's js;definitive guide book):
Code:
/*@cc_on
@if( @_jscript )
; // nothing for internet explorer[code]....
how should braces be in that, if they should at all? i mean if i wanted multiple lines of js code in the either non-ie or ie blocks how and where would {}'s go?also does that work for ie8?
When Internet Explorer 5.01 for Windows hits the regular expression:
/(?=<)|>/
it complains about an unexpected quantifier. In fact, it seems to complain whenever I use a lookahead expression. Is there any way around this?
my site seems to be working perfectly on firefox but when I access it on internet explorer everything loads fine but there is a yellow marker on the status bar of IE saying there are errors on the page. I copied the source into dreamweaver to check for browser specefic bugs but the only bugs that came up were that in Netscape. So any idea why this is happening? The link to my site is in my profile.
View 6 Replies View RelatedHow can I set 'frameborder' attribute in ie? I tried this but didn't work:
var foo = document.createElement("iframe");
document.body.appendChild(foo);
foo.setAttribute('frameborder',Ɔ');
I am having trouble with Internet Explorer AGAIN.How do you use the setTimeout for it?This is what I am using and it is working on all of the other browser:Code:setTimeout("growContact(" + (height+20) + ")", 0);
View 1 Replies View RelatedThis script works fine in Firefox, but not in Explorer 9. Any suggestions?
Code:*/ var HOST_PATH = "http://www.annadelcapital.com/AnnadelCapitalDev/"; //Site Host Path $(document).ready(function () { playerInit(); //Play the image and then play the videolist
[Code]...
I have a drop down that populates based on selection. It is php and mysql and ajax. Now its all working great in firefox and safari without any problems, so I know the server side of things is fine, its the browser side that must be the issue here, so has to be js.
My ajax file is below, I dont know much at all about ajax, Just need this to work in internet explorer.
Code:
function get_XmlHttp() {
var xmlHttp = null;
if(window.XMLHttpRequest) {
[Code].....
I have a new (XP) version of IE, but when I click on links that are
javascript they do not seem to work and suggestings?
I have a problem, and maybe someone knows the solution.
Context :
- Browser : IE 6.0
- Application server : Livewire Pro
- Client OS : Windows 98 SE
- Server OS : NT4
- I have a frameset, including several pages, but only one will be
used for the example.
--------
| a |
--------
| b |
--------
- a form on the main page (a.html i.e.)
- a data is manually typed, then I submit the form => the action will
redirect to a new page (c.html)
- on this new page, I do a history.go(-1), so I'm back on the a.html
page, and the data is still there (it's ok)
- cache parameters : "check on every page visited"
Problem :
- From the main page, if a popup gives the data to the form, so after
the submit and the history.go(-1), the form contains NO data !!!
So, the data is lost when the data input is not made by hand.
I have no troubles with Netscape/Mozilla, but only with IE.
Maybe someone would have an idea ?
I have a radiobutton group in HTML in a form:
Sex: <input type="radio" name="Sex" value="male">Male
<input type="radio" name="Sex" value="female">Female
<input type="radio" name="Sex" value="unknown">Unknown<br>
When I call document.forms[0].elements['Sex'].type I don't get "radio" but
"undefined" instead.
For all other kinds ("text", "textarea", ... etc) of input fields the type
is returning a correct string.
It only seems to happen with Internet Explorer (using version 6).
What am I doing wrong?
I've developed a calendar program in javascript, and up until now I've
done most of my testing using Mozilla and Firefox. Everything works
fine, but when I try to use Internet Explorer my response time is
sometimes 50 times slower than using Mozilla.
I know I haven't given you much to go by, but I'm not looking for an
answer so much as an approach to debugging the problem. For example,
does anyone here know of a good web site which deals with
browser-specific javascript performance issues?
I'm using offset values to find the x,y position of an iframe on an
html page. The code works in all browsers except in Mac explorer 5.x.
Does anybody have any ideas how to get around this?? Thanks. My code
is below, assuming myFrame is the iframe in question, offsetLeft is the
x coordinate, offsetTop is the y coordinate. For some reason,
offsetParent for the iframe on Mac Explorer is always undefined. Even
stranger, this is only the case for iframe elements. When dealing with
other elements in Mac Explorer 5.x, the code below works fine....
I was wondering if anyone know if (and how) it is possible to make an
html/css/js area on a webpage where you can select items by clicking in the
upper left, draggin the cursor to the lower right, leaving element in
between selected in a way a form can post? Exactly the same way as you
select a number of icons in the explorer or on your desktop.
Imagine an imagegallery with a list of thumbnails, I would like to let the
user mark a number of images and only view these selected ones. Preferably
it should work with the ctrl- and shift-button as well, but thats a minor
detail. As I can se, drag and drop of elements is possible (ex.
netvibes.com), but I have never seen any select-solution that works as in
your explorer. I'm sure it could be done in flash or java, but i'd rather
keep it in pure html/css/js.
I am wondering if there is any way to write a VBScript macro for IE,
just like the action that we can do in MS Excel (Tools -> Macro ->
Visual Basic Editor).
Also, I believe we can automate actions to IE pages using VBScript,
like when you right click a web page and choose "Export to Microsoft
Excel". But I have no idea how to get it.