diff options
Diffstat (limited to 'data/extensions/SubmitMe@0xbeef.coffee')
16 files changed, 0 insertions, 529 deletions
diff --git a/data/extensions/SubmitMe@0xbeef.coffee/License b/data/extensions/SubmitMe@0xbeef.coffee/License deleted file mode 100644 index b5a65bb..0000000 --- a/data/extensions/SubmitMe@0xbeef.coffee/License +++ /dev/null @@ -1,7 +0,0 @@ -Copyright (C) 2017 Nathan Nichols - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL NATHAN NICHOLS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/data/extensions/SubmitMe@0xbeef.coffee/META-INF/manifest.mf b/data/extensions/SubmitMe@0xbeef.coffee/META-INF/manifest.mf deleted file mode 100644 index 3589f61..0000000 --- a/data/extensions/SubmitMe@0xbeef.coffee/META-INF/manifest.mf +++ /dev/null @@ -1,67 +0,0 @@ -Manifest-Version: 1.0 - -Name: background.js -Digest-Algorithms: MD5 SHA1 -MD5-Digest: YzgZsc8pIzxKQl3hOSbXbA== -SHA1-Digest: vRFNa8dD6SIYJLe76PyyxBAhjwM= - -Name: improve_css.js -Digest-Algorithms: MD5 SHA1 -MD5-Digest: r9yCr5Gq9KKGCBAqchqckg== -SHA1-Digest: DFhj5jTJVXhfEE7HVUz6h7JHd1E= - -Name: License -Digest-Algorithms: MD5 SHA1 -MD5-Digest: Gm39a/qnCG3uf9EcuPBVMw== -SHA1-Digest: RuxC7X//13rkWB4UkyLaA8pFg+0= - -Name: main.js -Digest-Algorithms: MD5 SHA1 -MD5-Digest: X8CEMRmGQ5jvunlVTVnsZg== -SHA1-Digest: hK5Y/HSqA/pK/eLQEmuejONMQxU= - -Name: manifest.json -Digest-Algorithms: MD5 SHA1 -MD5-Digest: yhzzahp5eeg93Blz91q/iQ== -SHA1-Digest: KC5MD4gPIS5Unps8mu4jJXjLxm0= - -Name: manual.js -Digest-Algorithms: MD5 SHA1 -MD5-Digest: M7TpHu8tKcYU2fl+boykHQ== -SHA1-Digest: e+zLK1abhJu6+FZWIkIT7x5C9Rg= - -Name: passive_improve_css.js -Digest-Algorithms: MD5 SHA1 -MD5-Digest: TxFaHuoWzq38nMMN6imFxA== -SHA1-Digest: 1L1plvtA+xaZuEcXOQE7+bnpDSs= - -Name: icons/16x16.png -Digest-Algorithms: MD5 SHA1 -MD5-Digest: DQYLJy5j8HCQQMWBom0PvA== -SHA1-Digest: L3qzeu85otC1/IrPC8CsZSFZLVk= - -Name: icons/16x16_2.png -Digest-Algorithms: MD5 SHA1 -MD5-Digest: NEdnIgE7tyZKOXG/VOVezw== -SHA1-Digest: cYWgJGqTbH9vSQtLMaq5GrU0xbc= - -Name: icons/48x48.png -Digest-Algorithms: MD5 SHA1 -MD5-Digest: pEPpbN5ttiXyPnhQzBKKrQ== -SHA1-Digest: 6lc40a+RRxqVcIsttO3TWsszjYg= - -Name: popup/popup.css -Digest-Algorithms: MD5 SHA1 -MD5-Digest: sI09LY624Ww1cE48VgCR5Q== -SHA1-Digest: rjAaLEFaqS6lW4KcK40dPEsptXI= - -Name: popup/popup.html -Digest-Algorithms: MD5 SHA1 -MD5-Digest: PolGMGbRFZc26ewgpBsAKg== -SHA1-Digest: Q4ZETG7Y/yeDJoMOLYVI9OJkoUM= - -Name: popup/popup.js -Digest-Algorithms: MD5 SHA1 -MD5-Digest: zocAaRgcEsEEFulzG3hM9w== -SHA1-Digest: 8MH/b7/SXm+w837qn4OCdcFG5CU= - diff --git a/data/extensions/SubmitMe@0xbeef.coffee/META-INF/mozilla.rsa b/data/extensions/SubmitMe@0xbeef.coffee/META-INF/mozilla.rsa Binary files differdeleted file mode 100644 index d183fb3..0000000 --- a/data/extensions/SubmitMe@0xbeef.coffee/META-INF/mozilla.rsa +++ /dev/null diff --git a/data/extensions/SubmitMe@0xbeef.coffee/META-INF/mozilla.sf b/data/extensions/SubmitMe@0xbeef.coffee/META-INF/mozilla.sf deleted file mode 100644 index 02f1f99..0000000 --- a/data/extensions/SubmitMe@0xbeef.coffee/META-INF/mozilla.sf +++ /dev/null @@ -1,4 +0,0 @@ -Signature-Version: 1.0 -MD5-Digest-Manifest: HYCCiuYf1Buzo/U4eILZoA== -SHA1-Digest-Manifest: ewIhLeejMTMu3zA1aDjOdwk8WlM= - diff --git a/data/extensions/SubmitMe@0xbeef.coffee/background.js b/data/extensions/SubmitMe@0xbeef.coffee/background.js deleted file mode 100644 index 7e8212a..0000000 --- a/data/extensions/SubmitMe@0xbeef.coffee/background.js +++ /dev/null @@ -1,164 +0,0 @@ -/*
-Copyright (C) 2017 Nathan Nichols
-Copyright (C) 2022 Ruben Rodriguez <ruben@gnu.org>
-
-Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL NATHAN NICHOLS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-*/
-
-console.log("background.js");
-var not_executing = true;
-//passive_fix_css();
-var notify_id = "submit-me";
-
-function display_multiple_forms(){
- browser.notifications.create(notify_id, {
- "type": "basic",
- "iconUrl": browser.extension.getURL("icons/48x48.png"),
- "title": "Multiple possible forms",
- "message": "The website uses a submit button outside of a form.<br> Please select which form you would like to attempt to submit."
- });
-};
-
-function display_single_form(){
- browser.notifications.create(notify_id, {
- "type": "basic",
- "iconUrl": browser.extension.getURL("icons/48x48.png"),
- "title": "Multiple possible forms",
- "message": "The website uses a submit button outside of a form.<br> Please select which form you would like to attempt to submit."
- });
-};
-
-browser.contextMenus.create({
- id: "passive-submit-me-css",
- title: "Reveal hidden elements",
- contexts: ["all"]
-});
-browser.contextMenus.create({
- id: "submit-me",
- title: "Force submit a form",
- contexts: ["all"]
-});
-browser.contextMenus.create({
- id: "submit-me-manual",
- title: "Manually choose a form to submit",
- contexts: ["all"]
-});
-browser.contextMenus.create({
- id: "submit-me-css",
- title: "Remove all CSS (Try this if the website is scrambled)",
- contexts: ["all"]
-});
-
-function display_manual_dialog(){
- function onExecuted(result) {
- console.log("manual.js executed.");
- not_executing = true;
- }
-
- function onError(error) {
- console.log("Error in manual.js");
- console.log(error);
- }
- var executing = browser.tabs.executeScript({
- file: "/manual.js",
- allFrames: true
- });
- executing.then(onExecuted, onError);
-}
-
-function passive_fix_css(){
- function onExecuted(result) {
- console.log("passive_improve_css.js executed.");
- not_executing = true;
- }
-
- function onError(error) {
- //not_executing = true;
- console.log("Error in passive_improve_css.js");
- console.log(error);
- }
- var executing = browser.tabs.executeScript({
- file: "/passive_improve_css.js",
- allFrames: true
- });
- //not_executing = false;
- executing.then(onExecuted, onError);
-}
-
-function fix_css(){
- function onExecuted(result) {
- console.log("improve_css.js executed.");
- not_executing = true;
- }
-
- function onError(error) {
- console.log("Error in improve_css.js");
- console.log(error);
- not_executing = true;
- }
- var executing = browser.tabs.executeScript({
- file: "/improve_css.js",
- allFrames: true
- });
- not_executing = false;
- executing.then(onExecuted, onError);
-}
-
-function input(message){
-
- if(message["msg"] == "multiple-forms"){
- display_manual_dialog();
- }
- if(message["msg"] == "add-on-invoked"){
- browser.notifications.create(notify_id, {
- "type": "basic",
- "iconUrl": browser.extension.getURL("icons/48x48.png"),
- "title": "Submit Me",
- "message": "Please click the button you would normally click to submit the broken form."
- });
- }
-};
-
-browser.runtime.onMessage.addListener(input);
-var show = false;
-
-browser.contextMenus.onClicked.addListener(function(info, tab) {
- console.log(info);
- if(info.menuItemId == "submit-me-manual" && not_executing){
- not_executing = false;
- display_manual_dialog();
- }
-
- if(info.menuItemId == "submit-me-css" && not_executing){
- not_executing = false;
- fix_css();
- }
- if(info.menuItemId == "passive-submit-me-css" && not_executing){
- not_executing = false;
- passive_fix_css();
- }
- if (info.menuItemId == "submit-me") {
- console.log("Context menu button clicked");
-
- function onExecuted(result) {
- console.log("Main.js executed.");
- }
-
- function onError(error) {
- console.log("Error in main.js");
- console.log(error);
- }
- var executing = browser.tabs.executeScript({
- file: "/main.js",
- allFrames: true
- });
- executing.then(onExecuted, onError);
- }
-});
-
-
-// https://developer.mozilla.org/en-US/Add-ons/WebExtensions/API/contextMenus/create
diff --git a/data/extensions/SubmitMe@0xbeef.coffee/icons/16x16.png b/data/extensions/SubmitMe@0xbeef.coffee/icons/16x16.png Binary files differdeleted file mode 100644 index e0014e1..0000000 --- a/data/extensions/SubmitMe@0xbeef.coffee/icons/16x16.png +++ /dev/null diff --git a/data/extensions/SubmitMe@0xbeef.coffee/icons/16x16_2.png b/data/extensions/SubmitMe@0xbeef.coffee/icons/16x16_2.png Binary files differdeleted file mode 100644 index 8feed44..0000000 --- a/data/extensions/SubmitMe@0xbeef.coffee/icons/16x16_2.png +++ /dev/null diff --git a/data/extensions/SubmitMe@0xbeef.coffee/icons/48x48.png b/data/extensions/SubmitMe@0xbeef.coffee/icons/48x48.png Binary files differdeleted file mode 100644 index cb6623d..0000000 --- a/data/extensions/SubmitMe@0xbeef.coffee/icons/48x48.png +++ /dev/null diff --git a/data/extensions/SubmitMe@0xbeef.coffee/improve_css.js b/data/extensions/SubmitMe@0xbeef.coffee/improve_css.js deleted file mode 100644 index d7467b6..0000000 --- a/data/extensions/SubmitMe@0xbeef.coffee/improve_css.js +++ /dev/null @@ -1,34 +0,0 @@ -/* - -Copyright (C) 2017 Nathan Nichols - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL NATHAN NICHOLS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -*/ - -console.log("improve_css.js"); -var a = document.getElementsByTagName("link"); - -for(var i = 0; i < a.length; i++){ - try{ - if(a[i].href.indexOf(".css") != -1){ - a[i].remove(); - } - } catch(e){ - console.log(e);// really don't care too much - } -} - -var b = document.getElementsByTagName("style"); - -for(var i = 0; i < b.length; i++){ - try{ - b[i].remove(); - } catch(e){ - console.log(e);// really don't care too much - } -} - diff --git a/data/extensions/SubmitMe@0xbeef.coffee/main.js b/data/extensions/SubmitMe@0xbeef.coffee/main.js deleted file mode 100644 index ecbcbf4..0000000 --- a/data/extensions/SubmitMe@0xbeef.coffee/main.js +++ /dev/null @@ -1,90 +0,0 @@ -/* -Copyright (C) 2017 Nathan Nichols - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL NATHAN NICHOLS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -*/ - -/* -Explanation: - -This add-on was made to combat a reoccuring issue regarding LibreJS forms. - -LibreJS tends to flag the onSubmit Javascript of HTML forms. This is because -this is a logical place to put Ajax requests, which LibreJS considers non-trivial. - -*/ - -browser.runtime.sendMessage({"msg":"add-on-invoked"}); -console.log("main.js"); - -function tree(forms){ - var kids; - var out_str; - for(var i = 0; i < forms.length; i++){ - kids = []; - for(var j = 0; j < forms[i].children.length; j++){ - if(forms[i].children[j].tagName == "INPUT"){ - kids.push(forms[i].children[j]); - } - } - out_str += "\nForm number " + (i + 1) + ":"; - for(var j = 0; j < kids.length; j++){ - out_str += "\n Item #"+(j+1)+":"; - out_str += "\n Text:'"+kids[j].innerHTML+"'"; - out_str += "\n Name:'"+kids[j].name+"'"; - out_str += "\n Value:'"+kids[j].value+"'"; - } - - } - return out_str; -} - -function get_parent_form(a){ - console.log(a); - if(a === null || a === undefined){ - return null; - } - if(a.tagName.toLowerCase() == "form"){ - return a; - } - return get_parent_form(a.parentElement); -}; - -function force_submit(){ - console.log("form submitted"); - return true; -}; - - -var buttons = document.getElementsByTagName("input"); -console.log(buttons); - - -function submit_clicked(){ - var parent = get_parent_form(this); - if(parent === null){ - console.log("Submit button parent not found: input element outside of form?"); - var forms = document.getElementsByTagName("form"); - console.log(forms); - if(forms.length == 1){ - console.log("Only one possible form. Submitting it.") - forms[0].submit(); - } else { - browser.runtime.sendMessage({"msg":"multiple-forms"}); - } - } else{ - console.log("Got parent form of button without error.") - console.log(parent); - parent.submit(); - } -} - -for(var i = 0; i < buttons.length; i++){ - if(buttons[i].type == "submit"){ - buttons[i].addEventListener("click",submit_clicked); - } -} diff --git a/data/extensions/SubmitMe@0xbeef.coffee/manifest.json b/data/extensions/SubmitMe@0xbeef.coffee/manifest.json deleted file mode 100644 index 386ec4e..0000000 --- a/data/extensions/SubmitMe@0xbeef.coffee/manifest.json +++ /dev/null @@ -1,29 +0,0 @@ -{
- "manifest_version": 2,
- "name": "Reveal hidden HTML",
- "version": "1.9",
- "author": "Nathan Nichols",
- "description": "Unhides hidden HTML. Also, has a tool that fixes some websites with broken form validation Javascript by forcing an HTTP post.",
- "applications": {
- "gecko": {
- "id": "SubmitMe@0xbeef.coffee",
- "strict_min_version": "42.0"
- }
- },
- "icons":{
- "16": "icons/16x16.png",
- "48": "icons/48x48.png"
- },
- "permissions": [
- "contextMenus",
- "webRequest",
- "activeTab",
- "notifications"
- ],
- "background": {
- "scripts": ["background.js"
-
- ]
- }
-
-}
diff --git a/data/extensions/SubmitMe@0xbeef.coffee/manual.js b/data/extensions/SubmitMe@0xbeef.coffee/manual.js deleted file mode 100644 index 2a8a195..0000000 --- a/data/extensions/SubmitMe@0xbeef.coffee/manual.js +++ /dev/null @@ -1,44 +0,0 @@ -/* -Copyright (C) 2017 Nathan Nichols - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL NATHAN NICHOLS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -*/ -console.log("manual.js"); -function tree(forms){ - var kids = []; - var out_str = ""; - for(var i = 0; i < forms.length; i++){ - kids = []; - for(var j = 0; j < forms[i].children.length; j++){ - if(forms[i].children[j].tagName == "INPUT"){ - kids.push(forms[i].children[j]); - } - } - out_str += "\nForm number " + (i + 1) + ":"; - for(var j = 0; j < kids.length; j++){ - out_str += "\n Item #"+(j+1)+":"; - out_str += "\n Text:'"+kids[j].innerHTML+"'"; - out_str += "\n Name:'"+kids[j].name+"'"; - out_str += "\n Value:'"+kids[j].value+"'"; - } - - } - return out_str; -} - -var forms = document.getElementsByTagName("form"); - -console.log("multiple possible forms."); -var a = window.prompt("Please select one of the following forms:\n" + tree(forms) + "\n\n Enter a number to submit that form. Any other input will cancel this operation."); -if(parseInt(a) === NaN){ - console.log("not a number."); -} else { - if( (parseInt(a)-1) < forms.length){ - forms[parseInt(a)-1].submit(); - } -} - diff --git a/data/extensions/SubmitMe@0xbeef.coffee/passive_improve_css.js b/data/extensions/SubmitMe@0xbeef.coffee/passive_improve_css.js deleted file mode 100644 index 5a32fe4..0000000 --- a/data/extensions/SubmitMe@0xbeef.coffee/passive_improve_css.js +++ /dev/null @@ -1,60 +0,0 @@ -/* - -Copyright (C) 2017 Nathan Nichols - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL NATHAN NICHOLS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -*/ - - -function escapeHTML (unsafe_str) { - return unsafe_str - .replace(/&/g, '&') - .replace(/</g, '<') - .replace(/>/g, '>') - .replace(/\"/g, '"') - .replace(/\'/g, ''') - .replace(/\//g, '/') -} - -console.log("passive_improve_css.js"); -function reveal_css(){ - var bad = []; - - var elements = document.getElementsByTagName("style"); - for(var i = 0; i < elements.length; i++){ - var rules = escapeHTML(elements[i].innerText).replace(/\s/g,''); - var j = rules.indexOf("display"); - if(j != -1){ - //console.log("j:"+j); - var part = rules.substr(j,j+10); - //console.log("part:"+part); - //console.log("index:"+part.indexOf("none")); - if(part.indexOf("none") <= 10 && part.indexOf("none") > 0){ - //elements[i].remove(); - bad.push(elements[i]); - //console.log("^^^^BAD^^^^") - } - - } - } - if(bad.length > 0){ - for(var i = 0; i < bad.length; i++){ - bad[i].remove(); - } - } -} - -reveal_css(); - - -/* -var a = document.getElementsByTagName("style")[2]; -var btn = document.createElement("style"); // Create a <button> element -var t = document.createTextNode("body{display:inline !important;}"); // Create a text node -btn.appendChild(t); // Append the text to <button> -a.insertAdjacentElement("beforeBegin",btn); -*/ diff --git a/data/extensions/SubmitMe@0xbeef.coffee/popup/popup.css b/data/extensions/SubmitMe@0xbeef.coffee/popup/popup.css deleted file mode 100644 index 046cfee..0000000 --- a/data/extensions/SubmitMe@0xbeef.coffee/popup/popup.css +++ /dev/null @@ -1,7 +0,0 @@ -body { - font-family: LiberationMono; - top: 5%; - margin-left: 10%; - margin-right: 10%; - background-color: white; -} diff --git a/data/extensions/SubmitMe@0xbeef.coffee/popup/popup.html b/data/extensions/SubmitMe@0xbeef.coffee/popup/popup.html deleted file mode 100644 index e537b14..0000000 --- a/data/extensions/SubmitMe@0xbeef.coffee/popup/popup.html +++ /dev/null @@ -1,22 +0,0 @@ -<!DOCTYPE html> -<!--- -<html> - <head> - <meta charset="utf-8"> - <link rel="stylesheet" href="popup/popup.css"/> - </head> - <body> - <h1>Options</h1> - <form> - <div id="options"> - <input type="radio" name="gender" value="male" checked> Male<br> - <input type="radio" name="gender" value="female"> Female<br> - <input type="radio" name="gender" value="other"> Other - <input type="button" name="submit" type="submit" value="Force Submit"> - </div> - </form> - <script src="popup/popup.js"></script> - </body> -</html> -!--> - diff --git a/data/extensions/SubmitMe@0xbeef.coffee/popup/popup.js b/data/extensions/SubmitMe@0xbeef.coffee/popup/popup.js deleted file mode 100644 index 95000f3..0000000 --- a/data/extensions/SubmitMe@0xbeef.coffee/popup/popup.js +++ /dev/null @@ -1 +0,0 @@ -console.log("popup.js") |