diff --git a/slader-limit-bypass/js/quizlet_bypass.js b/slader-limit-bypass/js/quizlet_bypass.js index 6e0a803..4259ec1 100644 --- a/slader-limit-bypass/js/quizlet_bypass.js +++ b/slader-limit-bypass/js/quizlet_bypass.js @@ -142,16 +142,4 @@ async function doFetch(url) body: null // body data type must match "Content-Type" header }); return response.text(); -} - - -function getOldTextbookLink(url) -{ - // This is mostly approximate. - const bookTitle = window.location.toString().match(/(?<=quizlet\.com\/explanations\/textbook-solutions\/).+?(?=-\d\d\d\d\d\d\d)/)[0]; - const bookISBN = window.location.toString().split(bookTitle)[1].split('/')[0].replaceAll('-', ''); - const page = document.getElementsByClassName('tsqwngb')[0].children[1].innerHTML.slice(5); - const problem = document.getElementsByClassName('t1aekklg')[0].innerHTML.slice(9); - - return "https://www.slader.com/textbook/" + bookISBN + '-' + bookTitle + '/' + page + '/problems/' + problem; } \ No newline at end of file diff --git a/slader-limit-bypass/manifest.json b/slader-limit-bypass/manifest.json index 39be8d4..b94c5ae 100644 --- a/slader-limit-bypass/manifest.json +++ b/slader-limit-bypass/manifest.json @@ -1,8 +1,8 @@ { "name": "slader bypass", - "version": "0.3", + "version": "0.4", "author":"Alan Li & Ethan Harvey", - "description": "slader 5 solutions limit bypass", + "description": "Slader/Quizlet 5 solutions limit bypass", "permissions": [ "webRequest", "webRequestBlocking", diff --git a/slader_bypass-0.3-fx.xpi b/slader_bypass-0.4-fx.xpi similarity index 92% rename from slader_bypass-0.3-fx.xpi rename to slader_bypass-0.4-fx.xpi index ee103be..612fc59 100644 Binary files a/slader_bypass-0.3-fx.xpi and b/slader_bypass-0.4-fx.xpi differ