Watching part of a page (no ID) using urlwatch - url

I use urlwatch to watch for changes in websites.
On some sites I just want to overwatch a part of the site.
Example:
On http://www.wikifolio.com/de/DAXEN020 I just want to get notified when the is a change in the "Trade" section.
Using "Page Monitor" in Chrome I get this when I watch for changes in this part
<td class="js-virtual-order-status-text virtual-order-overview-status">
Ausgeführt
<br>
<span class="smalldatetime">20.11.2015 17:27</span>
</td>"
How can I get this filter into urlwatch?
Thanks in advance

Related

SnipCart site: "$localize" showing up in Google search result snippet

I have customized my SnipCart e-commerce site following the customization documentation:
<div hidden id="snipcart" data-api-key="MY_KEY">
<address-fields>
<div>
<div class="snipcart-form__row">
<div class="snipcart-form__field snipcart-form__cell--large">
<snipcart-label class="snipcart__font--tiny" for="address1">
{{ $localize('address_form.address1') }}
</snipcart-label>
However, now I see $localize showing up in Google search results instead of the English text.
Google Search Console shows that the SnipCart .js resource (.css too) is blocked because of cdn.snipcart.com/robots.txt (which is configured to not allow crawling of anything). This seems to be the problem.
What is the proper way to fix this?
Answering my own question in case someone else stumbles into this.
You can prevent certain content from showing up in the snippet with the data no-snippet directive, for example:
<span data-nosnippet>Don't show me</span>
Reference:
https://developers.google.com/search/docs/advanced/crawling/special-tags#data-nosnippet

Hyperlink not clickable on Internet Explorer if use Url.Action

I used the mvc actionlink to get the url. It is working fine in chrome. But in IE it is not even clicking. i used the following code to navigate the page.
<a href="#Url.Action("GetHelpDocuments", "Document")">
<span class="navsprite helplink"></span>
<span>Help</span>
I don't find any error in my above code. But please give alternate solution for this.
I used localtion.href to get the actual location href
<a href="#Url.Action("GetHelpDocuments", "Document")" onclick='location.href = this.getAttribute("href")'>
<span class="navsprite helplink" ></span>
<span>Help</span>

MVC Datalist is not working on prod server but works on Dev

I have an application that uses a datalist that works in the Dev environment but returns a blank field with no lookup in the Production environment. I want to use datalist extensively as it easily provides an auto complete facility but cannot until it works in Production.
Dev is MVC VS 2010 on IE 11.0 under Win7 and it scores 302 in the HTML5Test.
Production is IE 11.0 on Server 2012 R2 Standard reported as Win8.1 and scores 312 in the HTML5Test.
After much comparing, checking, trying, inspecting and reviewing I have found the source of the issue that stops datalist working.
MVC View Code in Index.cshtml
This is the eventual experimental code trying to isolate the issue:
#model IEnumerable<CRM_MVC.Models.BranchDiary>
#{
Layout = null;
}
<body>
<div>
<lable>Enter TV Series Name </label>
<input type="text" id="tv" name="series" list="tvseries" autofocus>
<datalist id="tvseries">
<option value="Heroes">
<option value="Lost">
<option value="Fringe">
<option value="CriminalMinds">
<option value="CSIMiami">
</datalist>
<p><strong>Note:</strong> The datalist tag is not supported in Internet Explorer 9 and earlier versions, or in Safari.</p>
</div>
</body>
Internet Explorer session showing Index.cshtml
The field should provide an autocomplete dropdown but doesn’t.
The Inspect screen shows that <datalist id=tv> is wrongly terminated by /datalist on the same line and after the option list /datalist wrongly has //datalist appearing after it.
When right click Edit HTML is selected for the Div, the original HTML correctly has the first datalist tag with no /datalist and the option list is correctly terminated at the end by the /datalist tag.
What can be done to stop the extras being added to so that it might work the same on Production as on Dev?
What resolved this was unchecking Display intranet sites in Compatibility View in IE Tools-> Compatibility View Settings.
Thanks to Mr Lister for this suggestion.
I will need to check to see if globally changing this setting affects anything else but it makes autocomplete work now as expected and required. Thanks again to Mr Lister for the assistance.

Click on a link takes me to a webpage but I cannot use its URL to go directly to that webpage

I'm trying to go directly to the calottery detailed draw results webpage based on the draw date and draw number, but I'm having a hard time figuring out how to do it.
For example, if I go to this link http://www.calottery.ca.gov/play/draw-games/fantasy-5/winning-numbers and click on the hyperlink Draw Feb 26, 2016 - 8147, it will take me to its detailed draw result page. The web browser URL will show http://www.calottery.ca.gov/play/draw-games/fantasy-5/winning-numbers/?DrawDate=Feb%2026,%202016&DrawNumber=8147
However, when I try to copy and paste this link to my web browser address bar and try to go there directly, it doesn't give me the same page. It will redirect me back to the http://www.calottery.ca.gov/play/draw-games/fantasy-5/winning-numbers page instead.
I have tried looking at the page source in Google Chrome and for a given draw hyperlink its link is the same to what I use to paste into my address bar. Below is an example of the page source for a draw:
<table class='tag_even numbers' width='100%' border='0'><thead><tr><th>Draw</th><th>Winning Numbers</th><th> </th></tr></thead>
<tr>
<td>
<a href="/play/draw-games/fantasy-5/winning-numbers/?DrawDate=Feb 26, 2016&DrawNumber=8147">
<span id="objBody_content_0_pagecontent_0_objPastWinningNumbers_rptPast_ctl01_lblDrawDateNumber" title="8147">Feb 26, 2016 - 8147</span>
</a>
</td>
</tr>
Can someone tell me what it's doing or how I can get to a specific detailed draw results based on the draw date and draw number?
Thank you in advance.

target="_blank" in a facebook profile-tab application (iframe)

i need links in a profile-tab app i'm writing open in new browser tabs. i set target="_blank" (with both hardcoded and with FBJS), but when i click on the links, the app page just reloads. i had a look at the html of the app as it's rendered by FB, and each of my links has an onclik event on it, that after creating a new image, returns false.
i tried doing linkDomObjectHandle.purgeEventListeners('click'), but as i expected, that didn't do much.
does anyone know of a way to get this to work?
edit: tested, and "right-click -> open in new tab" and middle-click both do what is expected. just the left click event gets hijacked.
edit:
some code snippets:
i have a template that is cloned, filled and the clone is appended to an element. here is the html of the template:
<div id="hover_window">
<a href="">
<img src="">
<div class="article_info">
<div class="client_info"></div>
<div class="media_info"></div>
</div>
</a>
</div>
i fill the link by doing:
var hover_window = document.getElementById('hover_window').cloneNode(true);
hover_window.setClassName('active_hover_window');
hover_window.getFirstChild().setHref(targetLink.getHref());
i tried adding both target="_blank" to the html and .setTarget("_blank") to the FBJS, to no avail.
pls advise.
This works in my facebook profile tab-app
Link targetting _blank for me
Link test
Facebook edits this link and adds "target" depending on the href-url specified. If it is an internal facebook target, it targets the current frame, if it is and external url, it targets blank. Please just try the link above and see if it works for you (and remove all that javascript and stuff you have)

Resources