Constituency PB-16 (Loralai-III)
PB-16 (Loralai-III) is a constituency of the Provincial Assembly of Balochistan in Pakistan.
Constituency for the Provincial Assembly of Balochistan | |
Current constituency |
---|
General elections 2013
Contesting candidates | Party affiliation | Votes polled |
---|---|---|
General elections 2008
Contesting candidates | Party affiliation | Votes polled |
---|---|---|
gollark: ```javascript// ==UserScript==// @name DC Egg Time Getter// @namespace http://tampermonkey.net/// @match https://dragcave.net/view/*// @grant none// ==/UserScript==function getCapture(text, regex, def) { const result = text.match(regex); if (result === null || result === undefined) { if (def === undefined) { throw new Error("Text did not match regex."); } else { return def; } } else { return result[1]; }}const text = document.body.textContent;const days = parseInt(getCapture(text, /in: (\d+) day/, 0));const hours = parseInt(getCapture(text, /and (\d+) hour/, 0));const allHours = (days * 24) + hours;const storage = window.localStorage;const lastTime = storage.remainingTime;console.log("Time Remaining:", allHours);// check for low-ER timesif (allHours < 72) { console.log("Egg/Hatchling in low ER!"); if (lastTime !== allHours.toString()) { const d = new Date(); localStorage.changeTime = d.getTime().toString(); console.log("WAS", lastTime, "NOW", allHours) console.log("Hour Change Time FOUND!"); } else { storage.remainingTime = allHours; setTimeout(() => window.location.reload(), 2000); }}```Probably suboptimal, but I was in a hurry.
gollark: It worked quite well, though I did have to manually narrow them down a bit.
gollark: To get around all the work of refreshing for an hour, I made a userscript to refresh every few seconds and check if the time changes.
gollark: I did *almost* that.
gollark: Free, want ND or 2G prize.
References
External links
- Election commission Pakistan's official website
- Awazoday.com check result
- Balochistan's Assembly official site
This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.