Get Text copies the webpage data instead of text

Hi,

I am trying to copy time from a webpage using get text and then storing it in a variable. But instead of copying the time (text), get text activity is getting the information about the site and this is the value of the variable:

Google(function(){window.google={kEI:'uO6gYNvpHNngz7sPz52qKA',kEXPI:'31',kBL:'UAqi'};google.sn='webhp';google.kHL='en-IN';})();(function(){ var f,h=[];function k(a){for(var b;a&&(!a.getAttribute||!(b=a.getAttribute("eid")));)a=a.parentNode;return b||f}function l(a){for(var b=null;a&&(!a.getAttribute||!(b=a.getAttribute("leid")));)a=a.parentNode;return b} function m(a,b,c,d,g){var e="";c||-1!=b.search("&ei=")||(e="&ei="+k(d),-1==b.search("&lei=")&&(d=l(d))&&(e+="&lei="+d));d="";!c&&window._cshid&&-1==b.search("&cshid=")&&"slh"!=a&&(d="&cshid="+window._cshid);c=c||"/"+(g||"gen_204")+"?atyp=i&ct="+a+"&cad="+b+e+"&zx="+Date.now()+d;/^http:/i.test(c)&&"https:"==window.location.protocol&&(google.ml&&google.ml(Error("a"),!1,{src:c,glmm:1}),c="");return c};f=google.kEI;google.getEI=k;google.getLEI=l;google.ml=function(){return null};google.log=function(a,b,c,d,g){if(c=m(a,b,c,d,g)){a=new Image;var e=h.length;h[e]=a;a.onerror=a.onload=a.onabort=function(){delete h[e]};a.src=c}};google.logUrl=m;}).call(this);(function(){ google.y={};google.sy=[];google.x=function(a,b){if(a)var c=a.id;else{do c=Math.random();while(google.y[c])}google.y[c]=[a,b];return!1};google.sx=function(a){google.sy.push(a)};google.lm=[];google.plm=function(a){google.lm.push.apply(google.lm,a)};google.lq=[];google.load=function(a,b,c){google.lq.push([[a],b,c])};google.loadAll=function(a,b){google.lq.push([a,b])};google.bx=!1;google.lx=function(){};}).call(this);google.f={};(function(){ document.documentElement.addEventListener("submit",function(b){var a;if(a=b.target){var c=a.getAttribute("data-submitfalse");a="1"==c||"q"==c&&!a.elements.q.value?!0:!1}else a=!1;a&&(b.preventDefault(),b.stopPropagation())},!0);document.documentElement.addEventListener("click",function(b){var a;a:{for(a=b.target;a&&a!=document.documentElement;a=a.parentElement)if("A"==a.tagName){a="1"==a.getAttribute("data-nohref");break a}a=!1}a&&b.preventDefault()},!0);}).call(this);(function(){google.c={biml:true,btfi:false,coh:false,datfo:false,gl:true,ioh:false,lhc:false,ll:false,wve:false};(function(){ var e=window.performance;google.timers={};google.startTick=function(a){google.timers[a]={t:{start:Date.now()},e:{},m:{}}};google.tick=function(a,b,c){google.timers[a]||google.startTick(a);c=void 0!==c?c:Date.now();b instanceof Array||(b=[b]);for(var d=0,f;f=b[d++];)google.timers[a].t[f]=c};google.c.e=function(a,b,c){google.timers[a].e[b]=c};google.c.b=function(a){var b=google.timers.load.m;b[a]&&google.ml(Error("a"),!1,{m:a});b[a]=!0};google.c.u=function(a){var b=google.timers.load.m;if(b[a]){b[a]=!1;for(a in b)if(b[a])return;google.csiReport()}else google.ml(Error("b"),!1,{m:a})};function g(a,b,c,d){a.addEventListener?a.addEventListener(b,c,d||!1):a.attachEvent&&a.attachEvent("on"+b,c)}function h(a,b,c,d){a.addEventListener?a.removeEventListener(b,c,d||!1):a.attachEvent&&a.detachEvent("on"+b,c)}google.rll=function(a,b,c){var d=function(f){c(f);h(a,"load",d);h(a,"error",d)};g(a,"load",d);b&&g(a,"error",d)};google.aft=function(a){a.setAttribute("data-iml",Date.now())};google.startTick("load");var k=google.timers.load;a:{var l=k.t;if(e){var m=e.timing;if(m){var n=m.navigationStart,p=m.responseStart;if(p>n&&p<=l.start){l.start=p;k.wsrt=p-n;break a}}e.now&&(k.wsrt=Math.floor(e.now()))}} if(google.c.wve){google.c.fh=Infinity;var q=function(a){return"hidden"==document.visibilityState?(google.c.fh=a,!0):!1},r=function(a){q(a.timeStamp)&&h(document,"visibilitychange",r,!0)};g(document,"visibilitychange",r,!0);q(0)}google.c.b("pr");google.c.b("xe");if(google.c.gl){var t=function(a){a&&google.aft(a.target)};g(document.documentElement,"load",t,!0);google.c.glu=function(){h(document.documentElement,"load",t,!0)}};}).call(this);})();(function(){ function k(){return window.performance&&window.performance.navigation&&window.performance.navigation.type};function n(a){var c=google.c.coh,b=google.c.ioh;if(!a||q(a))return 0;if(!a.getBoundingClientRect)return 1;var d=function(e){return e.getBoundingClientRect()};return!1===c||!r(a,d)||b?t(a,d):0}function r(a,c){var b;a:{for(b=a;b&&void 0!==b;b=b.parentElement)if("hidden"===b.style.overflow)break a;b=null}if(!b)return!1;a=c(a);c=c(b);return a.bottom<c.top||a.top>=c.bottom||a.right<c.left||a.left>=c.right} function q(a){return"none"===a.style.display?!0:document.defaultView&&document.defaultView.getComputedStyle?(a=document.defaultView.getComputedStyle(a),!!a&&("hidden"===a.visibility||"0px"===a.height&&"0px"===a.width)):!1} function t(a,c){var b=c(a);a=b.left+window.pageXOffset;c=b.top+window.pageYOffset;var d=b.width;b=b.height;var e=0;if(0>=b&&0>=d)return e;var f=window.innerHeight||document.documentElement.clientHeight;0>c+b?e=2:c>=f&&(e=4);if(0>a+d||a>=(window.innerWidth||document.documentElement.clientWidth))e|=8;e||(e=1,c+b>f&&(e|=4));return e};var u=window.location,v="aft frt hct prt pprt sct".split(" ");function w(a){return(a=u.search.match(new RegExp("[?&]"+a+"=(\\d+)")))?Number(a[1]):-1};var x=window.innerHeight||document.documentElement.clientHeight,y=0,z=0,A=0,B=0,C=0,D=0,E=0,F=0,G=!0,J=!0,K=-1;function L(a,c,b,d){var e=google.timers.load.t[a];e&&(b||d&&null!=c&&c<e)||google.tick("load",a,c)}function M(a,c,b,d){a&&(L("frt",d,!1,!0),++B,N());c&&(L("aft",d,!1,!0),++D,b&&++F,N());L("iml",d,!1,!0);++z;(google.c.biml||c)&&O()}function O(){var a=google.c.biml?z==y:C==D;!J&&a&&google.c.u("il")} function N(){if(!G){var a=B==A,c=F==E;if(D==C&&a){google.c.e("load","ima",String(C));google.c.e("load","imad",String(E));google.c.e("load","aftp",String(Math.round(K)));var b=google.timers.load,d=b.m;if(!d||!d.prs){var e=k()?0:w("qsubts");0<e&&(d=w("fbts"),0<d&&(b.t.start=Math.max(e,d)));var f=b.t,l=f.start;d={wsrt:b.wsrt};for(var m=0,h;h=v[m++];){var p=f[h];p&&l&&(d[h]=p-l)}0<e&&(d.gsasrt=b.t.start-e);e=b.e;b="/gen_204?s="+google.sn+"&t=aft&atyp=csi&ei="+google.kEI+"&rt=";f="";for(g in d)b+=""+f+ g+"."+d[g],f=",";for(var H in e)b+="&"+H+"="+e[H];window._cshid&&(b+="&cshid="+window._cshid);2===k()&&(b+="&bb=1");1===k()&&(b+="&r=1");if("gsasrt"in d){var g=w("qsd");0<g&&(b+="&qsd="+g)}google.kBL&&(b+="&bl="+google.kBL);g=b;navigator.sendBeacon?navigator.sendBeacon(g,""):google.log("","",g)}}if(null!==google.aftq&&(g=2==google.fevent||3==google.fevent?google.fevent:1,2==g&&a||1==g&&c||3==g&&(c||a))){var I;for(a=0;c=null==(I=google.aftq)?void 0:I[a++];)try{c()}catch(P){google.ml(P,!1)}google.aftq= null}}}var Q="src bsrc url ll image img-url".split(" ");function R(a){for(var c=0,b;b=Q[c++];)if(a.getAttribute("data-"+b))return!0;return!1}google.c.b("il");google.c.setup=function(a,c,b){var d=a.getAttribute("data-atf");if(d)return Number(d);var e="string"!=typeof a.src||!a.src,f=!!a.getAttribute("data-bsrc"),l=!!a.getAttribute("data-deferred"),m=!l&&R(a);m&&a.setAttribute("data-lzy_",1);d=n(a);a.setAttribute("data-atf",d);var h=!!(d&1);e=(e||a.complete)&&!l&&!f&&!(google.c.ll&&h&&m);f=!google.c.lhc&&Number(a.getAttribute("data-iml"))||0;var p=c&&0!=d&&!(d&8);++y;if(e&&!f||a.hasAttribute("data-noaft"))++z;else{if(c=google.c.btfi&&d&4&&f&&K<x)m=a.getBoundingClientRect().top+ window.pageYOffset,!b||m<b?K=h?x:m:c=!1;h&&(++C,l&&++E);p&&++A;c&&L("aft",f,!1,!0);e&&f?M(p,h,l,google.c.btfi?0:f):(h&&(!b||b>=x)&&(K=x),google.rll(a,!0,function(){M(p,h,l,Date.now())}))}return d};google.c.ubr=function(a,c,b){google.c.btfi?0>K&&(b&&(K=b),L("aft",c)):L("aft",c,!0);G&&(G=!1,N());a&&J&&(L("prt",c),L("iml",c,!0),J=!1,O(),google.c.setup=function(){return 0},google.c.ubr=function(){})};}).call(this);(function(){ var b=[function(){google.tick&&google.tick("load","dcl")}];google.dclc=function(a){b.length?b.push(a):a()};function c(){for(var a;a=b.shift();)a()}window.addEventListener?(document.addEventListener("DOMContentLoaded",c,!1),window.addEventListener("load",c,!1)):window.attachEvent&&window.attachEvent("onload",c);}).call(this);(function(){ var b=[];google.jsc={xx:b,x:function(a){b.push(a)},mm:[],m:function(a){google.jsc.mm.length||(google.jsc.mm=a)}};}).call(this);(function(){ var e=this||self; var g={};function w(a,b){if(null===b)return!1;if("contains"in a&&1==b.nodeType)return a.contains(b);if("compareDocumentPosition"in a)return a==b||!!(a.compareDocumentPosition(b)&16);for(;b&&a!=b;)b=b.parentNode;return b==a};var y=function(a,b){return function(d){d||(d=window.event);return b.call(a,d)}},D="undefined"!=typeof navigator&&/Macintosh/.test(navigator.userAgent),E=function(){this._mouseEventsPrevented=!0}; var F=function(){this.h=this.g=null},H=function(a,b){var d=G;d.g=a;d.h=b;return d};F.prototype.i=function(){var a=this.g;this.g&&this.g!=this.h?this.g=this.g.__owner||this.g.parentNode:this.g=null;return a};var I=function(){this.j=[];this.g=0;this.h=null;this.l=!1};I.prototype.i=function(){if(this.l)return G.i();if(this.g!=this.j.length){var a=this.j[this.g];this.g++;a!=this.h&&a&&a.__owner&&(this.l=!0,H(a.__owner,this.h));return a}return null};var G=new F,J=new I; var N=function(){this.s=[];this.g=[];this.h=[];this.l={};this.i=null;this.j=[];K(this,"_custom")},O="undefined"!=typeof navigator&&/iPhone|iPad|iPod/.test(navigator.userAgent),P=String.prototype.trim?function(a){return a.trim()}:function(a){return a.replace(/^\s+/,"").replace(/\s+$/,"")},Q=/\s*;\s*/,da=function(a,b){return function l(c,f){f=void 0===f?!0:f;var k=b;if("_custom"==k){k=c.detail;if(!k||!k._type)return;k=k._type}var m=k;"click"==m&&(D&&c.metaKey||!D&&c.ctrlKey||2==c.which||null==c.which&& 4==c.button||c.shiftKey)?m="clickmod":"keydown"==m&&!c.a11ysc&&(m="maybe_click");var u=c.srcElement||c.target;k=R(m,c,u,"",null);if(c.path){J.j=c.path;J.g=0;J.h=this;J.l=!1;var L=J}else L=H(u,this);for(var p;p=L.i();){var h=p;var q=void 0;var r=h;p=m;var n=r.__jsaction;if(!n){var x;n=null;"getAttribute"in r&&(n=r.getAttribute("jsaction"));if(x=n){n=g[x];if(!n){n={};for(var z=x.split(Q),aa=z?z.length:0,A=0;A<aa;A++){var v=z[A];if(v){var B=v.indexOf(":"),M=-1!=B,ba=M?P(v.substr(0,B)):"click";v=M?P(v.substr(B+ 1)):v;n[ba]=v}}g[x]=n}r.__jsaction=n}else n=ca,r.__jsaction=n}r=n;"maybe_click"==p&&r.click?(q=p,p="click"):...

How do I get only the text ? Please help me resolve this issue.

Good day!
In such cases, you can try the following solutions:

  1. Check if the extension for the browser with which the process works is installed, also check its availability in the browser (some security systems may block the extension’s capabilities)
  2. Select the necessary text on the page and place it on the clipboard using Ctrl + C (from there, read it as a variable)
  3. In UiExplorer, check if it is possible to select any sub-selector for this object. Because now it is like choosing a parent object that stores a JS time function.

Please write if something helps you.