-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
wolfd
committed
Nov 5, 2014
0 parents
commit 1d578e9
Showing
4 changed files
with
57 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
this is terrible | ||
---------------- | ||
but it got me a Nexus 6 after awhile |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
// Stolen from Teresa Krause | ||
var head = document.head || document.documentElement; | ||
|
||
//The url where this chrome extension's files live | ||
var ext_url = chrome.extension.getURL(''); | ||
|
||
//Allow the embedded js access to our directory | ||
var script2 = document.createElement('script'); | ||
script2.textContent = 'var ext_url = "' + ext_url + '";'; | ||
head.appendChild(script2); | ||
|
||
//Insert js to overwrite variables | ||
var script1 = document.createElement('script'); | ||
script1.src = ext_url + 'iwantnexus.js'; | ||
head.appendChild(script1); |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{ | ||
"name": "I want nexus", | ||
"description": "I want nexus", | ||
"version": "0.0.1", | ||
"content_scripts": [ | ||
{ | ||
"matches": ["https://play.google.com/store/devices/*"], | ||
"js": ["insertion.js"] | ||
} | ||
], | ||
"web_accessible_resources": [ | ||
"iwantnexus.js" | ||
], | ||
"manifest_version": 2 | ||
} |