...

Дата: Вівторок, 18 Квітень 2017 12:28 (UTC)
Від: [personal profile] ichthuss
Я розібрався, що там за проблема. Якщо нова (бета) сторінка створення повідомлення не увіменена в налаштуваннях, скрипт не спрацьовує, бо URL сторінки перепосту /update, а не /entry/new. Швидкий фікс:

--- a/DreamWidth_Reposter.user.js	2017-03-24 14:59:57.000000000 +0200
+++ b/DreamWidth_Reposter.user.js	2017-04-18 15:22:51.561341936 +0300
@@ -79,5 +79,5 @@
   const CLS_EMBED         = "lj_embedcontent-wrapper";
 
-  const POST_URL = "http://www.dreamwidth.org/update";
+  const POST_URL = "https://www.dreamwidth.org/entry/new";
   const POST_URL2 = "/entry/new";
   const REPOST_PARAM="repost";

Щоправда, цей варіант примусово видасть нову сторінку незалежно від налаштувань.
This account has disabled anonymous posting.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

If you are unable to use this captcha for any reason, please contact us by email at support@dreamwidth.org

Сторінку створено Неділя, 6 Липень 2025 20:59

Травень 2025

П В С Ч П С Н
   1 234
567891011
12131415161718
192021222324 25
262728293031 
Створено з Dreamwidth Studios

За стиль дякувати