<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	
	xmlns:georss="http://www.georss.org/georss"
	xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#"
	>

<channel>
	<title>client-side error Archives - Pietari Heino&#039;s personal website</title>
	<atom:link href="https://www.extreg.com/blog/tag/client-side-error/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.extreg.com</link>
	<description></description>
	<lastBuildDate>Thu, 02 Feb 2017 12:41:51 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.6.7</generator>
<site xmlns="com-wordpress:feed-additions:1">99365322</site>	<item>
		<title>Catching JavaScript exceptions in client-side malware</title>
		<link>https://www.extreg.com/blog/2017/02/catching-javasripts-exceptions-client-side-malware-mecash-rutx-js/</link>
					<comments>https://www.extreg.com/blog/2017/02/catching-javasripts-exceptions-client-side-malware-mecash-rutx-js/#respond</comments>
		
		<dc:creator><![CDATA[Pietari]]></dc:creator>
		<pubDate>Thu, 02 Feb 2017 12:39:21 +0000</pubDate>
				<category><![CDATA[random]]></category>
		<category><![CDATA[client-side error]]></category>
		<category><![CDATA[malware]]></category>
		<category><![CDATA[mecash.ru]]></category>
		<category><![CDATA[replace.js]]></category>
		<category><![CDATA[trackjs]]></category>
		<category><![CDATA[tx.js]]></category>
		<guid isPermaLink="false">https://extreg.com/?p=123</guid>

					<description><![CDATA[<p>I use {Track:js} to track my client-side JavaScript errors that happen in the browser. It works like so: TrackJS&#8217;s JS snippet is included in the page. The script wraps the global window.onerror handler (among other things) and starts waiting for an error to happen. When an exception is thrown from the browser&#8217;s JS runtime TrackJS ... <span class="more"><a class="more-link" href="https://www.extreg.com/blog/2017/02/catching-javasripts-exceptions-client-side-malware-mecash-rutx-js/">[Read more...]</a></span></p>
<p>The post <a rel="nofollow" href="https://www.extreg.com/blog/2017/02/catching-javasripts-exceptions-client-side-malware-mecash-rutx-js/">Catching JavaScript exceptions in client-side malware</a> appeared first on <a rel="nofollow" href="https://www.extreg.com">Pietari Heino&#039;s personal website</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>I use <a href="http://trackjs.com">{Track:js}</a> to track my client-side JavaScript errors that happen in the browser. It works like so: TrackJS&#8217;s JS snippet is included in the page. The script wraps the global window.onerror handler (among other things) and starts waiting for an error to happen. When an exception is thrown from the browser&#8217;s JS runtime TrackJS sends it (along with a stacktrace) to their server for further analysis. An admin is notified via email, Slack etc. if they have chosen so.</p>
<p>The logged event in TrackJS&#8217;s database also includes information about the user interactions during the visit and any AJAX calls from the page. This way it&#8217;s very easy and convenient to debug your client-side applications behaviour and pin-point what causes exceptions to be thrown. TrackJS also lets you ping them with any messages to be logged even if there wasn&#8217;t an exception in the first place. You can also include any contextual information if you wish (user id, preferences, what version of your app was running etc.).</p>
<p><img loading="lazy" class="size-full wp-image-124 aligncenter" src="https://extreg.com/wp-content/uploads/2017/02/trackjs_mecash_ru_txjs.png" alt="" width="736" height="332" srcset="https://www.extreg.com/wp-content/uploads/2017/02/trackjs_mecash_ru_txjs.png 736w, https://www.extreg.com/wp-content/uploads/2017/02/trackjs_mecash_ru_txjs-300x135.png 300w" sizes="(max-width: 736px) 100vw, 736px" /></p>
<p>The above image is from <a href="https://unisafka.fi">Unisafka.fi&#8217;s</a> TrackJS timeline. I got alerted about a missing semicolon that caused an exception. What&#8217;s curious? The script that was malformed syntactically <em><strong>did not come from Unisafka.fi</strong></em>. Judging from some Google results it seems that the client has some sort of malware in their computer/browser and it&#8217;s injecting some JS that then requests other files. Unfortunately, the malicious file was itself malformed and could not be run.</p>
<p>So sad.</p>
<p>The post <a rel="nofollow" href="https://www.extreg.com/blog/2017/02/catching-javasripts-exceptions-client-side-malware-mecash-rutx-js/">Catching JavaScript exceptions in client-side malware</a> appeared first on <a rel="nofollow" href="https://www.extreg.com">Pietari Heino&#039;s personal website</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.extreg.com/blog/2017/02/catching-javasripts-exceptions-client-side-malware-mecash-rutx-js/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">123</post-id>	</item>
	</channel>
</rss>
