增加網址:
文章備註、標題(會記錄下來,但是暫時不會顯示):
[綜合]無題 無名 ID:Fekuf34U 2018/03/04(日) 19:59:27.821 No.11021691
評分:0, 年:0, 月:0, 週:0, 日:0, [+1 / -1] 最後更新:2018-03-05 04:08:40
附圖
寫了一個userscript
把綜合回復成原來樣子
[aa]
// ==UserScript==
// @name New Userscript
// @namespace http://tampermonkey.net/
// @version 0.1
// @description try to take over the world!
// @author You
// @include http://rem.komica2.net/00/*
// @grant none
// ==/UserScript==

(function() {
'use strict';

function _setStyle(s) {
$('.second-style').each(function(){
$(this).attr('href', '/custom_css');
});
}

function styleChoose() {
var set = '';
try {
set = $.cookie("theme");
} catch (e) {
set = '';
}

if(set && set != '') {
$('#theme-selector').val(set);
}

$('#theme-selector').change(function() {
var theme = $(this).val();

try {
$.cookie("theme", theme, {
path: '/',
expires: 365
});
} catch(e) {}
_setStyle(theme);
});
}

const toplink = document.getElementById("toplink");
var newtoplink = "";
newtoplink += "[<a href=\"//komica.org/\" target=\"_top\">回首頁</a>] [<a href=\"pixmicat.php?mode=search\">搜尋</a>] ";
newtoplink += "[<a href=\"pixmicat.php?mode=module&amp;load=mod_threadlist\">檔案區</a>] [<a href=\"pixmicat.php?mode=admin\">管理區</a>] [<a href=\"index.htm?\">重新整理</a>]\n";
newtoplink += "<div style=\"display:inline-block;\">\n";
newtoplink += "<select id=\"theme-selector\">\n";
newtoplink += " <option value=\"\">預設</option>\n";
newtoplink += " <option value=\"dark.css\">夜間</option>\n";
newtoplink += "</select>\n</div>";
toplink.innerHTML = newtoplink;

const postinfo = document.getElementById("postinfo");
var newpostinfo = "";
newpostinfo += "<ul><li>可附加圖檔類型:GIF, JPG, JPEG, PNG, WEBM,瀏覽器才能正常附加圖檔</li><li>附加圖檔最大上傳資料量為 3072 KB。</li><li>當檔案超過寬 250 像素、高 250 像素時會自動縮小尺寸顯示</li>\n\n";
newpostinfo += "<li>AA可使用 [aa][/aa] 防止變形</li>\n\n";
newpostinfo += "<li>鬧板、攻擊性發言、煽動性發言請無視(回應者也無視),並使用del或在貓管理部向管理員回報。</li>\n</ul>";
postinfo.innerHTML = newpostinfo;

styleChoose();
})();
[/aa]
無題 無名 ID:Fekuf34U 2018/03/04(日) 20:01:01.726 No.11021706
重貼
// ==UserScript==
// @name New Userscript
// @namespace http://tampermonkey.net/
// @version 0.1
// @description try to take over the world!
// @author You
// @include http://rem.komica2.net/00/*
// @grant none
// ==/UserScript==

(function() {
'use strict';

function _setStyle(s) {
$('.second-style').each(function(){
$(this).attr('href', '/custom_css');
});
}

function styleChoose() {
var set = '';
try {
set = $.cookie("theme");
} catch (e) {
set = '';
}

if(set && set != '') {
$('#theme-selector').val(set);
}

$('#theme-selector').change(function() {
var theme = $(this).val();

try {
$.cookie("theme", theme, {
path: '/',
expires: 365
});
} catch(e) {}
_setStyle(theme);
});
}

const toplink = document.getElementById("toplink");
var newtoplink = "";
newtoplink += "[<a href=\"//komica.org/\" target=\"_top\">回首頁</a>] [<a href=\"pixmicat.php?mode=search\">搜尋</a>] ";
newtoplink += "[<a href=\"pixmicat.php?mode=module&amp;load=mod_threadlist\">檔案區</a>] [<a href=\"pixmicat.php?mode=admin\">管理區</a>] [<a href=\"index.htm?\">重新整理</a>]\n";
newtoplink += "<div style=\"display:inline-block;\">\n";
newtoplink += "<select id=\"theme-selector\">\n";
newtoplink += " <option value=\"\">預設</option>\n";
newtoplink += " <option value=\"dark.css\">夜間</option>\n";
newtoplink += "</select>\n</div>";
toplink.innerHTML = newtoplink;

const postinfo = document.getElementById("postinfo");
var newpostinfo = "";
newpostinfo += "<ul><li>可附加圖檔類型:GIF, JPG, JPEG, PNG, WEBM,瀏覽器才能正常附加圖檔</li><li>附加圖檔最大上傳資料量為 3072 KB。</li><li>當檔案超過寬 250 像素、高 250 像素時會自動縮小尺寸顯示</li>\n\n";
newpostinfo += "<li>AA可使用 [aa][/aa] 防止變形</li>\n\n";
newpostinfo += "<li>鬧板、攻擊性發言、煽動性發言請無視(回應者也無視),並使用del或在貓管理部向管理員回報。</li>\n</ul>";
postinfo.innerHTML = newpostinfo;

styleChoose();
})();
無題 無名 ID:vEW12wvw 2018/03/04(日) 20:06:45.733 No.11021772
附圖
是還不錯啦
不過怎麼那些自體高潮的外來種沒半個理你?
這次不是夜間垃圾板我就不裝了
純推不下
無題 無名 ID:tqOq/24w 2018/03/04(日) 20:11:28.006 No.11021819
附圖
>>11021772
他們就跟黨工一樣只想批鬥釣魚
一搬出解決方法又視若無睹
拍拍
無題 無名 ID:mAQdzdTc 2018/03/04(日) 20:18:21.935 No.11021879
回覆: >>11021891
>>11021772
我覺得拉
跟著下去瞎攪和
你也跟外來種沒兩樣
無題 無名 ID:vEW12wvw 2018/03/04(日) 20:19:17.751 No.11021891
回覆: >>11022015
>>11021879
我覺得拉
跟著下來瞎攪和
你也跟外來種沒兩樣
無題 無名 ID:W2APvmi6 2018/03/04(日) 20:30:05.211 No.11022015
回覆: >>11022113
>>11021891
這個塗鴉廚沒救了= =
無題 無名 ID:vEW12wvw 2018/03/04(日) 20:39:27.394 No.11022113
附圖
>>11022015
我不自稱是塗鴉廚已經有近兩年了