a tale of two javascripts

Discussion in 'Software' started by CatT, Jun 27, 2011.

  1. CatT

    CatT I can't follow the rules

    OK, this just about boils down my "click" problem to its basics. the link "after mail in rebate" next to the price HERE will not expand in ANY browser, no matter how hard i try.

    by contrast, the one HERE does just fine, even in my buggy IE (and the PDF link found within works fine too!).

    what is the material diff between those two links?
     
  2. CatT

    CatT I can't follow the rules

    can everyone else see that first link no problem? i HONESTLY can't understand why something so simple can fail so miserably in all 3 browsers. from what i can tell my JRE is up to date.

    in any case, would someone be so kind as to post the details here for those 2-3 lines hidden inside that link? in particular, the URL it lists for the PDF it contains (seeing as they have the WRONG one elsewhere).

    TIA!
     
  3. CatT

    CatT I can't follow the rules

    source code for the link in question:

    <dl id="synRebate" class="itmAddl accordion folded">
    <dt class="title"><a rel="accordion" href="javascript:void(0);" onclick="Biz.Product.Product2010.switchMIR()"><em>$9.99</em> after mail-in rebate </a></dt>

    </dl>​

    so, what represents the info "hidden" inside the accordion? i am looking for some text line simply stating there's a $5 rebate...plus giving a link for a PDF.

    i know what both the good PDF and the bad PDF are named, and neither of them are found anywhere in this source file! so obviously it is calling in outside info via subroutines/links/etc.

    WHICH of the various terms up there (accordion? itmAddl? Biz.Product.Product....?) represents a "variable", i.e., one defined elsewhere with the string (text) in question?

    i could figure this out on my own -- eventually -- but right now i just wanna wrap this up before the dang thing SELLS OUT again! couldn't some kind soul pullllllease just cut/paste the line or two found there?!

    PRETTY PLEASE?!

    http://www.newegg.com/Product/Product.aspx?Item=N82E16820233037

    whatever's under (inside) "$9.99 after mail-in rebate".

    TIA!

    i'll worry about the "java" issues later.
     
    Last edited: Jun 28, 2011
  4. thesmokingun

    thesmokingun MajorGeek

  5. plodr

    plodr MajorGeek Super Extraordinaire Moderator Staff Member

    Can you see this?
    Code:
    http://www.newegg.com/Product/ImageGallery.aspx?CurImage=20-233-037-05.jpg&Image=20-233-037-02.jpg%2c20-233-037-05.jpg&S7ImageFlag=0&WaterMark=1&Item=N82E16820233037&Depa=0&Description=CORSAIR%20Flash%20Voyager%208GB%20USB%202.0%20Flash%20Drive%20Model%20CMFUSB2.0-8GB
    ?
    XP all patches and running FF 5.0
     
  6. CatT

    CatT I can't follow the rules

    if that is supposed to be an actual link, it isn't on my end. but cut/pasting it, i can see the image just fine...if that's what you mean. my probs all seem to be "javascript" related. certain links just won't react/expand.

    today i'm back on wifi and all my "IE can't display page", "HTML totally garbled" issues (other thread) are suddenly gone(!)...but these dead javascript links live on.

    the source code for the two javascript links i cited in the OP looked exactly the same to me. which why i wanted some expert eyes to have a look. alas, but one has now disappeared, being time (rebate) related. i'll try again when i get another "works"/"doesn't work" pair.

    tx to smoking gun for PDF details. as it turns out, my opera DID display it, after a reinstall!

    for those keeping score:

    IE -- neither netzero inbox link nor rebate link in OP works
    FF -- netzero inbox link works post-reinstall/upgrade; rebate link still hopeless
    Opera -- both links work post-reinstall/upgrade

    in other words, IE - 0, FF 1/2, Opera 1.

    :(
     
  7. CatT

    CatT I can't follow the rules

    i checked all the various "javascript...enable" type entries, i "restore[d] advanced settings" in IE9, i even did "reset to original settings", to no avail. my netzero inbox link just won't respond. and a few links like this rebate one here.

    finally i rolled back IE9 to IE8 -- expecting great shakes -- but these links STILL won't respond! mind you, they work fine in Opera and now FF (post reinstall). they even worked in IE9 for a day or two in the beginning.

    had a techie take a look in person; he was dumbfounded except to point out that all the OTHER links inside NZ were also dead. "obviously a scripting issue" he said..."which a reinstall will fix".

    famous last words. he also said the roll back to IE8 should itself fix them, and that didn't.

    NZ has emailed me, btw, stating clearly that IE9 is supported. a fact i witnessed myself for a day or two in the beginning, but now i am beginning to wonder!

    WHAT ELSE CAN IT BE?!

    i'm ready to re-update to IE9, but at this point my expectations are zero.
     
  8. mjnc

    mjnc MajorGeek

    Did you also do a Reset in IE8? Probably worth a try.

    I could be WAY off on this, but was just thinking, if you have some security stuff installed that
    blocks connecting to certain addresses and the script is attempting to connect to one of the blocked
    addresses, then you'd probably get nothing!

    Don't know if that's valid, but if so, it could be your HOSTS file or some security app that applies site blocking.
     
  9. CatT

    CatT I can't follow the rules

    i had not, but just now i gave it a try. "restore advanced settings" -- no effect on javascript links or anything else that i could see; "reset to original settings" -- no effect on javascript links; some minor effects on toolbars, etc...and an inexplicable splash "Thank you for installing Enhanced IE9" upon reboot. (i most certainly did NOT, and help>>about IE still shows 8.0!!)

    :confused

    btw, i have that yellow exclamation point/error sign down in my status bar most of the time i am in netzero. i have long since gotten used to it b/c it has displayed for years -- even when the links work fine -- but what might it be indicative of?


    that was my original thought (other thread), but i turned off my AV, my firewall, all that UAC stuff, and pulled down every privacy/security slider to zero, yet i STILL couldn't click on these.

    netzero.net itself seems ok, but those links are supposed to send me to "webmaila.netzero.net/...", "webmailb.netzero.net/..." etc., so it could be possible, i suppose, that THOSE are on a "blocked" list somewhere. where do i look?

    i see 3 "hosts" files on my system, but they're all more-or-less EMPTY. a dozen lines of comments about how the file should contain mappings of IP addys to host names, but no actual entries past the comments block.

    firewall settings has a list of blocked programs but nothing about blocked websites or hosts or w/e. and it's turned off atm aniwes. as are AV and AS.

    where exactly should i be looking?

    barring that, can u -- or anyone else -- understand basic javascript if i post the source code for the NZ links? i tried w the rebate links (below) but got no takers.

    maybe there's something obvious in there which would jump out at a seasoned eye.
     
    Last edited: Jul 8, 2011
  10. CatT

    CatT I can't follow the rules

    OMG, i just noticed that if i click on "compatibility view", the error sign goes away and it DOES indeed OPEN MY INBOX!!!! ditto "check email" "compose" "folders" etc etc links!!!!

    WOW. first time in 3+ weeks!

    so what does this MEAN? that NZ is ultimately "incompatible" w IE8, much less IE9 (despite company claims)? i've never had to use "compatibility view" before, actually, and the old PC was also IE8.

    in fact (as mentioned), i didn't have to use it my first couple of days w IE9 either.

    i guess i'm stuck with it for the immediate future. SLOW AS MOLASSES, tho -- i may be sticking with opera.
     
  11. mjnc

    mjnc MajorGeek

    That sounds extreme to me and I doubt that anyone here would recommend disabling the Firewall and Antivirus as a fix.
    Maybe temporarily to troubleshoot, but not permanently.
    Leaving yourself wide open to attack, to me, just sounds like a recipe for bigger troubles.

    If you know the address that you are trying to get to, try entering the address directly in the browser address bar.
    If you get to the page, then its Not being blocked.

    I was thinking of something like Spybot or Spywareblaster, but if those are legitimate address,
    IMO, it is highly unlikely that they would be blocked.
    Since you aren't having any success, I just thought I'd throw in a suggestion.

    I don't know enough about javascript to offer any help with that.

    As far as the rebate information and form is concerned, you should be able to get that from the manufacturers web site.

    If you haven't done any malware scans lately, that would be another avenue to explore.

    Here are two online scans that I have used:
    http://housecall.trendmicro.com/
    click the Getting Started tab for instructions.

    http://www.f-secure.com/en_US/security/security-lab/tools-and-services/online-scanner/index.html
    The initial download can take a while, so be patient.

    EDIT:
    Just saw you compatibility view post.
    Thought this was a bigger problem:
    Glad you got it fixed!!
    Hope it sticks.
    Get your security apps. back in place and up to date.
     
    Last edited: Jul 8, 2011
  12. CatT

    CatT I can't follow the rules

    frankly, i'm lost. now everything is working even with compatibility view OFF! like that brief 2 mins that i had it on somehow kickstarted it for good.

    and the SPEED is back up to boot!! (seeing as compatibility view is OFF, i suppose)

    i should note that the error msg/exclamation point is BACK, tho. apparently that DIDN'T get "kickstarted" away, and still needs compatibility view to go away. oh well -- as long as everything else works, i don't care. error msg/working links is the combo i was used to for years and years on t'other pc.

    anyway, thanks to everyone who helped. this issue is more-or-less "closed", i guess.

    :-D

    (unless anyone wants to posit a THEORY as to what the heck has transpired here....)
     
    Last edited: Jul 8, 2011
  13. Norgates

    Norgates Corporal

    It's a microsoft phenomenon. Ever since XP was introduced, computers have given the appearance that they are sometimes able to fix some things themselves. I believe it's related to the cat-in-the-box experiment:

    http://en.wikipedia.org/wiki/Schrödinger's_cat

    :)
     
  14. CatT

    CatT I can't follow the rules

    that damn cat ate my heisenburger!

    :mad
     
  15. CatT

    CatT I can't follow the rules

    OK, i'm at wit's end. i have just spent 3 days trying to open *one* hotmail folder, and, frankly, i'm going to lose a certain rebate b/c the deadline looms. (allotted 3 weeks to read my email, but i guess that was too rosy!)

    isn't there ONE javascript expert around here?!

    while NZ/Hotmail briefly rebounded using "compatibility view", i don't even HAVE that icon since reinstalling IE9. and my URL bar is over to the LEFT -- is that indicative of something?

    that is, i have a URL bar spanning abt 1/3 of the screen, then TABS for each of the windows that are open. in better times (and when i last saw "compatibility mode") the url bar appeared a line down, and "inside" of the open tab, i believe. basically spanning the whole screen.

    "compatibility view" is greyed out under "tools", altho there IS a "compatibility view SETTINGS", which offers "add website". well, i tried adding NZ, Hotmail, etc., by hand, but even so, no icon appears and the pulldown version remains greyed out.

    things are no better in opera or firefox.

    NZ still going fine in all 3, btw. now it's HOTMAIL which has become totally useless! :(
     
  16. satrow

    satrow Major Geek Extraordinaire

    Have you tried accessing Hotmail from a different computer?
     
  17. CatT

    CatT I can't follow the rules

    altho i cannot see the screen enuf to DO anything (like this rebate stuff), i can make out just enough to confirm that hotmail works JUST FINE from my dead (display probs) pc.

    i'm confused mainly by these conflicting layouts. does either of the scenarios i described sound like IE8, say? even back then i recall the compatibility icon being front and center!

    i still suspect it has something to do w "security". seems to me it's evey time i see "https" things go dead on me. but at least with that COMPATIBILITY VIEW button i could kludge my way around it....
     

MajorGeeks.Com Menu

Downloads All In One Tweaks \ Android \ Anti-Malware \ Anti-Virus \ Appearance \ Backup \ Browsers \ CD\DVD\Blu-Ray \ Covert Ops \ Drive Utilities \ Drivers \ Graphics \ Internet Tools \ Multimedia \ Networking \ Office Tools \ PC Games \ System Tools \ Mac/Apple/Ipad Downloads

Other News: Top Downloads \ News (Tech) \ Off Base (Other Websites News) \ Way Off Base (Offbeat Stories and Pics)

Social: Facebook \ YouTube \ Twitter \ Tumblr \ Pintrest \ RSS Feeds