new plugin ipas-link #118

merged 2 commits into from Apr 4, 2013


None yet
3 participants

Xosofox commented Apr 4, 2013

For opening a portal in IPAS - Ingress Portal Attack Simulator
as seen on

(and adding *.swp to .gitignore)

@Xosofox Xosofox new plugin ipas-link
For opening a portal in IPAS - Ingress Portal Attack Simulator

@breunigs breunigs and 1 other commented on an outdated diff Apr 4, 2013

+function wrapper() {
+// ensure plugin framework is there, even if iitc is not yet loaded
+if(typeof window.plugin !== 'function') window.plugin = function() {};
+// PLUGIN START ////////////////////////////////////////////////////////
+// use own namespace for plugin
+window.plugin.ipasLink = function() {};
+window.plugin.ipasLink.setupCallback = function() {
+ addHook('portalDetailsUpdated', window.plugin.ipasLink.addLink);
+window.plugin.ipasLink.addLink = function(d) {
+ $('.linkdetails').append('<aside><a href="' + window.plugin.ipasLink.getHash(d.portalDetails) + '" target="ipaswindow">attack!</a></aside>');

breunigs Apr 4, 2013


better name this “simulate attack” or so, because “attack!” is really misleading.


Xosofox Apr 4, 2013


You're right! My hope was that a short "attack" would not break to the new line and look that crappy (
So I'll change the link, but need to invetigate how to fix the layout

@jonatkins jonatkins added a commit that referenced this pull request Apr 4, 2013

@jonatkins jonatkins Merge pull request #118 from Xosofox/ipaslink
new plugin ipas-link

@jonatkins jonatkins merged commit b664e0a into iitc-project:master Apr 4, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment