copy text from a page with ajax
I can't be able to copy text from a page that open a ajax window. http://nimb.ws/2W8Grx (normal product tech-info closed) http://nimb.ws/pFDA6x (tech info product page open by click on product name)
Modified
All Replies (14)
Is the problem that you can't select or you can't copy after selecting?
Do you want to give a link to a sample page that causes this problem and describe the steps to replicate the problem?
I'm sorry but it is a protected page (my supplier) If you can send a link for firefox plugin to have video of screen, I can send it to you. My problem is I can't select text
Do any selection methods work? For example:
- swipe with the mouse
- right-click > Select All
- Ctrl+a (Select All)
It's possible to use certain style rules and script commands to block selecting, but I don't know how deeply you want to dive into the page, considering that you may not want to "hack" it.
Is this a new issue in Firefox 64 -- could you select text in Firefox 63?
If you can select text from the page in a different browser, you may need to use that for now.
swipe with the mouse-->doesn't work right-click > Select All-->select all except the text included into ajax Ctrl+a (Select All)-->idem as above this page and select text works with all other browser (chrome, edge, opera)
Is it a framed page-within-a-page? When you right-click the area you want to select, is there a "This Frame" item on the menu? If so, click This Frame to expand the menu and try Open Frame in New Tab. That may launch the framed page into its own tab, or it might give you a message about an invalid request, depending on how the site is set up.
just install Firefox Nightly 66, same issue! isn't a framed page. I can paste the source of page: https://1drv.ms/t/s!AnkbspQIR_C65xQErn5JOpOE_rDh I hope it help
Can you right-click at all on that page (window), so you might be able to open the Inspector?
cor-el said
Can you right-click at all on that page (window), so you might be able to open the Inspector?
yes I can. But I've to copy some part of it and paste to you?
Since the link isn't possible why not try in IE, Edge or Chrome and report do you have the same issues there as well? Doing this kinda diagnosing is very hard when there is no link to go to and test the problem to see if it is really site related or Browser is incompatible with the site itself.
Just install Ubuntu desktop 18.10 with firefox 64.0 for ubuntu: same issue This issue is only with firefox, not on chrome, edge, opera. try to open this document with source code of the webpage: https://www.dropbox.com/s/ce7rsdln6z6s5mn/telepart-source.odt?dl=0
on console I've this: TypeError: r.navWrapper is undefined
function equalHeights(){if($(window).width()>phoneBreakpoint){var n=-1;$("div.twocolumns > .kasten").each(function(){n=n>$(this).outerHeight()?n:$(this).outerHeight()});$("div.twocolumns > .kasten").each(function(){$(this).height(n)});n=-1;$("div.threecolumns > .kasten").each(function(){n=n>$(this).outerHeight()?n:$(this).outerHeight()});$("div.threecolumns > .kasten").each(function(){$(this).height(n)});n=-1;$("div.vorteilsboxen .threecollogobox").each(function(){n=n>$(this).outerHeight()?n:$(this).outerHeight()});n!==-1&&$("div.vorteilsboxen .threecollogobox").css("min-height",n+"px")}}function last_child(){$.browser.msie&&parseInt($.browser.version,10)<=8&&$("body *:last-child").addClass("last-child")}function inittabs(){var n="m";$("ul.tabs").each(function(){var f=this,t,i,r,u;$(this).find("a.tabs").each(function(){$($(this).attr("href")).clone().insertAfter($(this).parent());$($(this).attr("href")).wrap('<li id="'+$(this).attr("href").substring(1)+n+'" class="touchonly acc" />');$(f).find("li.acc > div"+$(this).attr("href")).children().first().unwrap();$(this).parent().next().find("[id]").each(function(){this.id=this.id+n});$(this).parent().next().find("[for]").each(function(){$(this).attr("for",$(this).attr("for")+n)})});$(":input,select,textarea",f).cancelZoom();u=$(this).find("a.tabs");t=u.first();u.first().parent().addClass("active");i=$(t.attr("href"));r=$(t.attr("href")+n);i.addClass("active");r.addClass("active");$("a.tabs",this).click(function(u){t.parent().removeClass("active");i.removeClass("active");($(window).width()>tabBreakpoint||t.attr("href")!==$(this).attr("href"))&&r.removeClass("active");t=$(this);i=$($(this).attr("href"));r=$($(this).attr("href")+n);t.parent().addClass("active");i.addClass("active");r.toggleClass("active");u.preventDefault()})})}function is_touch_device(){return!!("ontouchstart"in window)}function resizeHandler(){var i=new Date,n,t;if(i-lastExec<lastExecThrottle)return timer&&window.clearTimeout(timer),timer=window.setTimeout(resizeHandler,lastExecThrottle),!1;lastExec=i;n=$(window).width();t=$(window).height();(winWidth!==n||winHeight!==t)&&equalHeights();$("table.shop div.generated-pa:visible").each(function(){var n=parseInt($(this).parent().find("a.icon.pricealarmactive, a.icon.pricealarminactive").position().top)+50;$(this).css("top",n+"px")});winWidth=n;winHeight=t}function scrollHandler(){var t=50,i=new Date,n;if(i-scroll_lastExec<scroll_lastExecThrottle)return scroll_timer&&window.clearTimeout(scroll_timer),scroll_timer=window.setTimeout(scrollHandler,scroll_lastExecThrottle),!1;scroll_lastExec=i;n=$(window).scrollTop();n>=t&&$("#mobiletop").css("opacity")=="0"&&$("#mobiletop").css("opacity","0.6");n<t&&$("#mobiletop").css("opacity")!=="0"&&$("#mobiletop").css("opacity","0")}function BindHoverShippingEvent(){$(document).ready(function(){$("body#checkout td.shipping-costs").hover(function(){$(this).find("div.tooltip").toggleClass("show-tooltip")})})}function ChangeAddressData(n,t,i,r,u,f,e){$("#ShippingName1").val(n);$("#ShippingName2").val(t);$("#ShippingName3").val(i);$("#ShippingCity").val(r);$("#ShippingPostalCode").val(u);$("#ShippingStreet").val(f);$("#ShippingCountry").val(e);ReloadMyShippingOptions()}function ReloadMyShippingOptions(){var n=$("#ShippingCountry").val(),t=$("#DeliveryConfirmationAddress").val(),i=!CompareAddress();$("#myShippingOptions").load("CheckoutShippingOptions?country="+n+"&confirmAddr="+t+"&isDifferentAddress="+i);$("#ShippingOption").val("")}function ReloadMyOrder(n,t){$("#ShippingOption").val(n);$("#InvalidShippingOption").hide();var i=$("#myOrder h3#orderHeading").hasClass("open");$("#myOrder").load("CheckoutOrder?costs="+t+"&shippingCountry="+$("#ShippingCountry").val()+"&opened="+i)}function OnSubmit(n){var t="";return($("#ShippingOption").val()==""&&(t=n=="de"?"Bitte wählen Sie eine Versandoption aus":"Please choose a shipping option"),($("#AgbConfirmed").attr("checked")==null||$("#Email").val()==""||$("#OrderBy").val()=="")&&(n=="de"?t==""?t="Bitte füllen Sie die Pflichtfelder aus":t+="<br/>Bitte füllen Sie die Pflichtfelder aus":t==""?t="Please complete all required fields":t+="<br/>Please complete all required fields"),t=="")?!0:($("#InvalidShippingOption").html(t),$("#InvalidShippingOption").show(),!1)}function CompareAddress(){return StringCompareIgnoreCase($("#InvoiceName1").val(),$("#ShippingName1").val())?StringCompareIgnoreCase($("#InvoiceName2").val(),$("#ShippingName2").val())?StringCompareIgnoreCase($("#InvoiceName3").val(),$("#ShippingName3").val())?StringCompareIgnoreCase($("#InvoiceCity").val(),$("#ShippingCity").val())?StringCompareIgnoreCase($("#InvoicePostalCode").val(),$("#ShippingPostalCode").val())?StringCompareIgnoreCase($("#InvoiceStreet").val(),$("#ShippingStreet").val())?StringCompareIgnoreCase($("#InvoiceCountry").val(),$("#ShippingCountry").val())?!0:!1:!1:!1:!1:!1:!1:!1}function StringCompareIgnoreCase(n,t){return n.toLowerCase()==t.toLowerCase()?!0:!1}function cancelZoom(){function u(i){n.content=t+(i.type=="blur"?t.match(f,"")?"":r+10:r+1)}var i=document,n,t,r=",maximum-scale=",f=/,*maximum\-scale\=\d*\.*\d*/;this.addEventListener&&i.querySelector&&(n=i.querySelector('meta[name="viewport"]'),t=n.content,this.addEventListener("focus",u,!0),this.addEventListener("blur",u,!1))}function bytesToString(n){var t;return n==0?"0 Bytes":n==1?"1 Byte":(t=parseInt(Math.floor(Math.log(n)/Math.log(1024))),precise_round(n/Math.pow(1024,t),2)+" "+["Bytes","KB","MB","GB","TB"][t])}function precise_round(n,t){var i=n>=0?1:-1;return Math.round(n*Math.pow(10,t)+i*.001)/Math.pow(10,t)}function GetShippmentDeliveryTimesAjax(n,t){n+="&countryCode="+$("#ShippingCountry").val();n+="&postalCode="+$("#ShippingPostalCode").val();n+="&city="+$("#ShippingCity").val();n+="&weight="+t;$.ajax({url:n,type:"GET",success:function(n){$.each(n,function(n,t){$('.shippingduration[duration="'+n.toLowerCase()+'"]').html(t)})}})}function parseFloatSafe(n,t){var i=n.indexOf(".")>=0,r=n.indexOf(",")>=0;return i&&r?n=n.indexOf(".")>n.indexOf(",")?t==="de"?n.replace(",","").replace(".",","):n.replace(",",""):t==="de"?n.replace(".",""):n.replace(".","").replace(",","."):i?n=t==="de"?n.replace(".",","):n:r&&(n=t==="de"?n:n.replace(",",".")),n}function onStoreDirectInquirySuccess(n){$("#direct_inquiry_form").replaceWith(n.html)}var winWidth,winHeight;(function(n){n.extend(n.fn,{validate:function(t){if(!this.length){t&&t.debug&&window.console&&console.warn("Nothing selected, can't validate, returning nothing.");return}var i=n.data(this[0],"validator");return i?i:(this.attr("novalidate","novalidate"),i=new n.validator(t,this[0]),n.data(this[0],"validator",i),i.settings.onsubmit&&(this.validateDelegate(":submit","click",function(t){i.settings.submitHandler&&(i.submitButton=t.target);n(t.target).hasClass("cancel")&&(i.cancelSubmit=!0);n(t.target).attr("formnovalidate")!==undefined&&(i.cancelSubmit=!0)}),this.submit(function(t){function r(){var r;return i.settings.submitHandler?(i.submitButton&&(r=n("<input type='hidden'/>").attr("name",i.submitButton.name).val(n(i.submitButton).val()).appendTo(i.currentForm)),i.settings.submitHandler.call(i,i.currentForm,t),i.submitButton&&r.remove(),!1):!0}return(i.settings.debug&&t.preventDefault(),i.cancelSubmit)?(i.cancelSubmit=!1,r()):i.form()?i.pendingRequest?(i.formSubmitted=!0,!1):r():(i.focusInvalid(),!1)})),i)},valid:function(){if(n(this[0]).is("form"))return this.validate().form();var t=!0,i=n(this[0].form).validate();return this.each(function(){t=t&&i.element(this)}),t},removeAttrs:function(t){var i={},r=this;return n.each(t.split(/\s/),function(n,t){i[t]=r.attr(t);r.removeAttr(t)}),i},rules:function(t,i){var r=this[0],o,u,h;if(t){var e=n.data(r.form,"validator").settings,s=e.rules,f=n.validator.staticRules(r);switch(t){case"add":n.extend(f,n.validator.normalizeRule(i));delete f.messages;s[r.name]=f;i.messages&&(e.messages[r.name]=n.extend(e.messages[r.name],i.messages));break;case"remove":return i?(o={},n.each(i.split(/\s/),function(n,t){o[t]=f[t];delete f[t]}),o):(delete s[r.name],f)}}return u=n.validator.normalizeRules(n.extend({},n.validator.classRules(r),n.validator.attributeRules(r),n.validator.dataRules(r),n.validator.staticRules(r)),r),u.required&&(h=u.required,delete u.required,u=n.extend({required:h},u)),u}});n.extend(n.expr[":"],{blank:function(t){return!n.trim(""+n(t).val())},filled:function(t){return!!n.trim(""+n(t).val())},unchecked:function(t){return!n(t).prop("checked")}});n.validator=function(t,i){this.settings=n.extend(!0,{},n.validator.defaults,t);this.currentForm=i;this.init()};n.validator.format=function(t,i){return arguments.length===1?function(){var i=n.makeArray(arguments);return i.unshift(t),n.validator.format.apply(this,i)}:(arguments.length>2&&i.constructor!==Array&&(i=n.makeArray(arguments).slice(1)),i.constructor!==Array&&(i=[i]),n.each(i,function(n,i){t=t.replace(new RegExp("\\{"+n+"\\}","g"),function(){return i})}),t)};n.extend(n.validator,{defaults:{messages:{},groups:{},rules:{},errorClass:"error",validClass:"valid",errorElement:"label",focusInvalid:!0,errorContainer:n([]),errorLabelContainer:n([]),onsubmit:!0,ignore:":hidden",ignoreTitle:!1,onfocusin:function(n){this.lastActive=n;this.settings.focusCleanup&&!this.blockFocusCleanup&&(this.settings.unhighlight&&this.settings.unhighlight.call(this,n,this.settings.errorClass,this.settings.validClass),this.addWrapper(this.errorsFor(n)).hide())},onfocusout:function(n){!this.checkable(n)&&(n.name in this.submitted||!this.optional(n))&&this.element(n)},onkeyup:function(n,t){(t.which!==9||this.elementValue(n)!=="")&&(n.name in this.submitted||n===this.lastElement)&&this.element(n)},onclick:function(n){n.name in this.submitted?this.element(n):n.parentNode.name in this.submitted&&t
Modified
Can you escalate this question to the website for assistance?