Git Product home page Git Product logo

destroyed-links-simulator-bookmarks-integration's Introduction

Bookmarks Integration for Destroyed Links Simulator

Stores Destroyed Links Simulator information into Bookmarks

This is a plugin for Ingress Intel Total Conversion (IITC).

Overview

At the time this integration was created, "Destroyed Links Simulator" does not support storing its data into the browser local storage, therefore starting with no memory each time IITC is loaded/reloaded.

It support export for bookmarks, but then it's not possible to get back the bookmarked portals into "Destroyed Links Simulator".

"Bookmarks for maps and portals" does instead fully support local storage so its data are persisted through IITC sessions/reloads.

This integration seamlessly stores and retrieves the Destroyed Links Simulator "destroy" portals status to/from the Bookmarks data object.

When the integration is active, Destroyed Links Simulator markers are not shown at all, Portal Bookmarks markers visibility can be managed with more flexibility.

Installation

Click here and your userscript manager should do it.

Requirements

This plugin integrates and therefore requires:

Usage

When the "Destroy" button is pressed the integration looks into the bookmarks for the portal. If the portal has not yet been bookmarked, it will be automatically added to the root portal bookmarks folder.

The Destroy status is then stored in the portal bookmark data. When reversing through the "Regenerate" button, the destroy status is updated.

If a "Destroy" flagged portal is removed from the bookmarks (or its containing folder is deleted), the portal is also regenerated in Destroyed Links Simulator.

Destroyed Links Simulator is synced when Bookmarks are loaded at startup, when resetted and when imported.

Compatibility

The integration has been tested with the following versions (current at the time of writing):

  • Bookmarks version 0.2.12.20170108.21732
  • Destroyed Links Simulator version 0.0.7.20180217.123738

Modifications of both plugins might work as long as they do not change the original plugin behavior too much.

Bookmarks modifications implementing Bookmarks sharing will work as long as they will correctly run the pluginBkmrksEdit hook for all.import event after having correctly updated the window.plugin.bookmarks.bkmrksObj object.

Changelog

  • 2019-06-13 (version 1.4)
    • Major bugfix in setup logic!
  • 2019-06-11 (version 1.3)
    • bugfix
  • 2019-06-11 (version 1.2)
    • init will not run twice
  • 2019-06-10 (version 1.1)
    • regenerateAllPortals managed
    • window.plugin.bookmarks.saveStorage not called when not needed
  • 2019-06-10 (version 1.0)
    • Initial Release

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.