diff options
8 files changed, 46 insertions, 3 deletions
diff --git a/inc/3rdparty/site_config/standard/blog.niqnutn.com.txt b/inc/3rdparty/site_config/standard/blog.niqnutn.com.txt new file mode 100644 index 00000000..aa2f1865 --- /dev/null +++ b/inc/3rdparty/site_config/standard/blog.niqnutn.com.txt | |||
@@ -0,0 +1,9 @@ | |||
1 | # Generated by FiveFilters.org's web-based selection tool | ||
2 | # Place this file inside your site_config/custom/ folder | ||
3 | # Source: http://siteconfig.fivefilters.org/grab.php?url=http%3A%2F%2Fblog.niqnutn.com%2Farticle35%2Fsteganographie-l-art-de-dissimuler-un-message | ||
4 | |||
5 | body: //article[contains(concat(' ',normalize-space(@class),' '),' article-content ')]//section | ||
6 | |||
7 | strip_id_or_class: sommaire | ||
8 | |||
9 | test_url: http://blog.niqnutn.com/article35/steganographie-l-art-de-dissimuler-un-message | ||
diff --git a/inc/3rdparty/site_config/standard/gokulkrishh.github.io.txt b/inc/3rdparty/site_config/standard/gokulkrishh.github.io.txt new file mode 100644 index 00000000..b395fa9e --- /dev/null +++ b/inc/3rdparty/site_config/standard/gokulkrishh.github.io.txt | |||
@@ -0,0 +1,6 @@ | |||
1 | # Generated by FiveFilters.org's web-based selection tool | ||
2 | # Place this file inside your site_config/custom/ folder | ||
3 | # Source: http://siteconfig.fivefilters.org/grab.php?url=https%3A%2F%2Fgokulkrishh.github.io%2FJavascript-Guidelines%2F | ||
4 | |||
5 | body: //section[contains(concat(' ',normalize-space(@class),' '),' main-content ')] | ||
6 | test_url: https://gokulkrishh.github.io/Javascript-Guidelines/ | ||
diff --git a/inc/3rdparty/site_config/standard/hackersrepublic.org.txt b/inc/3rdparty/site_config/standard/hackersrepublic.org.txt new file mode 100644 index 00000000..da01c213 --- /dev/null +++ b/inc/3rdparty/site_config/standard/hackersrepublic.org.txt | |||
@@ -0,0 +1,6 @@ | |||
1 | # Generated by FiveFilters.org's web-based selection tool | ||
2 | # Place this file inside your site_config/custom/ folder | ||
3 | # Source: http://siteconfig.fivefilters.org/grab.php?url=http%3A%2F%2Fwww.hackersrepublic.org%2Fculture-du-hacking%2Fune-histoire-de-privileges | ||
4 | |||
5 | body: //div[contains(concat(' ',normalize-space(@class),' '),' field-name-body ')]//div[contains(concat(' ',normalize-space(@class),' '),' field-items ')]//div[contains(concat(' ',normalize-space(@class),' '),' field-item ') and (contains(concat(' ',normalize-space(@class),' '),' even '))] | ||
6 | test_url: http://www.hackersrepublic.org/culture-du-hacking/une-histoire-de-privileges | ||
diff --git a/inc/3rdparty/site_config/standard/metrocop.net.txt b/inc/3rdparty/site_config/standard/metrocop.net.txt new file mode 100644 index 00000000..9535f125 --- /dev/null +++ b/inc/3rdparty/site_config/standard/metrocop.net.txt | |||
@@ -0,0 +1,6 @@ | |||
1 | # Generated by FiveFilters.org's web-based selection tool | ||
2 | # Place this file inside your site_config/custom/ folder | ||
3 | # Source: http://siteconfig.fivefilters.org/grab.php?url=http%3A%2F%2Fmetrocop.net%2Fmythic-comics%2Fissue-1%2F | ||
4 | |||
5 | body: //div[contains(concat(' ',normalize-space(@class),' '),' entry ')] | ||
6 | test_url: http://metrocop.net/mythic-comics/issue-1/ | ||
diff --git a/inc/3rdparty/site_config/standard/pérotin.com.txt b/inc/3rdparty/site_config/standard/pérotin.com.txt new file mode 100644 index 00000000..7784fa4c --- /dev/null +++ b/inc/3rdparty/site_config/standard/pérotin.com.txt | |||
@@ -0,0 +1,6 @@ | |||
1 | # Generated by FiveFilters.org's web-based selection tool | ||
2 | # Place this file inside your site_config/custom/ folder | ||
3 | # Source: http://siteconfig.fivefilters.org/grab.php?url=xn--protin-bva.com%2Fpost%2F2009%2F06%2F09%2FSAV-Free-un-sketch-kafkaien | ||
4 | |||
5 | body: //div[contains(concat(' ',normalize-space(@class),' '),' post ')] | ||
6 | test_url: http://xn--protin-bva.com/post/2009/06/09/SAV-Free-un-sketch-kafkaien | ||
diff --git a/inc/3rdparty/site_config/standard/reddit.com.txt b/inc/3rdparty/site_config/standard/reddit.com.txt index ba342c7c..c3f2d3e5 100755 --- a/inc/3rdparty/site_config/standard/reddit.com.txt +++ b/inc/3rdparty/site_config/standard/reddit.com.txt | |||
@@ -7,7 +7,9 @@ author: //p[@class="tagline"]/a | |||
7 | # this doesn't work for some reason...? | 7 | # this doesn't work for some reason...? |
8 | date: //p[@class="tagline"]//@datetime | 8 | date: //p[@class="tagline"]//@datetime |
9 | 9 | ||
10 | body: (//div[contains(@class, 'noncollapsed')]//div[contains(@class, 'usertext-body')])[1] | 10 | #body: (//div[contains(@class, 'noncollapsed')]//div[contains(@class, 'usertext-body')])[1] |
11 | |||
12 | body: //div[contains(concat(' ',normalize-space(@class),' '),' usertext-body ') and (contains(concat(' ',normalize-space(@class),' '),' may-blank-within ')) and (contains(concat(' ',normalize-space(@class),' '),' md-container '))]//div[contains(concat(' ',normalize-space(@class),' '),' md ')] | ||
11 | 13 | ||
12 | strip_id_or_class: tagline | 14 | strip_id_or_class: tagline |
13 | strip_id_or_class: unvotable-message | 15 | strip_id_or_class: unvotable-message |
@@ -18,4 +20,4 @@ single_page_link: //p[@class="title"]/a[contains(@href, 'http://')] | |||
18 | 20 | ||
19 | test_url: http://www.reddit.com/r/truegaming/comments/wfe7r/i_wrote_about_the_problems_i_honestly_feel_that/ | 21 | test_url: http://www.reddit.com/r/truegaming/comments/wfe7r/i_wrote_about_the_problems_i_honestly_feel_that/ |
20 | test_url: http://www.reddit.com/r/worldnews/comments/1as37r/twelve_north_korean_soldiers_attempting_to_defect/ | 22 | test_url: http://www.reddit.com/r/worldnews/comments/1as37r/twelve_north_korean_soldiers_attempting_to_defect/ |
21 | test_url: http://www.reddit.com/r/WritingPrompts/comments/2786lw/wp_in_a_world_where_puns_are_illegal_one_man/chybk8e \ No newline at end of file | 23 | test_url: http://www.reddit.com/r/WritingPrompts/comments/2786lw/wp_in_a_world_where_puns_are_illegal_one_man/chybk8e |
diff --git a/inc/3rdparty/site_config/standard/spiil.org.txt b/inc/3rdparty/site_config/standard/spiil.org.txt new file mode 100644 index 00000000..dd12fb88 --- /dev/null +++ b/inc/3rdparty/site_config/standard/spiil.org.txt | |||
@@ -0,0 +1,6 @@ | |||
1 | # Generated by FiveFilters.org's web-based selection tool | ||
2 | # Place this file inside your site_config/custom/ folder | ||
3 | # Source: http://siteconfig.fivefilters.org/grab.php?url=https%3A%2F%2Fwww.spiil.org%2Fguide-bonnes-pratiques-editeurs-de-presse-ligne | ||
4 | |||
5 | body: //div[contains(concat(' ',normalize-space(@class),' '),' node-content ')] | ||
6 | test_url: https://www.spiil.org/guide-bonnes-pratiques-editeurs-de-presse-ligne | ||
diff --git a/themes/_global/js/keyboard.js b/themes/_global/js/keyboard.js index 4469248d..48f60a09 100644 --- a/themes/_global/js/keyboard.js +++ b/themes/_global/js/keyboard.js | |||
@@ -144,5 +144,7 @@ function goSelectPrev(selectedArticle,number) { | |||
144 | } | 144 | } |
145 | 145 | ||
146 | function enterArticle(selectedArticle) { | 146 | function enterArticle(selectedArticle) { |
147 | window.location = selectedArticle.find('a:first').attr('href'); | 147 | if (!$("#bagit").hasClass("current")) { |
148 | window.location = selectedArticle.find('a:first').attr('href'); | ||
149 | } | ||
148 | } \ No newline at end of file | 150 | } \ No newline at end of file |