Skip to content

Commit

Permalink
Various cleanups and version up;
Browse files Browse the repository at this point in the history
Code to process lazy-loading images;
Code to replace relative img URLs to full;
Code for height check of resulting document (detect empty inserts);
  • Loading branch information
Dither committed Jun 7, 2016
1 parent b088632 commit c791327
Show file tree
Hide file tree
Showing 13 changed files with 127 additions and 217 deletions.
2 changes: 1 addition & 1 deletion _locales/en_US/messages.json
Expand Up @@ -20,7 +20,7 @@
"noiframe":{
"message":"Disable extension in frames"
},
"remain_height":{
"remaining_height":{
"message":"Scroll height before next page"
},
"debugmode":{
Expand Down
2 changes: 1 addition & 1 deletion _locales/ja/messages.json
Expand Up @@ -20,7 +20,7 @@
"noiframe":{
"message":"フレーム内では起動させない"
},
"remain_height":{
"remaining_height":{
"message":"読み込みを開始する位置"
},
"debugmode":{
Expand Down
5 changes: 1 addition & 4 deletions config.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<widget xmlns="http://www.w3.org/ns/widgets" version="1.9.8" id="https://dithersky.wordpress.com/2012/01/28/mod-autopatchwork/">
<widget xmlns="http://www.w3.org/ns/widgets" version="1.9.9" id="https://dithersky.wordpress.com/2012/01/28/mod-autopatchwork/">
<name>AutoPatchWorkMod</name>
<description xml:lang="en">Automatically loads next pages and inserts into the current one.</description>
<description xml:lang="ru">Автоматически подгружает следующие странички при просмотре.</description>
Expand All @@ -15,9 +15,6 @@
<preference name="disabled_sites" value="" />
<preference name="disabled_sites" value="" />
<preference name="siteinfo_wedata" value="" />
<preference name="check_crc" value="" />
<preference name="enable_acceleration" value="" />
<!--<update-description href="https://raw.github.com/Dither/AutoPatchWorkOpera/master/update.xml" />-->
<license href="http://www.opensource.org/licenses/mit-license.php">Licensed under the Open Source Initiative OSI - The MIT License (MIT);
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
Expand Down
2 changes: 1 addition & 1 deletion css/main.css
Expand Up @@ -45,7 +45,7 @@
margin: 0 !important;
padding: 0 7px 2px !important;
font-size: 14px !important;
line-height: 14px !important;;
line-height: 14px !important;
background: #fff none repeat scroll 0% 0% !important;
background-clip: border-box !important;
background-origin: padding-box !important;
Expand Down
12 changes: 6 additions & 6 deletions css/options.css
Expand Up @@ -62,7 +62,7 @@ ul, li, section, div, button{
overflow: hidden;
padding: 0 10px;
text-align: center;
width: 720px;
width: 700px;
}

.tabbox .tabs li {
Expand Down Expand Up @@ -396,12 +396,12 @@ input[type="range"]{
.MSG_open_siteinfo_manager:lang(ru) {content: 'Управление SITEINFO'}
.MSG_auto_start:lang(ru) {content: 'Автозапуск расширения'}
.MSG_open_newtab:lang(ru) {content: 'Исправлять аттрибут target у ссылок на _blank'}
.MSG_check_crc:lang(ru) {content: 'Проверять CRC страниц на повторы (потеря совместимости)'}
.MSG_enable_acceleration:lang(ru) {content: 'Включить ускорение вставки (потеря совместимости)'}
.MSG_check_crc:lang(ru) {content: 'Проверять CRC страниц на повторы'}
.MSG_enable_acceleration:lang(ru) {content: 'Включить ускорение вставки страниц'}
.MSG_noiframe:lang(ru) {content: 'Отключать расширение в фреймах'}
.MSG_change_address:lang(ru) {content: 'Изменять текущий адрес при добавлении'}
.MSG_bottom_bar:lang(ru) {content: 'Включить статусбар (может подтормаживать)'}
.MSG_remain_height:lang(ru) {content: 'Высота прокрутки до загрузки:'}
.MSG_bottom_bar:lang(ru) {content: 'Включить статусбар'}
.MSG_remaining_height:lang(ru) {content: 'Высота прокрутки до загрузки:'}
.MSG_debugmode:lang(ru) {content: 'Отладочные сообщения'}
.MSG_exclude_filter:lang(ru) {content: 'Исключение сайтов по фильтру:'}
/*
Expand Down Expand Up @@ -438,7 +438,7 @@ input[type="range"]{
.MSG_noiframe:lang(ja) {content: 'フレーム内では起動させない'}
.MSG_change_address:lang(ja) {content: '継ぎ足しした時、URL を継ぎ足した URL で置き換える'}
.MSG_bottom_bar:lang(ja) {content: 'ページ下部にステータスを表示'}
.MSG_remain_height:lang(ja) {content: '読み込みを開始する位置:'}
.MSG_remaining_height:lang(ja) {content: '読み込みを開始する位置:'}
.MSG_debugmode:lang(ja) {content: 'デバッグモード'}
.MSG_exclude_filter:lang(ja) {content: '特定URLを除外するためのルール:'}
/*
Expand Down

0 comments on commit c791327

Please sign in to comment.