This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Unity Forum Search : AutoSelect current board item inside Search select list (based on referrer url) | |
// @namespace https://unitycoder.com | |
// @version 1 | |
// @include https://forum.unity.com/search/?type=post | |
// @grant none | |
// ==/UserScript== | |
// more info https://unitycoder.com/blog/2021/05/26/unity-forums-auto-select-current-subforum-in-search-greasemonkey-script/ | |
// get referring board url |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'dart:io'; | |
import 'package:firedart/firedart.dart'; | |
import 'package:hive/hive.dart'; | |
/// Stores tokens using a Hive store. | |
/// Depends on the Hive plugin: https://pub.dev/packages/hive | |
class HiveStore extends TokenStore { | |
static const keyToken = "auth_token"; |