Add-ons for Pale Moon and other applications
General discussion, compatibility, contributed extensions, themes, plugins, and more.
Moderators: FranklinDM, Lootyhoof
-
BZZZZ
Unread post
by BZZZZ » 2021-11-19, 18:01
https://addons.palemoon.org/addon/guerilla-scripting/
note: you need to have userscript running in web page
- web page can nuke sandbox early
Code: Select all
window.dispatchEvent(new Event("unload"))
- web page can define setter on pop-up (it's weird how this inside setter is window and not sandbox)
Code: Select all
open(location.href).__defineSetter__("conlog",function(v){
console.log("%O.conlog=%O",this,v)
alert("!!!")
})
- function are not exported correctly (same error if you do conlog.apply inside userscript)
Code: Select all
open(location.href).__defineSetter__("conlog",function(v){
try{ v.apply }catch(err){ console.error(".apply",err) }
try{ Function.prototype.bind.call(v,null) }catch(err){ console.error("bind",err) }
alert("!!!")
})
note: this might be not all bugs
-
Goodydino
- Keeps coming back
- Posts: 827
- Joined: 2017-10-10, 21:20
Unread post
by Goodydino » 2021-11-19, 19:20
My main problem with that extension was that some pages would reload themselves so fast that they would be flickering and therefore not usable. One page that did that:
https://mathiasbynens.github.io/rel-noopener/
-
New Tobin Paradigm
Unread post
by New Tobin Paradigm » 2021-11-19, 21:09
Ketmar is long gone. You're on your own.