I am building a Chrome extension that works with a conversion optimization tool (visual website optimizer or VWO to be precise). On websites that use VWO the tool shows information like running experiments, the data needed is retrieved from the DOM.   Now I want to implement a feature that will list goals fired on a page. A goal is a user defined event such as page view, clicks on elements etc. When a goal is fired VWO sends a c.gif call to their server, this call contains the information I need.   I can see the c.gif call in the Chrome network console so I assume my extension should somehow be able to do the same. But how this is achieved I can't figure out. And help here would be greatly appreciated :)   I found some help here:  and here:  but I couldn't get my code to register the Ajax event (or any Ajax event).   My extension is designed like this: A default pop-up.html with a pop-up.js that on load fetches the background script. The background script asks the content script for the DOM data. When the data is retrieved it is send back via the background to the popup.js  I hope someone can help me with this. If possible I would prefer not to use jQuery (or another library) unless they make matters much easier. (that's why I tagged jQuery)
I would like to capture the contents of AJAX requests using Greasemonkey.  Does anybody know how to do this?
If the matrix $A^3 = 0$, is $A$ singular? Story identification - "bless the beasts that bless us" I'm trying to trace what was probably a short story rather than a full novel from my childhood.  I think it starts in the present day (so the 80s or thereabouts) and there was some kind of alternate reality bleed which meant there were (i think) ghost boars or pigs, they were becoming more physical with time, and so problematic. The family escaped when the family dog led them to and through a portal which they couldn't perceive to a safer place.  In the end, they ended up in some kind of rural community who had a religion / custom that required them to say "Bless the beasts that bless us" but some folk shortened it to BTBTBU which irritated the girl who was the principle character.  I used to read a lot of kids short story sci-fi and fantasy including Nicolas Fisk but I don't know whether this was from a compilation of several authors or a single author's collection. In Breaking Bad, Walter White chooses to go by Heisenberg. I know that there has to be some significance behind both why Walt chose the name and why the writers chose that name as opposed to any other physicist's. It would make sense for it to have something to do with Heisenberg's uncertainty principle, which postulates (in broad strokes) that any system is fundamentally unstable on a short enough time frame. The connection between that and Walt's specific character eludes me though. I'm using custom post types, but they don't appear on tag pages along with regular posts and i'd like to include both standard and custom post types on tag or category pages. What would be required before the loop to include all posts? (including custom type). Updated: To add, I found this code , which worked perfectly for the first part: add_filter('pre_get_posts', 'query_post_type'); function query_post_type($query) {   if ( is_category() || is_tag() &amp;&amp; empty( $query-&gt;query_vars['suppress_filters'] ) ) {     $post_type = get_query_var('post_type');     if($post_type)         $post_type = $post_type;     else         $post_type = array('post','cpt'); // replace cpt to your custom post type     $query-&gt;set('post_type',$post_type);     return $query;     } }  Second question still remains though: Is there a way to allow readers to filter by post type? So either of the following would work..  example.com/tag/blue?post_type=custom example.com/tag/blue?post_type=post Is any quotient of a Euclidean domain by a prime ideal a Euclidean domain? Let $R$ be a Euclidean domain, i.e., a ring with a norm $N : R \rightarrow \mathbb N$ such that for any $a,b\in R$ with $b\not=0$, we may write $a = qb + r$ for some $q,r \in R$ with $N(r) &lt; N(b)$. Let $I$ be a prime ideal of $R$, so $R/I$ is a domain. Must $R/I$ in fact be a Euclidean domain?   I know that this is true if we replace "Euclidean domain" with "PID", and false if we replace it with "UFD", so there is no clear intuition to be gained from similar concepts. My first attempts at a proof was to borrow a construction from analysis and define a norm on $R/I$ by  $N(a + I) = \inf\{N(a+i) : i\in I\}$  but this didn't really get me anywhere.   So, this fact true? If so, how can I prove it? If not, whats a counterexample? When building console applications that take parameters, you can use the arguments passed to Main(string[] args).   In the past I've simply indexed/looped that array and done a few regular expressions to extract the values. However, when the commands get more complicated, the parsing can get pretty ugly.    So I'm interested in:   Libraries that you use Patterns that you use   Assume the commands always adhere to common standards such as . Books on cosmology I have finished Carroll's general relativity book, Spacetime and Geometry. I am specifically interested in cosmology, so is there any book which goes more in depth into cosmology? I prefer a mathematically rigorous book, which goes beyond the cosmology chapter in Carroll's book. The Big Bang and inflation theory should be dealt with in depth. Prettiest way to typeset "C++" (cplusplus)? Writing "C++" in plain text results in an ugly setting, as the '+' signs are too big and too spaced:    I've seen around the web several marcos for typesetting the "C++" symbol, ranging from mild kerning to shrinking, raising and lowering the '+' signs.  What is your version of a \cpp{} macro? How long does mana from Burning-Tree Emissary stay around? I'm starting to do designs meant for printing, but I'm fairly new to this medium so I don't really understand how bleed works and how much bleed should I specify for:   Business cards Large format prints (42 inches and bigger) Magazines   Should I extend the design into the bleed areas? Why is my ethernet interface called enp0s10 instead of eth0? I've been working with Corel Draw previously and now i use Illustrator more.Still getting used to some of their features though. I want to insert an image into a circle I've drawn but i don't know how to go about it.It is called power clipping in Corel. Any answers would be appreciated. This is a  about DNS server administration.   I have one hundred or so domains. All of these domains need to be configured identically, but it seems like a huge waste of time to have to configure a new zone and/or zonefile for every one of these domains. There has to be a better way to automate this!  I think I'm on to something...if I create a zone called ., or use some other feature in my DNS software to always return a specific IP when an A record is requested, this seems to get me pretty close to my desired end result. My server is responding authoritatively to the requests and it's so much easier to manage!  This was working great until nameserver validation software started checking these domains. I figured out that I can make most of the errors go away by adding NS records, but my software won't let me put more than one SOA record in the same zone file.  How do I work around this multiple SOA record problem? Can I mask an input text in a bat file? Convergent or divergent $\sum_{n=1}^{\infty} \frac{e^nn!}{n^n}$? Question on the stability of the solar system One of the pertinent questions about many body systems that causes me much wonder is why the solar system is so stable for billions of years. I came across the idea of "resonance" and albeit an useful concept, it hardly explains the long stability of the solar system. Normally an N body problem with inverse square mutual interaction is an example of a chaotic system. Is there any real progress about this stability issue? I have a list of integers, List&lt;Integer&gt; and I'd like to convert all the integer objects into Strings, thus finishing up with a new List&lt;String&gt;.  Naturally, I could create a new List&lt;String&gt; and loop through the list calling String.valueOf() for each integer, but I was wondering if there was a better (read: more automatic) way of doing it? How to prove $n^5 - n$ is divisible by $30$ without reduction How can I prove that prove $n^5 - n$ is divisible by $30$? I took $n^5 - n$ and got $n(n-1)(n+1)(n^2+1)$ Now, $n(n-1)(n+1)$ is divisible by $6$. Next I need to show that $n(n-1)(n+1)(n^2+1)$ is divisible by $5$. My guess is using Fermat's little theorem but I don't know how. Can a .NET windows application be compressed into a single .exe? Tall fraction puzzle I was given this problem 30 years ago by a coworker, posted it 15 years ago to rec.puzzles, and got a solution from Barry Wolk, but have never seen it again.  Consider the series:  $$1, \frac{1}{2},\frac{\displaystyle\frac{1}{2}}{\displaystyle\frac{3}{4}},\frac{\displaystyle\frac{\displaystyle\frac{1}{2}}{\displaystyle\frac{3}{4}}}{\displaystyle\frac{\displaystyle\frac{5}{6}}{\displaystyle\frac{7}{8}}},\cdots$$  Each fraction keeps its large bars while being put atop a similar structure. This can also be represented as $$\frac{1\cdot 4 \cdot 6 \cdot 7 \cdot\cdots}{2 \cdot 3 \cdot 5 \cdot 8 \cdot\cdots}$$ terminating at $2^n$ for some $n$, where it is much closer to the limit than elsewhere.  The challenge:   Find the limit, not too hard by experiment In the last expression, find a simple, nonrecursive, expression to say whether $n$ is in the numerator or denominator Prove the limit is correct-this is the hard one.