[TS] Pixiv++ V3 alpha

Development has halted until I have more time. Pixiv uses async page loading, which broke some aspects of this script. Ultimate Pixiv Script: Direct Links, Auto-Paging, Preview, IQDB/Danbooru, Filter/Sort using Bookmark,views,rating,total score. | Safe Search | plus more. Works best with "Pixiv++ Manga Viewer" and "Generic Image Viewer". 自動ページング|ポケベル|ロード次ページ|フィルター|並べ替え|注文|ダイレクトリンク

< Valutazione su [TS] Pixiv++ V3 alpha

Recensione: Bene - lo script funziona

§
Pubblicato: 18/04/2017

All Features No Longer Appearing, Possibly Due To Site Revision?

Nothing from any of my pixiv scripts are showing up (Generic Image Viewer, Pixiv Manga Viewer, Pixiv++, or Pixiv Translation Plus) at all on the site. Not sure what could be causing the issue, has anyone else had this problem? I'm currently running Firefox 52.0.2, the site was working fine just the other day (maybe 2 days ago?).

I also noticed that there aren't a whole lot of places to talk about Pixiv Greasemonkey scripts online other than here. Everywhere else seems to be dead as far as updates or discussion is concerned. Is there anywhere else to ask questions like this? Especially for any sort of pixiv translation scripts.

Thanks.

§
Pubblicato: 18/04/2017

Pixiv seems to have gone full https (instead of doing it only for images) recently, I just replaced every instance of "http" with "https" on the script and it seems to be working now.

§
Pubblicato: 18/04/2017
Modificato: 18/04/2017

Yep, site now https:// only.
Thus, you need to edit this:


var IsIllustrationPage = (document.URL.indexOf("https://www.pixiv.net/member_illust.php?") != -1 && document.URL.match(/mode=medium/i) != null);
var Illustrations = {};

/*
00 Illustration page
01 Front page
03 Artist work page
04 Personal Work page
05 Personal Bookmarks page
06 Artist Bookmark
07 Works from favourite artists
07 New illustrations
09 Search
10 Bookmark recommendations */
var PAGETYPE = (function ()
{
var pathname = document.location.pathname;
if (IsIllustrationPage) return 0;
else if (document.URL.match(/https:\/\/www\.pixiv\.net\/((cate_r18|mypage|member)\.php|$)/i)) return 1;
else if (document.URL.match(/https:\/\/www\.pixiv\.net\/member_illust\.php\?id/i)) return 3; //Artist Work Page
else if (document.URL.match(/https:\/\/www\.pixiv\.net\/member_illust\.php/i)) return 4; //Personal Work Page
else if (document.URL.match(/https:\/\/www\.pixiv\.net\/bookmark\.php/i)) return 5; //Personal Bookmarks, Added new bookmarks
else if (document.URL.match(/https:\/\/www\.pixiv\.net\/bookmark\.php\?id=/i)) return 6; //Artist Bookmark
else if (document.URL.match(/https:\/\/www\.pixiv\.net\/bookmark_new_illust(_r18)?\.php/i)) return 7; //Works from favourite artists
else if (document.URL.match(/https:\/\/www\.pixiv\.net\/new_illust(_r18)?\.php/i)) return 8; //New illustrations
else if (pathname == "/bookmark_detail.php") return 10;
else if (document.URL.match(/https:\/\/www\.pixiv\.net\/search\.php\?/i)) return 9; //Search

return -1;
})();

And change or add https include:


// @include http://www.pixiv.net/*
// @include https://www.pixiv.net/*

Edits above will provide some basic functionality, but one will need to go through code and change http -> https. Or, in any proper editor - replace all.[do it at your own risk]
Well, actually regexes should be changed properly, but well. It's not like you can use http version...
And translation script is broken too. Good job pixiv. "Security" ftw.

§
Pubblicato: 18/04/2017

"original image link" feature also broken again, just like last week lol. Sadly the above fixes doesn't undo that, hopefully an update comes soon!

TimidScriptAutore
§
Pubblicato: 18/04/2017
Modificato: 18/04/2017

Released a new version. Added Suffix V3 as my own version is version 4 alpha, which wasn't broken by the changes XD.

More details found here: https://github.com/TimidScript/UserScripts/issues/13

It's a temporary quickfix until I get more time to finsh Version 4.

§
Pubblicato: 18/04/2017

Gotcha. Thanks for the tips guys. I'll have to go through the translation script and do some replacing, then.

Pubblica risposta

Accedi per pubblicare una risposta.