議論 » 開発

Advise on an alternative to GET queries for revoking a setting

§
投稿日: 2024/05/19

Good day!

Newspaper is an HTML feed renderer. By default it displays maximum 5 entries. Upon clicking on "See more news" it displays all entries. It does so by adding streamburner_active=0 query to the URL.

I would be glad to receive an advise about a different mean to ignore a setting.

I was thinking on changing a setting with GM.getValue/GM.setValue (e.g. "load all" = true) and to revoke that setting (i.e. false) upon click/mouse event - after rendering task is done.

Please advise,

Schimon

§
投稿日: 2024/05/22

Done.

See https://greasyfork.org/en/scripts/465932-newspaper-html-feed-reader/diff?v1=1380661&v2=1379278

No need for GM.getValue/GM.setValue.

A boolean variable was enough.

返信を投稿

返信を投稿するにはログインしてください。